TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the hyperref package and want to use the \autoref{} command to output the page of the referenced label (similar to \pageref{}). The label is not inside a figure, equation, etc., so by default \autoref{} creates a section x.y link, instead of a page z link that I would like.

Is there a way to do this?

share|improve this question
up vote 7 down vote accepted

Ok, I found it. There's a command named \autopageref{} which replaces \pageref{} and does exactly what I wanted. More info here.

share|improve this answer
If this solved your problem, you can accept your own answer! – Hendrik Vogt Mar 6 '11 at 8:51
@Hedrik: Yep, had to wait two days though. – 3lectrologos Mar 6 '11 at 13:09
Ah, thanks, I didn't know that the system won't let you earlier. (By the way, you missed an "n" in my name.) – Hendrik Vogt Mar 6 '11 at 17:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.