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


ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Create a cell with AutoIndent->True:

Click for copyable input

Type some spaces at the beginning of a line:

When you press the Enter key, the Wolfram System inserts the same indentation in the next line:

Create a cell with AutoIndent->Automatic:

Click for copyable input

Every time you press Enter in this cell, the Wolfram System indents according to expression structure:

As you edit the cell further, the structural indentation shifts appropriately:

Introduced in 1996
| Updated in 1999
Translate this page: