# Empty line does not yield a new paragraph [closed]

While most people want to want to remove the default "the-empty-line-generating-a-new-paragraph"-function, I myself do not even have it working on my system to begin with.

I recently installed the latest MiKTeX distribution and I am able to seamlessly generate my LaTeX PDF-documents (I have Texmaker on my machine but use it scarcely; I much more preferably and frequently use Sublime Text 2 together the LaTeXTools package instead).

I tried compiling the follow piece of code:

    \documentclass{article}
\begin{document}
Hello this is the first paragraph.

Hello again, this now is the second paragraph.
\end{document}


I was hoping that the generated PDF would have two different paragraphs but what I instead found is simply a "Hello again, this now is the second paragraph." landing right below the first sentence, as a line break. See picture:

Why does this happen? I thought it was supposed to be a default setting.

## closed as too localized by Guido, Heiko Oberdiek, Claudio Fiandrino, mafp, Martin SchröderJun 3 '13 at 12:33

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

• I wonder what you are expecting by 'a new paragraph'. LaTeX default settings indent the first line of a paragraph with no gap between paragraphs. With two very short pieces of text you won't really see much of an effect of the indent: you need a few lines for this to show. – Joseph Wright Jun 3 '13 at 11:27
• What is the evidence for the statement 'most people want to want to remove the default "the-empty-line-generating-a-new-paragrah"-function'? – Ian Thompson Jun 3 '13 at 11:30
• Your picture shows two indented paragraphs (although you do not see the indent as they are just one line.) Make the text in each paragraph longer so you see the second line starts to the left and the paragraph indentation is clearer. The first sentence of your question is false! – David Carlisle Jun 3 '13 at 11:35
• It seems there's nothing wrong: i.imgur.com/AXUgboI.png – latex user Jun 3 '13 at 11:36
• No the default presentation is an indentation with no vertical gap (which is the most common paragraph marker in printed works generally) You should almost never need to use an explicit \newline in a latex document. – David Carlisle Jun 3 '13 at 12:03

Paragraphs can be highlighted in two ways. (1) A paragraph has a small indent at the beginning. This is the default behaviour. The length is stored inside the dimension \parindent. (2) The other method is to have a skip between two paragraphs. These skip is saved in the skip register \parskip.

Please note: Never combine these two methods.

To setup the mechanism you have several ways which are related to your document class.

For standard classes the package parskip is useful. If you are using a KOMA class then you can work with the option parskip. There is no need for an extra package.

Related to your example both lines are indented. You can't see this because the first line (the paragraph) is to short.

• Thanks for the reply. Fact is that, much like a Word doc, I wish to have gaps between paragraphs and furthermore unindented paragraphs. This necessitates using \parindent and \parindent simultaneously, but how come one is advised against doing that? – user31662 Jun 3 '13 at 12:06
• Normally the package parskip should do the job. If you are using a KOMA class like scrartcl do: \documentclass[parskip=full]{scrartcl} – Marco Daniel Jun 3 '13 at 12:09
• @user31662 -- traditionally, printed works use the indentation of the first line to signal the beginning of a paragraph. this leaves open the option of leaving a gap between paragraphs (usually with the following line unindented) to signal a major break in thought. if all paragraphs are separated by space, the use of the latter possibility is degraded, so there's a possible loss of clarity. since an author's first duty is to communicate clearly, indentation rather than space between paragraphs has remained the preference. – barbara beeton Jun 3 '13 at 12:14
• @user31662 By "never combine these two methods" Marco means you shouldn't have indented paragraphs as well as gaps between paragraphs. To get what you want, you should use \parindent=0pt and \parskip=5mm. This doesn't count as combining the methods. – John Wickerson Jun 3 '13 at 12:33
• @JohnWickerson: parskip is a skip register and should be defined with a glue part. So it's better to load the package parskip – Marco Daniel Jun 3 '13 at 12:42