is an option for TableForm and MatrixForm which specifies how entries in each dimension should be aligned.


TableAlignments
is an option for TableForm and MatrixForm which specifies how entries in each dimension should be aligned.
Details

- TableAlignments->{a1,a2,…} specifies alignments for successive dimensions.
- For dimensions that are given as columns, possible alignments are Left, Center, and Right. For dimensions that are given as rows, possible alignments are Bottom, Center, and Top.
- The default setting TableAlignments->Automatic uses Left for column alignment, and Bottom for row alignment.
Examples
open all close allBasic Examples (1)
Scope (3)
Specify vertical and horizontal alignments for TableForm:
Align columns on a decimal point or any character:
Define multiple dimensional alignments for MatrixForm:
Tech Notes
Related Workflows
- Make a Grid of Output Data
History
Introduced in 1991 (2.0)
Text
Wolfram Research (1991), TableAlignments, Wolfram Language function, https://reference.wolfram.com/language/ref/TableAlignments.html.
CMS
Wolfram Language. 1991. "TableAlignments." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TableAlignments.html.
APA
Wolfram Language. (1991). TableAlignments. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TableAlignments.html
BibTeX
@misc{reference.wolfram_2025_tablealignments, author="Wolfram Research", title="{TableAlignments}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/TableAlignments.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_tablealignments, organization={Wolfram Research}, title={TableAlignments}, year={1991}, url={https://reference.wolfram.com/language/ref/TableAlignments.html}, note=[Accessed: 11-August-2025]}