[Tex/LaTex] Customize TOC (page numbers) of classicthesis

classicthesispage-numberingtable of contents

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?!

\refstepcounter{dummy}
\pdfbookmark[1]{\contentsname}{tableofcontents}
\setcounter{tocdepth}{2} % <-- 2 includes up to subsections in the ToC
\setcounter{secnumdepth}{3} % <-- 3 numbers up to subsubsections
\manualmark
\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}}
\tableofcontents
\automark[section]{chapter}
\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}}

Best Answer

Add dottedtoc to the options when calling classicthesis:

\usepackage[...,dottedtoc]{classicthesis}

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