TextAlignment

TextAlignment
is an option for Cell, Style and related constructs which specifies how successive lines of text should be aligned.

DetailsDetails

  • 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 Wolfram Language expressions.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

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