This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Notebooks / Editing Options /

AutoIndent

FilledSmallSquare AutoIndent is an option for Cell which specifies what automatic indentation should be done at the beginning of a new line after an explicit return character has been entered.

FilledSmallSquare Possible settings for AutoIndent are:

FilledSmallSquare With AutoIndent->True, tabs or spaces used for indentation on the previous line are explicitly inserted at the beginning of the new line.

FilledSmallSquare With AutoIndent->Automatic, line breaks are always indicated by an IndentingNewLine character even if they were originally entered using or \[NewLine].

FilledSmallSquare Indentation after an \[IndentingNewLine] is automatically redone every time an expression is displayed.

FilledSmallSquare The amount of indentation after an IndentingNewLine is determined by the settings for the LineIndent and LineIndentMaxFraction options.

FilledSmallSquare See Section 2.11.11.

FilledSmallSquare See also: LineIndent, ParagraphIndent, ShowAutoStyles.

FilledSmallSquare New in Version 3; modified in 4.0.