Take the 2-minute tour ×
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 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.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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}
share|improve this answer
    
Thank you. This is perfect. –  ℝaphink Apr 9 '11 at 19:18
    
How would I go about doing it for chapter headings as well (like on page 1 for example)? –  ℝaphink Apr 9 '11 at 19:21
    
@Raphink: I've added the requested modification to my example code; feel free to change it to suit your needs. –  Gonzalo Medina Apr 9 '11 at 21:33
    
Great, thank you again! –  ℝaphink Apr 9 '11 at 21:37

Your Answer

 
discard

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.