Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Notebooks and Documents > Mathematical Typesetting > Math Typesetting Options & Tweaking > LineIndent >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF