Text FormattingCombining varioref and hyperref

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Combining varioref and hyperref

Post by svend_tveskaeg »

Hi all.

Consider the following MWE:

Code: Select all

\documentclass[danish]{article}

\usepackage{babel}
\usepackage{varioref}
\usepackage{hyperref}

\begin{document}

See \autoref{table:1}.

\newpage

\begin{table}
\centering
 \caption{Meat.}
 \label{table:1}
  \begin{tabular}{l l}
    Cow & Pig
  \end{tabular}
\end{table}

\end{document}
How do I get the interactive cross-reference to read ``Table 1 on the next page'' instead of just ``Table 1''?

Thank you in advance!
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply