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

Documentation / Mathematica / Front End / Front End Options / Editing Options /

AutoIndent

FilledSmallSquare AutoIndent is an option for cells that determines if a new line of text should be automatically indented so it is aligned with the previous line.

FilledSmallSquare With the setting AutoIndent Rule True, the next line is automatically indented by an amount equal to the white space at the start of the previous line.

FilledSmallSquare With the setting AutoIndent Rule False, you must indent each line manually.

FilledSmallSquare With the setting AutoIndent Rule Automatic, each line is indented by an amount determined by the depth of the last expression in the previous line. If the depth changes, by adding or deleting brackets, the indentation of the next line is automatically adjusted.

FilledSmallSquare The options LineIndent and LineIndentMaxFraction determine the amount of indentation inserted.

FilledSmallSquare If ReturnKey or \[NewLine] is used to create the next line, tabs for indentation will explicitly be inserted into the internal structure of the object representing the contents of the cell.

FilledSmallSquare If \[IndentingNewLine] is used, only this character will be inserted, and indentation will be redone each time the expression is output.

FilledSmallSquare See The Mathematica Book: Section 2.11.11.

FilledSmallSquare See also: LineIndent, ParagraphIndent.