[Tex/LaTex] Personalizing chapter lines in table of contents

chapterskoma-scripttable of contents

I am using scrbook and would like to tune my table of contents to look like the one in this book : http://biblefacts.org/church/Charisma.pdf , with a text saying "Chapter #" on top of each entry.

I can't figure out how to do that. Currently, my code only shows a number in front of each line.

Best Answer

EDIT: I've added the code to change (as requested in a comment) the format of the chapter headings.

To change the format of the chapter entries in the ToC ou can use the tocloft package; to change the format of the chapter headings, you can use the titlesec package. A little example:

\documentclass{scrbook}
\usepackage{titlesec}
\usepackage{tocloft}

\renewcommand\cftchapfont{\scshape }
\renewcommand\cftchappresnum{ Chapter\ }
\renewcommand\cftchapaftersnumb{\newline\normalfont}
\renewcommand\cftchapleader{\cftdotfill{1}}
\renewcommand\cftchappagefont{\normalfont}

\titleformat{\chapter}[display]
  {\normalfont\Large\itshape\raggedleft}
  {\chaptertitlename\ \thechapter}{10pt}
  {\normalfont\Huge}
\titlespacing*{\chapter}
  {0pt}{10pt}{20pt}

\begin{document}

\tableofcontents
\chapter{Test chapter}

\end{document}