TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to make a cross reference to a label of a header with custom text, in sense it's text should differ from the Header text, or it's number or Page (not like the predefined formats in Lyx), something like the the hyperlinks or bookmarks in MS word, and in such a way that i can write the different text for each cross-reference individually, I'm not looking to define a new format for the references.

for Example: the header text is: State and Path functions, I want to make a cross reference to it with text : state function

share|improve this question
up vote 49 down vote accepted

With the package hyperref you can use the optional argument of \hyperref to reference a \label with arbitrary text:

\section{Hello World}
Reference to \hyperref[sec:hello]{this section}.


share|improve this answer
Nice, thx, now I needed it in my thesis and I've found it here in a minute. :) – Jozef Janočko Jul 13 at 11:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.