Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer


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