[texhax] target page number of label
Martin Schröder
martin at oneiros.de
Mon Dec 19 21:27:03 CET 2005
On 2005-12-19 18:05:37 +0100, attila marxer wrote:
> "fig:somefigure". what i would like to have, is a
> macro \someref{fig:somefigure} which results in
> (a) "figure 3.2" if the figure appears on the same
> page as the text and
> (b) "figure 3.2, p.7" otherwise.
\usepackage{varioref}
Buy and read The LaTeX Companion. :-)
Best
Martin
--
http://www.tm.oneiros.de
More information about the texhax
mailing list