LaTeX error: There's no line here to end
\\ ends the current line. At the very start of a paragraph, or right after another paragraph break, there is no line yet, so LaTeX refuses.
! LaTeX Error: There's no line here to end.
Try it: this example has the error
Press Fix it in the error box, and it compiles to a PDF. What pdfTeX printed for it:
! LaTeX Error: There's no line here to end.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 \\ S
tart of a line.
Ready. Press Compile (or Ctrl/Cmd + Enter).
Common causes
- Starting a paragraph with
\\to push text down. - Writing
\\on an empty line between paragraphs, or right after\maketitleor a list. - Two
\\in a row with a blank line between them.
How to fix it
- Delete the
\\; a blank line already starts a new paragraph. TeXpad offers "Remove the \\". - For extra space between paragraphs, use
\vspace{1em}or\medskipinstead.