Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is it possible to make a reference to the page where a figure is rendered?

I would like to write something like

see figure~\ref{figure-xyz} on page NN

where NN will automatically be maintained by LaTeX. The figure that prompted my question is almost a page so it may be floated further in the doc.

I suppose it's possible, after all the figure-to-page mapping is generated by \listoffigures.

share|improve this question

2 Answers 2

up vote 19 down vote accepted
see figure~\ref{figure-xyz} on page~\pageref{figure-XYZ}

Also see the varioref package which lets you write see figure~\vref{figure-xyz} which will automatically add the "on page NN" iff the figure is not on the current page.

share|improve this answer
Excellent, thank you. I didn't know about the varioref package, it's very handy. –  wishihadabettername Aug 23 '10 at 2:47

Just use \pageref{}, so in your case:

see figure \ref{figure-xyz} on page \pageref{figure-xyz}
share|improve this answer
Please do not omit the ~. Without it, it could happen, that figure is placed at the end of the line and the number \ref{} at the beginning of the next line. ~ inserts an unbreakable space so that the number can't be divided from figure which is good typography. Same for ~\cite etc. –  Kurt Sep 4 '12 at 23:31
@Kurt I didn't know that, thanks! –  Vivi Sep 5 '12 at 3:57

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.