Page Layouthyperref | Links to Figure Captions

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Duckman
Posts: 10
Joined: Tue Jan 03, 2012 4:09 pm

hyperref | Links to Figure Captions

Post by Duckman »

I use \hypersetup{} for linking in the PDF document for sections this works fine. But for figure's it links the figure title on top of the page. The figure it self is then not visible. Is there a way for figure's it links that the figure is visible?

part of the code

Code: Select all

Code, edit and compile here:
\usepackage{hyperref}
\hypersetup{pdftex, colorlinks=true,linkcolor=black,}
\ref{figuur:plot}
\begin{figure}[h]
\centering
\includegraphics[width=6cm]{Image/plot}
\caption{plot title}
\label{figuur:lot}
\end{figure}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

hyperref | Links to Figure Captions

Post by Stefan Kottwitz »

In such cases, the hypcap package could be useful, see hypcap documentation.

For the {figure} environment I strongly recommend to use more positioning options, at least [ht]. Only [h] can be bad if there's insufficient space left on the page.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

hyperref | Links to Figure Captions

Post by localghost »

Stefan_K wrote:In such cases, the hypcap package could be useful, see hypcap documentation. […]
The caption package should also generate correct anchors.


Thorsten
Post Reply