[pdftex] referring to table or image?

Axel Belinfante Axel.Belinfante at cs.utwente.nl
Fri Dec 9 16:30:22 CET 2005


[I wouldn't be surprised if this would be a FAQ]

I'm using pdflatex with hyperref.
I'm making figures (and tables) using the following scheme:

\begin{figure}[h]
\begin{center}
\centerline{\resizebox{\textwidth}{!}{\gpicbox{graph}}}
\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.

What is the correct way to do this?

Axel.



More information about the pdftex mailing list