Referring to things by their name

LaTeX's labelling mechanism is designed for the impersonal world of the academic publication, in which everything has a number: an extension is necessary if we are to record the name of things we've labelled. The two packages available extend the LaTeX sectioning commands to provide reference by the name of the section.

The titleref package is a simple extension which provides the command \titleref; it is a stand-alone package; don't use it in a document in which you also need to use hyperref.

The nameref package employs the techniques of the hyperref package to define a \nameref command. The hyperref also defines \nameref as a command which, like \ref itself, is active.

hyperref.sty
macros/latex/contrib/hyperref (zip, browse)
nameref.sty
Distributed with macros/latex/contrib/hyperref (zip, browse)
titleref.sty
macros/latex/contrib/misc/titleref.sty

This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nameref