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.

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

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]=
Introduced in 1996
(3.0)
Translate this page: