LineIndent

LineIndent

is an option for Style and Cell that specifies how many ems of indentation to add at the beginnings of lines for each level of nesting in an expression.

Details

  • The typical default setting is LineIndent->1.
  • The setting for LineIndent determines the amount of indentation that will be inserted after any explicit newline is entered when AutoIndent->True.

Examples

open allclose all

Basic Examples  (2)

Specify the size of indentation:

No indentation:

Scope  (1)

Create a cell with AutoIndent->True with specific line indent:

When you press the TemplateBox[{return}, Key0, BaseStyle -> {ExampleText, FontWeight -> Plain, FontFamily -> Source Sans Pro}] key, the Wolfram System inserts the indentation according to LineIndent:

Introduced in 1996
 (3.0)