TeXpad

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.
or paste your own document

Ready. Press Compile (or Ctrl/Cmd + Enter).

Open in the full editor →

Common causes

How to fix it

  1. Delete the \\; a blank line already starts a new paragraph. TeXpad offers "Remove the \\".
  2. For extra space between paragraphs, use \vspace{1em} or \medskip instead.

Related errors