So I am writing a programming book and I have a code example in it that I have labeled \label{ex11}. How can I later in the document make a link to it using custom text?
For example, I am writing somewhere later in the book, "As I mentioned in the first one-liner, ...".
Here I want the text "the first one-liner" to be linked to \label{ex11}. So that when I click that text, the document jumps to the label. Any ideas how to do that?
If this was HTML, I'd just do <a href="ex11">the first one-liner</a> (just to give you a better understanding about what I want to do).
varioref– pmav99 May 01 '11 at 09:47