Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question

migrated from stackoverflow.com Aug 13 '12 at 2:13

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Stefan Kottwitz Oct 24 '12 at 16:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
The memoir package, among other, implements this. More information here: tex.ac.uk/cgi-bin/texfaq2html?label=nameref –  Olivier Apr 10 '10 at 13:33
    
I think we've done this before: stackoverflow.com/questions/1491842/…. In addition stackoverflow.com/questions/943907/latex-links and stackoverflow.com/questions/522838/… are closely related. –  dmckee Apr 11 '10 at 19:48
    
BTW-- I think that this versions has a more searchable title and should not be deleted. –  dmckee Apr 11 '10 at 19:49
    
Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner Aug 13 '12 at 5:46

1 Answer 1

up vote 40 down vote accepted

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:

alt text

share|improve this answer