[OS X TeX] Including .pdf floats in LaTeX
Ross Moore
ross at ics.mq.edu.au
Fri May 17 00:22:25 CEST 2002
> use the graphicx package and regular figure + includegraphics to include
> a float.
>
> \begin{figure}[h]
> \begin{center}
> \includegraphics[width=4in]{figure.pdf}
Use \includegraphics[width=4in]{figure}
^^ --- no extension!!
This way, if you have both figure.eps and figure.pdf
then the .pdf version will be used with pdfTeX mode,
and the .eps version will be used, should you be using LaTeX + GS mode.
Similarly, when you \usepackage{graphicx}
do *not* specify an option [pdftex] or [dvips],
else you lose the flexibility of changing processing mode for this document.
There should be a graphics.cfg file already on your system;
this selects the right driver, appropriate to the processor being used.
> \caption{adoption of IBS per year}\label{fig:kmsur}
> \end{center}
> \end{figure}
Hope this helps,
Ross Moore
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------
More information about the macostex-archives
mailing list