# [OS X TeX] Extraneous text with \includegraphics

Gary L. Gray glgray at me.com
Sun Feb 15 15:07:30 EST 2009

On Feb 15, 2009, at 2:38 PM, Rob Preuss wrote:

> Sorry if this is a dumb question, but I'm baffled.
>
> Whenever I include a PDF figure with code such as
>
> \begin{figure}[t]
> \begin{center}
> \includegraphics{Fig1}
> \caption{My Figure}\label{fig:one}
> \end{center}
> \end{figure}

You should be using the following structure to avoid the insertion of
extra vertical space:

\begin{figure}[t]
\centering
\includegraphics{Fig1}
\caption{My Figure}\label{fig:one}
\end{figure}

> Latex prints the text "-80pt-" above the figure
> and the text "80pt" to the left of the figure.
>
> The figure was created using Preview to convert
> and then crop a postscript file. If I omit the
> line "\includegraphics{Fig1}" I do not get this
> extra text, but I also don't get the figure.

Can you post the original Postscript file as well as the offending PDF?

-- Gary