Skip to main content
To start a new line in LaTeX without beginning a new paragraph, use \\ or \newline. To start a new paragraph, leave one blank line in the source. Do not insert manual breaks just to wrap ordinary prose—LaTeX calculates those line endings automatically.
Choose the right break: use a blank source line for a paragraph, \\ for a deliberate line break, and \\[6pt] only when that manual break also needs extra vertical space.

How LaTeX Handles Paragraphs

Creating Paragraphs

In LaTeX, a blank line creates a new paragraph:
paragraphs.tex
Ready to use this syntax? Continue in the browser editor when you want to adapt the example in a real project.Open LaTeX Cloud Studio

Multiple Spaces and Line Breaks

LaTeX treats multiple spaces as one and ignores single line breaks:
spacing.tex
LaTeX ignores extra whitespace to give you flexibility in formatting your source code without affecting the output.

Manual Line Breaks

Using Double Backslash

Force a line break within a paragraph using \\:
line-breaks.tex

Line Break with Extra Space

Add vertical space after a line break:
line-break-space.tex

The \newline Command

Alternative to \\:
example.tex

Preventing Line Breaks

Non-breaking Space

Use ~ to prevent line breaks between words:
non-breaking.tex

\mbox Command

Keep text together on one line:
example.tex

Paragraph Formatting

Paragraph Indentation

Control first-line indentation:
indentation.tex

Paragraph Spacing

Control space between paragraphs:
paragraph-spacing.tex

Special Paragraph Commands

\par Command

Explicitly end a paragraph:
example.tex

Centered Text

centering.tex

Flush Left and Right

alignment.tex

Advanced Line Breaking

Preventing Hyphenation

hyphenation.tex

Line Breaking Commands

Page Breaking

Control where pages break:
example.tex

Common Patterns

Address Format

address.tex

Poetry or Verses

poetry.tex

Quotations

quotations.tex

Best Practices

Paragraph and line break tips:
  1. Let LaTeX decide - Don’t force line breaks unless necessary
  2. Use blank lines - Clear paragraph separation in source
  3. Be consistent - Choose either indentation or spacing
  4. Use non-breaking spaces - Keep related items together
  5. Avoid \\ at paragraph ends - Use blank lines instead

Common Mistakes

Avoid these errors:
  1. Using \\ for paragraph breaks - Use blank lines
  2. Multiple \\ in a row - Use \\[space] instead
  3. Ending paragraphs with \\ - Creates underfull hbox warnings
  4. Too many manual breaks - Trust LaTeX’s algorithm

Troubleshooting

Underfull/Overfull hbox

If you get these warnings:
  • Let LaTeX handle line breaking
  • Use \sloppy for problematic paragraphs
  • Rewrite sentences if needed

Unwanted Page Breaks

example.tex

Inconsistent Spacing

Check these settings:
example.tex

Quick Reference

Try Paragraph and Line Breaks

These line-break commands are standard LaTeX, so they work the same in Overleaf. If you are comparing editors, see the Overleaf alternative page.
Next: Learn about Bold, italics and underlining to add emphasis to your text.