Space between paragraphs in LaTeX (parskip)
Load the parskip package. Paragraphs are then separated by vertical space instead of an indented first line. With a KOMA-Script class, use the class option parskip=half instead.
Space instead of indentation
Without options the package sets the space to half a line (\parskip becomes half of \baselineskip, with 2 pt of stretch) and the indentation \parindent to zero.
This goes into the preamble.
\usepackage{parskip}Choose the amount
skip sets the space between paragraphs and indent an indentation in case you want both.
This goes into the preamble.
\usepackage[skip=10pt, indent=15pt]{parskip}Without a package
You can set the two lengths yourself. \parskip is also used inside lists and the table of contents, so their spacing grows too; the parskip package corrects that for you.
This goes into the preamble.
\setlength{\parskip}{6pt plus 2pt}
\setlength{\parindent}{0pt}KOMA-Script classes
parskip=half separates paragraphs by half a line, parskip=full by a whole line. parskip=false is the default and indents the first line.
Complete document:
\documentclass[parskip=half]{scrartcl}
\begin{document}
The first paragraph.
The second paragraph starts after half a line of space.
\end{document}Pitfalls
- A KOMA-Script class warns when you load the
parskippackage and recommends its ownparskipoption. - For extra space at one place, write
\medskip,\bigskipor\vspace{1cm}between the two paragraphs, see Horizontal and vertical space in LaTeX.
Compiled with pdfLaTeX from TeX Live 2023.
Related pages
- Package
parskip - How-to Paragraph indentation in LaTeX
- How-to Line spacing in LaTeX
- How-to Horizontal and vertical space in LaTeX