Text Formattingparskip | Avoid Space between Headings

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
pvh1987
Posts: 1
Joined: Tue Nov 01, 2011 12:47 pm

parskip | Avoid Space between Headings

Post by pvh1987 »

Instead of indentation of paragraphs, I want no indentation and a vertical space between each paragraph. To do that, I am using the "parskip" package.

The only problem is that it is also adding space between headings (section, subsection, etc.) :-(

How can I avoid that?

Thanks in advance :-)

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

parskip | Avoid Space between Headings

Post by localghost »

Let's listen to the package authors.
[url=http://ctan.org/pkg/parskip]parskip[/url] manual wrote: […] This package is no more than quick fix; the ‘proper’ way to achieve effects as far-reaching as this is to create a new class. An example class is to be found in the ntgclass set: »artikel3.cls«

The koma-script bundle classes and the memoir class all provide similar functionality, and their respective documentation files discuss the pros (such as they are) and cons of this approach.

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

Re: parskip | Avoid Space between Headings

Post by Stefan Kottwitz »

If you keep using the parskip package, you could fix the spacing of the heading with the titlesec package and its command \titlespacing.

Stefan
LaTeX.org admin
Post Reply