+4 votes
121 views
in Office by (242k points)
reopened
LaTex: Force empty line - this is how it works

1 Answer

+5 votes
by (1.6m points)
 
Best answer

How to create a blank line in LaTeX

Inserting a blank line with LaTeX works with one command. We'll reveal which one it is in this article..

image image

In Word, a blank line is inserted according to the WYSIWYG (What You See Is What You Get) principle - by pressing [Enter] twice. It is different with LaTeX, where an empty line has to be created by a command. Similar to a whole paragraph. You can find out how this works in this tipps + tricks article.

How to create a blank line in LaTeX

Suppose you would enter a blank line or a paragraph as in Word in the LaTeX editor by pressing [Enter] twice . Unfortunately, this only creates a line break when compiling, but not a blank line. Several blank lines are treated here in the same way as one blank line.

The method of creating a blank line is pretty simple:

  1. You have to enter the command " \\ " after the first line - a double backslash.
  2. Then press [Enter] to jump to the next line.
  3. Enter " \\ " again and press [Enter] again .
  4. This forces LaTeX to break a line.

To make the whole thing clearer, an example:

Hier beginnt die erste Zeile.\\


\\

Und hier ist diesmal wirklich eine Leerzeile davor.

image

...