TableSpacing

TableSpacing

is an option for TableForm and MatrixForm that 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:

Use one space between rows and four between columns:

Scope  (2)

Use with MatrixForm:

Specify spacings for any number of dimensions:

Applications  (1)

Display a bit matrix with no spacing:

Neat Examples  (1)

A bit matrix texture:

Wolfram Research (1991), TableSpacing, Wolfram Language function, https://reference.wolfram.com/language/ref/TableSpacing.html.

Text

Wolfram Research (1991), TableSpacing, Wolfram Language function, https://reference.wolfram.com/language/ref/TableSpacing.html.

BibTeX

@misc{reference.wolfram_2020_tablespacing, author="Wolfram Research", title="{TableSpacing}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/TableSpacing.html}", note=[Accessed: 23-January-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_tablespacing, organization={Wolfram Research}, title={TableSpacing}, year={1991}, url={https://reference.wolfram.com/language/ref/TableSpacing.html}, note=[Accessed: 23-January-2021 ]}

CMS

Wolfram Language. 1991. "TableSpacing." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TableSpacing.html.

APA

Wolfram Language. (1991). TableSpacing. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TableSpacing.html