# How to add a space following a paragraph but not before a new section header?

I want to skip a line after my paragraph ends.

Currently I am using \setlength{\parskip}{1em} to achieve that.

But an unwanted side effect is that there is also too much space between a paragraph and a new sub section (and sub sub section).

Is there anyway to reduce the space after a paragraph and before a sub section?

In this link, it does exactly what I want but the person does it for a specific command that they define. Is there any way to extend their method to the whole document?

• You could redefine the headers (Eeeek!), or just add \vspace{-\parskip} or possibly \unskip each time. – John Kormylo Jun 24 at 12:51
• @JohnKormylo Currently I am using \vspace{-\parskip} as you suggested and it works. But why is redefining the headers considered bad? – user94758 Jun 25 at 8:34
• It's not bad, just more difficult. – John Kormylo Jun 25 at 16:30
• @JohnKormylo Thanks for your answer, I think I'll stick to \vspace{-\parskip} as it seems to working well so far. – user94758 Jun 27 at 1:26

have a try with typing

\leavevmode\\


after the paragraph's title. This this forces a linebreak and may do the trick for you. You may also have a look here: Function and usage of \leavevmode.

In case you're working in the KOMA environment, redefining the paragraph command may also work.

\RedeclareSectionCommand[afterskip=1ex]{paragraph}
% produces a vertical skip of 1ex after the paragraph's heading


Maybe this can help: How to add an extra level of sections with headings below \subsubsection.