Differences between revisions 5 and 6
Revision 5 as of 2025-08-27 20:58:32
Size: 800
Comment: Cleanup
Revision 6 as of 2025-08-27 21:05:00
Size: 768
Comment: Fix
Deletions are marked like this. Additions are marked like this.
Line 44: Line 44:
To position a graphic, or to add reference-able labels, create a [[LaTeX/Figures|figure]].

To add a caption, use [[LaTeX/Caption|caption]].
To position a graphic, or to add reference-able labels, or to add captions, create a [[LaTeX/Figures|figure]].

LaTeX graphicx

graphicx is a package for inserting graphics.


Usage

\usepackage{graphicx}

% ...

\includegraphics{foo}

Options

For example:

\includegraphics[scale=2.5]{foo}
\includegraphics[width=5cm, height=5cm]{bar}
\includegraphics[angle=90]{baz}

Graphics Path

To configure where graphics files are looked up, try:

\usepackage{graphicx}
\graphicspath{ { ./images/ } { ./charts/ } { ./tables } }

To position a graphic, or to add reference-able labels, or to add captions, create a figure.


See also

CTAN package page


CategoryRicottone

LaTeX/Graphicx (last edited 2025-08-27 21:05:00 by DominicRicottone)