graphicx package and use \includegraphics{...}. From there, you can control width, height, scaling, captions, labels, and placement with the figure environment.
Quick answer: add
\usepackage{graphicx} to the preamble, then use \includegraphics[width=0.8\textwidth]{image-file} where you want the image to appear.Related topics: Figure positioning | Tabular environment | Package managementQuick Start
quick-image.tex
Basic Image Insertion
Simple Image Include
Supported Image Formats
| Compiler | Formats Supported |
|---|---|
| pdfLaTeX | PDF, PNG, JPG/JPEG |
| XeLaTeX | PDF, PNG, JPG/JPEG, EPS* |
| LuaLaTeX | PDF, PNG, JPG/JPEG, EPS* |
| LaTeX (DVI) | EPS, PS |
Scaling Images
Width and Height Control
Common Width References
Figure Environment
Basic Figure
Figure Placement Options
| Option | Meaning | Priority |
|---|---|---|
h | Here (approximately) | Low |
t | Top of page | Medium |
b | Bottom of page | Medium |
p | Page of floats | Low |
H | HERE (exactly)* | Forced |
! | Override LaTeX’s rules | Modifier |
\usepackage{float}
Multiple Images
Side by Side Images
Grid of Images
Image Transformations
Rotation and Flipping
Clipping and Trimming
Advanced Techniques
Wrapping Text Around Images
Image Paths
Draft Mode
Image Formats and Conversion
Working with Different Formats
Best Practices
Troubleshooting
Quick Reference
Essential Commands
| Command | Purpose | Example |
|---|---|---|
\includegraphics{} | Insert image | \includegraphics{pic} |
width= | Set width | width=5cm |
height= | Set height | height=3cm |
scale= | Scale factor | scale=0.5 |
angle= | Rotate | angle=90 |
\caption{} | Add caption | \caption{Description} |
\label{} | Add reference | \label{fig:name} |
Figure Template
Next: Master Figure positioning to control exactly where your images appear, or learn about Creating tables for structured data presentation.
