Does anyone know how to change the distance between a chapter title (or table of contents title, or...) and the top of the page, when using the book document class? I'm satisfied with the rest of the typesetting, so I want to do this with minimal intervention.

2 Answers 2


The titlesec package provides


where (according to the package documentation) provides horizontal (via <left> and <right-sep>) and vertical (via <before-sep> and <after-sep>) spacing around the sectional command <command>. The starred version * kills the indentation of the paragraph following the title. So, for example,

\usepackage{titlesec}% http://ctan.org/pkg/titlesec
\titleformat{\chapter}{\Huge\bfseries}{\chaptername\ \thechapter}{0pt}{\vskip 20pt\raggedright}%

provides a 50pt space before and a <after-sep>=40pt|50pt space after the chapter title. The parameters were chosen similar to Stefan's answer. Here's a graphic displaying the difference - 40pt on the left and 100pt on the right:

Different titlespacing

As per the package documentation, \part and \chapter spacing can only be specified in conjunction with the \titleformat command.


Since minimal intervention means not changing the class and not adding a package such as titlesec, you could adjust the original definition slightly. Insert in your document preamble the original definitions of book.cls:

  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
        \huge\bfseries \@chapapp\space \thechapter
        \vskip 20\p@
    \Huge \bfseries #1\par\nobreak
    \vskip 40\p@
  {\parindent \z@ \raggedright
    \Huge \bfseries  #1\par\nobreak
    \vskip 40\p@

Now, look at the two lines with


these are responsible for the space between the chapter head and the top margin. Just change the value of the argument as you like. This looks like many lines of code, however the change is minimal.

  • Could you please also provide an example with titlesec? :-) Aug 14, 2011 at 0:32
  • None of these make any difference for me.
    – Ivan Perez
    Sep 16, 2018 at 18:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .