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

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.
  • The setting for LineIndent determines the amount of indentation that will be inserted after any explicit newline is entered when AutoIndent->True.
Specify the size of indentation:
No indentation:
Specify the size of indentation:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
 
No indentation:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Create a cell with AutoIndent->True with specific line indent:
When you press the Enter key, Mathematica inserts the indentation according to LineIndent:
New in 3