# Customize TOC (colors) of classicthesis

I am using classicthesis as a template for my thesis. The thing is that I want to put a different color for the chapters on the table of contents. Example:

CONTENTS

1 Introduction (on color red)

1.1 Motive

1.2 Anything

Thanks! I hope you can help me.

-
What exactly should receive color: just the chapter titles? the titles and chapter numbers? the tiles, chapter number and page numbers? Which document class are you using? Which options for classicthesis are you using? Please add that information to your question. –  Gonzalo Medina Feb 21 '13 at 23:56

Since classicthesis internally uses the tocloft package, you can redefine \cftchapfont and \cftchappagefont to add the desired color; a little example:

\documentclass{scrbook}
\usepackage{xcolor}
\usepackage{classicthesis}

\renewcommand\cftchapfont{\normalfont\color{red}}
\renewcommand\cftchappagefont{\normalfont\color{red}}

\begin{document}

\tableofcontents
\chapter{Introduction}
\section{Test Section}
\subsection{Test Subsection}
\chapter{Another Chapter}
\section{Test Section}

\end{document}


An image of the resulting ToC:

-
Thank you! Gonzalo Medina. –  Sego Feb 22 '13 at 0:08
@Sego You're welcome! I'm glad I could help. –  Gonzalo Medina Feb 22 '13 at 0:31