GeneralVertical space between section header and text

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tufflax
Posts: 12
Joined: Mon Jul 07, 2008 12:34 am

Vertical space between section header and text

Post by tufflax »

Hey!

I decided I wanted to switch from indentation to extra vertical space between paragraphs, so I did this:

Code: Select all

\addtolength{\parskip}{\baselineskip}
\setlength{\parindent}{0 em}
But I noticed that \parskip also adds extra space between the section (and subsection, etc.) headers and the text. Can I control this space separately?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Vertical space between section header and text

Post by Stefan Kottwitz »

Hi Tufflax,

the titlesec package provides features to control the spacing and style of sectioning commands. The appendix of its documentation shows how you can reproduce the behaviour of the standard classes. You could take those definitions and modify it according to your needs.

Stefan
LaTeX.org admin
tufflax
Posts: 12
Joined: Mon Jul 07, 2008 12:34 am

Re: Vertical space between section header and text

Post by tufflax »

Thank you! I'll look into that.
Post Reply