%% %% The LaTeX Companion, 3ed %% %% Example 2-4-19 on page I-93 in "nameref --- Non-numerical references". %% %% Copyright (C) 2022 Frank Mittelbach %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3c %% of this license or (at your option) any later version. %% %% See https://www.latex-project.org/lppl.txt for details. %% \documentclass{tlc3exa} \pagestyle{empty} \setcounter{page}{6} \setlength\textwidth{183.0pt} \setcounter{section}{3} %StartShownPreambleCommands \usepackage{nameref} \setcounter{secnumdepth}{1} %StopShownPreambleCommands \begin{document} \section{Textual References}\label{num} Section \Nameref{num} proves that it is possible to reference unnumbered sections by referencing section ``\nameref{unnum}''. \subsection[Example]{A Small Example}\label{unnum} The current section is referenced in section~\ref{num}. \end{document}