[texhax] internal links in LaTeX?

Edsko de Vries edsko at edsko.net
Sun Nov 11 17:18:57 CET 2007


On Sun, Nov 11, 2007 at 06:05:37PM +0200, Adrian Dusa wrote:
> 
> Dear all,
> 
> Is it possible to create a reference to a section (chapter etc) not by it's 
> number but using a symbolic word?
> 
> It should be similar to the well-known HTML syntax:
> <a href="mylabel">Some words"</a>
> 
> In the LaTeX code, it should perform the same thins as:
> Some words in section~\ref{mylabel}

Add a label in the section:

\section{Section A}
\label{sec:SectionA}

and then refer to it using \ref

\section{Section B}

as shown in Section~\ref{sec:SectionA}

If you use pdflatex and the hyperref package, these references will be
'clickable' in the PDF too.

Edsko


More information about the texhax mailing list