Sign up ×
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.

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

1 Answer 1

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.