Skip to main content
Use \parskip to add space between paragraphs, \parindent to control the first-line indent, and \vspace for one-off vertical gaps. This guide focuses on those common spacing tasks first, then covers line spacing, list spacing, section spacing, and troubleshooting.
Quick answer: most paragraph-spacing changes come down to \setlength{\parskip}{...}, \setlength{\parindent}{...}, \noindent, and \vspace{...}. Use page-level settings for consistent layout, and use \vspace only for local adjustments.

Quick fixes for common spacing tasks

Quick Start

paragraph-spacing-quickstart.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

Paragraph Spacing Basics

Default Behavior

LaTeX’s default paragraph handling:
  • First line indented
  • No extra space between paragraphs
  • Justified text alignment
default-paragraphs.tex

Controlling Paragraph Spacing

paragraph-spacing.tex

Line Spacing

Basic Line Spacing Commands

line-spacing.tex

Local Line Spacing

local-spacing.tex

Vertical Spacing

Adding Vertical Space

vertical-space.tex

Flexible Vertical Space

flexible-space.tex

Indentation Control

Managing Paragraph Indentation

indentation.tex

Hanging Indentation

hanging-indent.tex

Special Spacing Environments

Quote and Quotation Environments

quotes.tex

Custom Spacing Environments

custom-environments.tex

List Spacing

Controlling List Spacing

list-spacing.tex

Page Layout Spacing

Margins and Text Area

page-layout.tex

Section Spacing

section-spacing.tex

Advanced Techniques

Baseline Skip Control

baseline-skip.tex

Rubber Lengths

rubber-lengths.tex

Troubleshooting Spacing Issues

Common Problems and Solutions

spacing-fixes.tex

Best Practices

Spacing guidelines:
  1. Consistency: Use the same spacing throughout similar elements
  2. Readability first: Don’t sacrifice readability for density
  3. Document class: Choose appropriate class for spacing defaults
  4. Global settings: Set document-wide spacing in preamble
  5. Local changes: Use grouping {} for temporary changes

Quick Reference

Try the Spacing Examples

Open a spacing example

Paste the examples into a project and compile them to compare \vspace, paragraph spacing, indentation, and line spacing.

See the online LaTeX editor

Review the browser editor workflow on the online LaTeX editor page before testing document-wide spacing changes.

Next: Explore Font selection and customization to enhance your document’s typography.