Line break and new paragraph in LaTeX (double backslash, newline, par)
An empty line in the source starts a new paragraph. \\ or \newline breaks the line inside a paragraph. A single line break in the source is only a space.
New paragraph
One or more empty lines end the paragraph; \par does the same. The next paragraph starts with an indentation. How the lines are broken in the source does not matter.
This is the first paragraph.
This sentence belongs to it as well.
This is the second paragraph.Line break inside a paragraph
\\ ends the line and continues on the next one without starting a paragraph: no indentation and no paragraph spacing. \newline does the same in normal text. Use it for addresses, verses and title pages, not to separate paragraphs.
Jane Doe\\
12 Example Street\\
LondonExtra space and no page break
A length in square brackets adds space after the line: \\[6pt]. A star forbids a page break after the line: \\*.
First line\\[6pt]
second line with more space above\\*
third line, kept on the same pageBreak and justify the line
\linebreak breaks the line and stretches it to the full width, while \\ leaves it short. Use it only when the line is nearly full; a short line gets wide gaps between the words and a warning, see Underfull \hbox (badness 10000) in paragraph at lines 3--4.
The first line of this paragraph is filled almost up to the right margin,\linebreak
and the break is forced here although one more word would fit.Pitfalls
\\after an empty line or at the start of a paragraph stops with There's no line here to end. For space between paragraphs use\vspace{...},\bigskipor theparskippackage.\\at the end of a paragraph, followed by an empty line, produces the warning "Underfull \hbox (badness 10000)". Delete the\\; the empty line alone ends the paragraph.- In tables and in environments such as
align,\\ends a row instead.
Compiled with pdfLaTeX from TeX Live 2023.