[texhax] internal links in LaTeX?

Adrian Dusa dusa.adrian at gmail.com
Sun Nov 11 18:10:22 CET 2007


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

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



-- 
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
          +40 21 3120210 / int.101


More information about the texhax mailing list