TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The page numbers in the ToC appear in different styles. For sections and subsections in normalsize and for the chapter in bold and slightly larger (I think). How can one change the fontsize/fonttype for the page number of a chapter entry in the ToC?

document style: book

live-tex LaTeX, from Ubuntu 11.4 pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)

share|improve this question
up vote 10 down vote accepted

The tocloft package offers you a series of commands to customize the ToC, LoF, and LoT. In your case, you can redefine \cftchappagefont to use \normalfont (and possibly a font size switch):




\chapter{Test chapter}
\section{Test section}
\subsection{Test subsection}


Another option would be to redefine the command \l@chapter (as implemented in book.cls) which actually typesets the chapter entries in the ToC; in this case, the redefinition would imply using \normalfont just before the page number is typeset. Here's such a redefinition:

  \ifnum \c@tocdepth >\m@ne
    \vskip 1.0em \@plus\p@
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode \bfseries
      \hskip -\leftskip
      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss\normalfont #2}\par

Of course, the etoolbox package makes this a lot shorter:


enter image description here

share|improve this answer
Is is the only answer? – Igor Kotelnikov Sep 27 '11 at 12:44
@Igor: no, it's not. I've added two more solutions. – Gonzalo Medina Sep 27 '11 at 13:02

Your Answer


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.