Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 14 down vote accepted

Use

\setlength\parskip{\baselineskip}

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

share|improve this answer
    
You can as well use {\baselineskip plus 0.15\baselineskip minus 0.5\baselineskip} to allow some stretch. –  tohecz Aug 9 '12 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. –  David Carlisle Aug 9 '12 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}.. –  crippledlambda Aug 10 '12 at 8:38
    
@tohecz comment was intended to be the argument to \setlength not a line on its own. –  David Carlisle Aug 10 '12 at 8:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.