I am using classicthesis as a template for a study report. I would like to customize the table of contents. Here is a screen shot of another TOC that looks like what I am trying to accomplish:

Table of contents example

I prefer to have the page numbers on the right side and dots inbetween, like in the screen shot of the TOC. - I found the definition of the classicthesis style in FrontBackmatter/Contents.tex. However, I cannot see how to customize it?!

\setcounter{tocdepth}{2} % <-- 2 includes up to subsections in the ToC
\setcounter{secnumdepth}{3} % <-- 3 numbers up to subsubsections

Add dottedtoc to the options when calling classicthesis:


where ... stands for the present options you're using.

|improve this answer|||||
  • Perfect! Thank you egreg. For everybody else: I added the parameter to \documentclass[..., dottedtoc, ...]. – JJD Apr 4 '12 at 13:52
  • @JJD I added the option to documentclass. Now the page numbers are aligned right like I want them to! But there are still no dots in between, even if I try tex.stackexchange.com/a/7352/1660 – wrongusername Sep 11 '13 at 5:43
  • @wrongusername I may depend on the version of classicthesis you are using. I saw that the CHANGES file has some notes about using the option dottedtoc. Please check this. I used version 4.0. – JJD Sep 11 '13 at 11:39

For Classicthesis version 4.6, change dottedtoc=false to true in \PassOptionsToPackage{...}{classicthesis} in the classicthesis-config.tex file, where the ... represents the current options passed.

|improve this answer|||||

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.