After customizing my Table of contents as shown below, my toc overflows onto the footer and doesn't go to the next page.

Here is the toc customization I have done :


\chtocfont is for using Helvetica as a font for the chapter content line, \sectocfont for using the Lucidia Grande as font for the content line.

Here is a screen shot of the issue I am having. Note that some entries from the toc are not shown at all.

the follow link contains a paste of a tex example show the problem i have : http://pastebin.tlhiv.org/KZus0jGD

enter image description here

  • 2
    Please edit your question to include a complete example that reproduces the problem. Without this it will be difficult for anyone to help you. – Ian Thompson Jul 1 '13 at 15:25
  • Welcome to TeX.SX, by the way. – Ian Thompson Jul 1 '13 at 15:25
  • You're using two conflicting packages: either use tocloft or titletoc, not both. If I remove \usepackage{tocloft} and the \renewcommand{\cftdot}{...} line, there is no problem. – egreg Jul 1 '13 at 16:36
  • it works just by remove \usepackage{tocloft}. thanks a lot @egreg – lcz1 Jul 1 '13 at 16:57

The error is in loading both




that fight with each other for the typesetting of the table of contents, with contradictory instructions.

I suggest you to remove the call to the former (and the connected redefinition of \cftdot).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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