In my scrreprt I've changed distance between paragraphs with \setlength{\parskip}{9pt}. But \parskip changes also distance between chapter title and the paragraph.

How can I change distance between chapter title and the paragraph?


The titlesec package provides


that allows for the spacing around any sectional <command> (like \part, \chapter, \section, etc.). The former two sectional commands require the additional \titleformat to be used (see the package documentation). Consequently, altering <after-sep> should suit your needs.

The following minimal example, altered for <after-sep> equal to \parskip, 5\baselineskip and 150pt illustrates the changes (from left to right):

\usepackage{titlesec}% http://ctan.org/pkg/titlesec
\usepackage{lipsum}% http://ctan.org/pkg/lipsum

\titleformat{\chapter}{\Huge\bfseries}{\chaptername\ \thechapter}{0pt}{\vskip 20pt\raggedright}%
% Alter <after-sep> in the macro below to vary the separation after the \chapter title.
\titlespacing{\chapter}{0pt}{50pt}{<after-sep>}% \titlespacing{<command>}{<left>}{<before-sep>}{<after-sep>}[<right>]

\chapter{First chapter}

Different spacings from chapter title using titlesec

The lipsum package merely provides some dummy text, Lorem Ipsum style.


Don't change the \parskip length, but use the class option parskip=full. (This will, among other things, remove the now redundant indention of paragraphs.) If you don't want the "additional" parskip immediately after a chapter heading, change the \chapterheadendvskip macro.


  \vspace{0.725\baselineskip plus 0.115\baselineskip minus 0.192\baselineskip}%







(The blindtext package is only used to add some dummy text to the example.)

EDIT: My redefinition of \chapterheadendvskip resembles the original one, except that I replaced 1.725\baselineskip with 0.725\baselineskip. Hopefully, this will exactly offset the space added by parskip=full.


The \renewcommand should go into the preamble. It is here only for demonstration inside the text.





Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.