69

How can I put two consecutive newlines in LaTeX? If I put two \\ the compiler gives me an error.

4
  • 1
    You should add the error you are getting. Also there is a speific stackoverflow for Latex.
    – plaisthos
    Oct 16, 2014 at 8:53
  • It gives me only a question mark, sorry about putting the topic in the wrong place.
    – alexrn
    Oct 16, 2014 at 8:58
  • Not sure why you need it. You could use \\[\baselineskip].
    – user10274
    Oct 22, 2014 at 14:27
  • 2
    Perhaps this is old behaviour, but four backslashes in a row in a minimal document does not give me an error. Anyway, `\` should nearly never be used in text mode, only in special environments. Mar 13, 2018 at 16:07

3 Answers 3

92

You can either specify two line breaks with

\\~\\

or specify the height of the break (for example, for a 2-inch break)

\\[2in]

You can use this form to define the height of the break to be actually two lines

\\[2\baselineskip]

See this example: https://www.writelatex.com/read/wtyxrnxxvxhj

2
  • 1
    All 3 of your commands work as advertised, but they throw the following messages when using TexMaker and linux command line pdflatex: "Type: Badbox" (the line number it happens on and "Message: Underfull \hbox ..." and these messages seem to appear no matter what type of content occurs before them. Thoughts?
    – Thom Ives
    Aug 22, 2019 at 2:45
  • The first one is equivalent to `\\\` though? There's still the underfull hbox warning. (the 2 other works.) I think the most likely reason is spacing - How can I force a \hspace at the beginning of a line? - TeX - LaTeX Stack Exchange
    – user202729
    Jan 21, 2022 at 1:44
30

The “correct” way to do this is adding \medskip or \bigskip:

...
some words that end a paragraph.

\medskip % or \bigskip

Here the new paragraph starts
...
10

You could also type

\par\null\par
0

You must log in to answer this question.