# [texhax] Referencing a section title

Luis Alejandro Cortes luico at ida.liu.se
Fri Sep 10 09:28:16 CEST 2004

Dear all,

I need to make a reference to the title of a section (not just its number). If I
have
\section{NiceTitle} \label{sec:mysection}
it is clear that \ref{sec:mysection} produces the number of the section. But
what if I want to get the title itself? I want of course to avoid doing it
manually (retyping 'NiceTitle' in the part of the text I need it).

/LAC