Hyperref and Floating Elements: Anchor Placement Precision
0 reputation · 02 Jun 2021, 21:45 UTC
The hyperref package is used to convert standard LaTeX cross-references into active PDF hyperlinks. While this facilitates navigation, the precise placement of the destination anchor for floating elements—such as tables and figures—can vary depending on the document class and the placement of the \label command.
When a reference is triggered, the PDF viewer jumps to the anchor. However, if the anchor is placed incorrectly relative to the caption or the float environment, the top of the element may be cut off by the viewer's viewport, or the link may point to the preceding paragraph instead of the object itself.
- How does the interaction between
hyperrefand specific document classes affect the default anchor position for floats? - What is the documented behavior for ensuring the anchor aligns precisely with the top of a figure or table caption?