FAQ
overflow

Great Answers to
Questions About Everything

QUESTION

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.

{ asked by wishihadabettername }

ANSWER

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.

{ answered by Lev Bishop }
Tweet