This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ColumnAlignments

ColumnAlignments
is an option for the low-level function GridBox which specifies how entries in each column should be aligned.
  • The following settings can be given:
Centercentered (default)
Leftleft justified (aligned on left edge)
Rightright 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.
New in 3