Mathematica > Notebooks and Documents > Notebook Formatting & Styling > Text Styling > Text Layout Options > TextAlignment >

TextAlignment

TextAlignment
is an option for Cell, Style and related constructs which specifies how successive lines of text should be aligned.
  • Possible settings are:
Left or aligned on the left
Right or aligned on the right
Center or centered
xlined up at position x across the page
  • TextAlignment can be used both for ordinary text and for Mathematica expressions.
Align on the left:
Centered:
Align on the right:
Align on the left:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Centered:
In[3]:=
Click for copyable input
Out[3]=
Align on the right:
In[4]:=
Click for copyable input
Out[4]=
Line up at the position across the page:
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF