BUILT-IN WOLFRAM LANGUAGE SYMBOL

ColumnWidths

ColumnWidths
is an option for the low-level function GridBox which specifies the widths to use for columns.

DetailsDetails

  • 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 for column i
  • With ColumnWidths->{w1,w2,,wn}, the specification is effectively taken to be repeated if there are more than n columns.
  • With ColumnWidths->Automatic, a particular column will never use more width than its widest element.
  • An explicit setting for ColumnWidths overrides ColumnsEqual->True.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

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=
Introduced in 1996
(3.0)
| Updated in 2007
(6.0)