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

The hyperref package allows you to specify that TOC links in the pdf cover the text (default) or the page number (linktocpage=true), but not both. That is, you can have this:

 [My Title]. . . . . . . . . . . 15

Or this:

  My Title . . . . . . . . . . .[15]

But not this:

 [My Title . . . . . . . . . . . 15]

...where the brackets encompass the portion of the line that is a clickable link.

My question: how do you specify that you make the whole line a clickable link? Is there a package that allows you to specify this?

share|improve this question

linktoc=all, as described in the hyperref README.

share|improve this answer
Thank you very much. I was looking at the hyperref documentation here, which does not document that command at all: tug.org/applications/hyperref/manual.html – John Harrington Dec 14 '10 at 22:04
@John: if this answer solved your problem, it would be nice if you would mark it as accepted. – Stefan Kottwitz Dec 19 '10 at 15:05

Your Answer


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