[Tex/LaTex] \ref Chapter Name in LaTeX

cross-referencing

Possible Duplicate:
Get the title instead of number of a referenced chapter?

Is it possible to use \ref{chap:conclusion} to refer to the actual name of the chapter instead of the chapter counter in LaTeX? So that I can do this:

See the \ref{chap:conclusion} chapter for more information

See the Conclusion chapter for more information

instead of:

See Chapter \ref{chap:conclusion} for more

See Chapter 6 for more

Best Answer

You could use the nameref package:

\documentclass{article}

\usepackage{nameref}

\begin{document}

\section{Me, myself and I} 
\label{intro}
Hi, my name is Bart.

\section{Summary}
I introduced myself in section: \nameref{intro}.

\end{document}

produces:

example image

Related Question