|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
ColumnAlignments
ColumnAlignments
is an option for the low-level function GridBox that specifies how entries in each column should be aligned.
DetailsDetails
- The following settings can be given:
-
Center centered (default) Left left justified (aligned on left edge) Right right justified (aligned on right edge) "." aligned at decimal points "c" aligned at the first occurrence of the character c {pos1,pos2,...} separate settings for each column in the grid - Lists of settings are used cyclically if there are more columns in the grid than elements in the list.
- With the setting ColumnAlignments->"c" a column will be right justified if the character c appears nowhere in it.
- You can insert invisible \[AlignmentMarker] characters in the entries in a grid to specify how these entries should be aligned.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Align entries right in the first column, and align them left in the second column:
| In[1]:= |
Out[1]//DisplayForm= | |
New in 3
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
