# [texhax] internal links in LaTeX?

Sun Nov 11 17:29:30 CET 2007

On Sunday 11 November 2007, Edsko de Vries wrote:
> [...]
>
> 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

Thanks for our prompt reply, I believe my question was not sufficiently clear.
The result of your command in the DVI/PDF file is a link of the type:

as shown in the Section 1

where I would like to obtain:

as shown in "Some words"

and the link of "Some words" should point to the same location as
~\ref{sec:SectionA} does.

This is the essence of the HTML code:
<a href="mylabel"> blah blah </a>

No matter of I use "Some words" or "blah blah", the link goes to the same
location.

I hope my question is now a little bit clearer, thanks again,

--