[pdftex] referring to table or image?
Heiko Oberdiek
oberdiek at uni-freiburg.de
Fri Dec 9 18:08:25 CET 2005
On Fri, Dec 09, 2005 at 04:30:22PM +0100, Axel Belinfante wrote:
> \begin{figure}[h]
[h]: don't use a figure if you don't want a floating object.
> \begin{center}
Adds additional vertical space, \centering avoids this.
> \centerline{\resizebox{\textwidth}{!}{\gpicbox{graph}}}
Why \centerline?, \resizebox will already be centered
(by \begin{center} or \centering).
> \caption{Some text}
> \label{fig:some-text}
> \end{center}
> \end{figure}
>
> and if I then refer to it using \ref{fig:some-text}
> the result is that when in acrobat I click on the link
> pdflatex makes from the \ref{fig:some-text}, the picture
> (or table) and its caption scroll precisely out of sight,
> showing at the top of the page the line that follows the caption.
Package "hypcap".
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the pdftex
mailing list