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.

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

I want to use different font and size for chapters and sections in the table of contents generated by toc. How should I customize the toc?

share|improve this question
up vote 5 down vote accepted

Use the tocloft package, e.g.,

\@ifpackageloaded{subfig}  % don't forget that tocloft and subfig interact (RTM)

Then define your customisations via commands like




Basically it's a case of wading through tocloft's extensive documentation then getting down to lots of experimenting to see what's possible (pretty much anything) and what you need to write to make it happen as you'd like.

share|improve this answer

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.