Prerequisites: Basic LaTeX knowledge and the graphicx package
Time to complete: 25-30 minutes
Difficulty: Intermediate
What you’ll learn: Image formats, positioning, sizing, captions, subfigures, wrapping text, and advanced techniques
Time to complete: 25-30 minutes
Difficulty: Intermediate
What you’ll learn: Image formats, positioning, sizing, captions, subfigures, wrapping text, and advanced techniques
Understanding Image Basics
Supported Image Formats
LaTeX supports different image formats depending on the compiler:- pdfLaTeX
- XeLaTeX/LuaLaTeX
- Traditional LaTeX
Supported formats:
- PDF - Vector graphics, best quality
- PNG - Lossless compression, good for diagrams
- JPG/JPEG - Lossy compression, good for photos
- EPS - With epstopdf package
Basic Image Inclusion
Figure Environments
Basic Figures with Captions
Advanced Caption Formatting
Multiple Images
Side-by-Side Images
Grid Layouts
Text Wrapping
Wrapping Text Around Images
Image Transformations
Scaling and Rotating
Special Effects
Advanced Techniques
Dynamic Image Paths
External Graphics Tools
Optimizing Images
File Size Management
Performance Tips
Troubleshooting
Common Issues and Solutions
Debug Mode
Best Practices Checklist
Complete Example
Next Steps
Now that you’ve mastered image handling:Creating Tables
Learn to create professional tables
TikZ Graphics
Create diagrams with TikZ
Managing Large Documents
Handle images in multi-file projects
Troubleshooting
Fix common image-related errors
Pro tip: Always keep high-resolution originals of your images. You can create lower-resolution versions for drafts and switch to high-resolution for final output using conditional inclusion.
