16

In certain styles of text I define \parindent 0pt in the preamble and write the text in this manner:

paragraph 1\\

paragraph 2\\

and so forth. I wonder if there is anything I can include in the preamble for instance to modify how the end of paragraphs are interpreted so I don't have to include the \\ at the end of each?

1 Answer 1

25

Use

\setlength\parskip{\baselineskip}

or perhaps better use

\usepackage{parskip}

and never end a paragraph with \\ it just makes LaTeX generate loads of warnings and poor typesetting.

4
  • 1
    You can as well use {\baselineskip plus 0.15\baselineskip minus 0.5\baselineskip} to allow some stretch.
    – yo'
    Commented Aug 9, 2012 at 22:12
  • 2
    Yes that's better really (or there's the parskip package for a more complete job) I was was trying to keep it simple. Commented Aug 9, 2012 at 23:02
  • The parskip package is exactly what I needed - but the simplicity of this answer is nice too. When I try to compile with @tohecz answer though I get ! LaTeX Error: Missing \begin{document}..
    – hatmatrix
    Commented Aug 10, 2012 at 8:38
  • @tohecz comment was intended to be the argument to \setlength not a line on its own. Commented Aug 10, 2012 at 8:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .