# [texhax] internal links in LaTeX?

Sun Nov 11 18:10:22 CET 2007

Brilliant!
This is exacty what I was looking for :)
Best wishes,

On Sunday 11 November 2007, Edsko de Vries wrote:
> Hey,
>
> > 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.
>
> Ah, I had inderdeed misunderstood. You can use the hyperref package for
> this too; here is once way to do it:
>
>   \documentclass{article}
>   \usepackage{hyperref}
>
>   \begin{document}
>
>   \section{Section A}
>   \hypertarget{sec:sectionA}{}
>
>   \section{Section B}
>
>   As shown in \hyperlink{sec:sectionA}{Section A}, ...
>
>   \end{document}
>
> Edsko

--