Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2020-07-13 03:49:36
Size: 640
Comment:
Revision 4 as of 2025-08-27 21:17:32
Size: 700
Comment: Cleanup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
LaTeX does a great deal of arithmetic to arrive at the 'best' alignment of text. Sometimes, 'best' just isn't good enough. The default indentation style can be configured in several ways.
Line 11: Line 11:
== Paragraph Indentation == == Paragraphs ==
Line 13: Line 13:
Paragraph indentation length is set by `\parindent`. To change it, try: The default behavior is to indent all paragraphs except for those immediately following a [[LaTeX/Sections|section title]]. Paragraph indentation length is set by the document type; see [[https://tex.stackexchange.com/a/50144|here]] for some details.

To force indentation on a paragraph immediately following a section title, include the '''indentfirst''' package at the top of the document.

{{{
\usepackage{indentfirst}
}}}

To set an explicit indentation length, try:
Line 19: Line 27:
Most paragraphs are automatically indented on the first line. The primary exception is the paragraph immediately following a section title. To force indentation on that paragraph, include the `indentfirst` package at the top of the document (i.e. `\usepackage{indentfirst}`).

LaTeX Indentation

The default indentation style can be configured in several ways.


Paragraphs

The default behavior is to indent all paragraphs except for those immediately following a section title. Paragraph indentation length is set by the document type; see here for some details.

To force indentation on a paragraph immediately following a section title, include the indentfirst package at the top of the document.

\usepackage{indentfirst}

To set an explicit indentation length, try:

\setlength\parindent{24pt}


CategoryRicottone

LaTeX/Indentation (last edited 2025-08-27 21:17:58 by DominicRicottone)