[texhax] Settings customs names for internal hyperlinks in text

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sat Mar 8 21:49:21 CET 2014

On 08.03.2014 11:19, Pascal wrote:
> I would like to link to certain chapter, sections of my document for
> which I used the commands \autoref and \nameref in conjunction with
> labels.
> But do neither want the exact chapter title as the link text, nor the
> chapter version, but a customized text. And I have failed to find a
> solution for that problem so far.

> As will be discussed in the section about FOO
> (\reference-command{sec:FOO}{Here comes the custom text I want to have
> linked not the chapter number nor the exact chapter title} ......
> \section{The properties of FOO}\label{sec:FOO}

As will be discussed in the \hyperref[sec:FOO]{section about FOO}.

\section{The properties of FOO}\label{sec:FOO}

Yours sincerely
  Heiko Oberdiek

More information about the texhax mailing list