[Tex/LaTex] New paragraph without indent in KOMA Script

indentationkoma-scriptparagraphs

This might be the stupidest question ever asked on TeX.sx, but I recently changed my paragraphing style and now run into problems. Consider the following MWE:

\documentclass{scrartcl}

\begin{document}

This is a line. This is a line. This is a line. This is a line. This is a line. 

Indented new paragraph. Indented new paragraph. Indented new paragraph. Indented new paragraph. Indented new paragraph.\\

New block again indented. Should not be indented.

\end{document}

It produces the following output:

Indented new paragraph

In my opinion, there should not be an indented in the second paragraph. How do I avoid this?

Best Answer

Manual solution: Add \noindent at the beginning of the paragraph that shouldn't be indented.

Automatic solution: Enable parskip, i.e. space in between paragraphs and create a custom macro for "indented linebreaks". This works, but by all means isn't pretty. What I wrote in my comment to your question still applies, and have a look at p. 49f (0.5 pages) of section 3.1.3 of the KOMA-Script manual about the disadvantages of parskip.

\documentclass[parskip=full]{scrartcl}

\newcommand{\mylinebreak}{\newline\hspace*{11pt}}% 11pt is about the standard \parindent
                 %(but only if you don't use a font size option to your document class!)

\begin{document}

This is a line. This is a line. This is a line. This is a line. This is a line.\mylinebreak
Indented new paragraph. Indented new paragraph. Indented new paragraph. Indented new paragraph. Indented new paragraph.

New block again indented. Should not be indented.

\end{document}

screenshot of the output

To find out the current \parindent (e.g. if you've loaded a document class with a 12pt option), remove the parskip option and add \the\parskip to your document body, which will print the current value of \parindent to your document.

Related Question