# Globally set Paragraph top and bottom margins

I have the below code :

\documentclass[12pt]{book}
\usepackage{lipsum}

\begin{document}

\lipsum[1]
\lipsum[1]

\end{document}


I would like to be able to define the margins of new paragraphs. I am a web guy so I will give an example with CSS for what I am trying to do :

p{margin-top: 10px;margin-bottom: 5px;}


how can I apply that?

• Typography is quite different from producing a web page. What's good for web pages is not necessarily good for printed pages. – egreg Oct 20 '11 at 21:01
• @egreg what I am experiencing is that two paragraphs looks really inside each other right now. So, is there any way to do that? – tugberk Oct 20 '11 at 21:06
• \setlength{\parskip}{10pt} – cmhughes Oct 20 '11 at 21:09
• That's the usual way to set text; the initial indent tells the reader that a new paragraph starts. Spacing paragraphs is bad for two reasons: it interrupts the flow of reading and destroys the uniformity of grey on the page. It may be good for short texts, not for longer ones. – egreg Oct 20 '11 at 21:09
• @tugbrek setting-up a margin-top and a margin-bottom does not make sense neither for webpages not for typography. If you have a paragraph sandwiched between two others are you going to allow a top+bottom from the previous one? – Yiannis Lazarides Oct 20 '11 at 21:23

The relevant parameter is \parskip: a declaration such as
\setlength{\parskip}{15pt plus 1pt minus 2pt}