[OS X TeX] labels for page numbers

Fernando Pereira fcnpereira at mac.com
Sat Dec 2 16:25:55 CET 2006


On Dec 2, 2006, at 10:06 AM, David Oliver wrote:

> Suppose one has a theorem (using either the theorem or AMS theorem  
> packages) and one wants to refer later in the document to the page  
> on which the theorem appears. Is there a way to attach a label to  
> the theorem so the page reference appearing later via the label is  
> automatically updated as the content of the document evolves? Any  
> other procedure to achieve this result?

Label the theorem with \label{mybigtheorem}. Refer to the page with  
\pageref{mybigtheorem}. For details, see page 211 of Kopka and Daly's  
"Guide to LaTeX" (fourth edition). If you do not have a copy, I  
heartily recommend you get one, it's an outstanding reference work.

-- F



------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list