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

In my ToC, the "Bibliography" entry is treated as a chapter heading, so has no line of dots to the page number. However, as it has no sections, my publishers would like the line of dots. Same for the index.

What's the easiest way to do this?

share|improve this question
up vote 6 down vote accepted

Use the tocloft package, then where you want to switch it on

    \protect\renewcommand{\protect\cftchapleader}{%-- switch it on here
    \protect\renewcommand{\protect\cftchapleader}{}}%-- switch it of again
share|improve this answer
Brilliant! That works perfectly - thank you very much. – Alasdair Apr 14 '11 at 12:12
@Danie Els: Is there another perhaps less wordy way of accomplishings this without needing to put this for everything without dots? – night owl Dec 15 '11 at 17:28

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.