[OS X TeX] PrettyRef

Herb Schulz herbs at wideopenwest.com
Wed Mar 9 18:43:11 EST 2005

On 3/9/05 5:06 PM, "Alain Schremmer" <Schremmer.Alain at verizon.net> wrote:

>       \documentclass[11pt]{book}
>       \usepackage{prettyref}
>       \begin{document}
>       \chapter{First}
>       \section{little first}\label{sec:3}
>       \section{little second}
>       \section{little third}\label{sec:2}
>       \chapter{Second}
>       \section{little first}\label{sec:1}
>       \section{little second}
>       A whole lot of text, see \prettyref{sec:1}, more text see
> \prettyref{sec:2}, even more text see \prettyref{sec:3}.
> \end{document}


Why are you making things hard on yourself. Give the \label's names that
mean something to you; e.g., based on the subject of that section. You
shouldn't have to keep track of numbers; that's what LaTeX does for you.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the MacOSX-TeX mailing list