Edsko de Vries edsko at edsko.net
Sun Nov 11 17:56:15 CET 2007

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