# Modify space between paragraphs and nothing else

Edit If you prefer some additional space between paragraphs, you can't simply do

\setlength{\parskip}{<length>}


The parskip package takes care of list environments and the table of contents but not headings as can be seen in this code

\documentclass{book}
\usepackage{lipsum}%parskip}
\usepackage{eso-pic,tikz}

\begin{tikzpicture}[overlay,remember picture]
\draw[blue!20!white,thin]
(current page.south west) grid [xstep=10mm,ystep=4mm] (current page.north east);
\end{tikzpicture}}

\begin{document}
\chapter{test}
\section{test}
\lipsum[1-4]
\end{document}


How can we change the amount of space between paragraphs without changing any thing else?

Original question When I modify the usual \parskip it adds space to everything: formulas, titles,.. I want to change spacing only between paragraphs, not any other things. The parskip package does not help.

How can I avoid that?

• Sorry, but this is very unclear. Apr 26 '15 at 22:15
• \usepackage{parskip}.
– cfr
Apr 26 '15 at 22:16
• @egreg is it clear now? Apr 26 '15 at 22:36
• @cfr This does not work. Apr 26 '15 at 22:36
• Sorry but 'does not work' is not at all clear. How doesn't it work? Does your document not compile? Does your computer have a tantrum and refuse to get ready for bed? The parskip package is designed to do exactly what you say you want to do. Without an example or any sort of information at all, I obviously can have no idea in what way it fails to meet your requirements or why it does so. For all I know, you aren't even using LaTeX. That was just a guess. If not, obviously it won't work.
– cfr
Apr 26 '15 at 22:38

after-sep is the separation between title and text—vertical with hang, block, and display, and horizontal with runin, drop, wrap and ...margin. By making the value negative, you may define an effective space of less than \parskip
\titlespacing*{\section}{0pt}{before-sep}{after-sep}

You should be able to get the result you want by using this command to "undo" the additional spacing created after section headings when using \setlength{\parskip}{<length>} to adjust the inter-paragraph spacing.