TableSpacing

TableSpacing

is an option for TableForm and MatrixForm which specifies how many spaces should be left between each successive row or column.

Details

  • TableSpacing->{s1,s2,} specifies that si spaces should be left in dimension i.
  • For columns, the spaces are rendered as space characters. For rows, the spaces are rendered as blank lines.
  • For TableForm, TableSpacing->Automatic yields spacings {1,3,0.5,1,0.5,1,}.

Examples

open allclose all

Basic Examples  (1)

Format a table with no space between rows or columns:

In[1]:=
Click for copyable input
Out[1]//TableForm=

Use one space between rows and four between columns:

In[2]:=
Click for copyable input
Out[2]//TableForm=

Scope  (2)

Applications  (1)

Neat Examples  (1)

See Also

RowSpacings  ColumnSpacings  TableDirections

Tutorials

Introduced in 1991
(2.0)