2

This question already has an answer here:

I want to modify \pageref{...} to cite the actual label page number if it is not on the same page (to where the command is called), or to state 'On the present page' if it is, how can this be done?

Furthermore, is it possible to state 'Above, on the present page' or 'Below, on the present page' depending on the relative location of the label to where the command was called....

marked as duplicate by egreg, lockstep, mafp, diabonas, Claudio Fiandrino May 16 '13 at 9:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.