Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >
Built-in Mathematica Symbol|See Also »

ColumnWidths

ColumnWidths
is an option for the low-level function GridBox which specifies the widths to use for columns.
  • The following settings can be given:
Allwide enough to fit without breaking lines
Automaticavailable width divided automatically among columns
Scaled[s]fraction s of the available width
nn ems in the current font
{w1,w2,...}width specification wi for column i
  • With ColumnWidths->{w1, w2, ..., wn}, the specification wn is effectively taken to be repeated if there are more than n columns.
Set column widths in units of em-widths:
Set column widths as fractions of total width:
Set all columns to the same width:
Set column widths in units of em-widths:
In[1]:=
Click for copyable input
Out[1]//DisplayForm=
 
Set column widths as fractions of total width:
In[1]:=
Click for copyable input
Out[1]//DisplayForm=
 
Set all columns to the same width:
In[1]:=
Click for copyable input
Out[1]//DisplayForm=
New in 3 | Last modified in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team