AutoIndent

AutoIndent

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.

Details

Examples

Basic Examples  (2)

Create a cell with AutoIndent->True:

Type some spaces at the beginning of a line:

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

Create a cell with AutoIndent->Automatic:

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

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

Wolfram Research (1996), AutoIndent, Wolfram Language function, https://reference.wolfram.com/language/ref/AutoIndent.html (updated 2002).

Text

Wolfram Research (1996), AutoIndent, Wolfram Language function, https://reference.wolfram.com/language/ref/AutoIndent.html (updated 2002).

CMS

Wolfram Language. 1996. "AutoIndent." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2002. https://reference.wolfram.com/language/ref/AutoIndent.html.

APA

Wolfram Language. (1996). AutoIndent. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AutoIndent.html

BibTeX

@misc{reference.wolfram_2024_autoindent, author="Wolfram Research", title="{AutoIndent}", year="2002", howpublished="\url{https://reference.wolfram.com/language/ref/AutoIndent.html}", note=[Accessed: 23-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_autoindent, organization={Wolfram Research}, title={AutoIndent}, year={2002}, url={https://reference.wolfram.com/language/ref/AutoIndent.html}, note=[Accessed: 23-November-2024 ]}