TableHeadings
✖
TableHeadings
is an option for TableForm and MatrixForm that gives the labels to be printed for entries in each dimension of a table or matrix.
Details

- TableHeadings->None gives no labels in any dimension.
- TableHeadings->Automatic gives successive integer labels for each entry in each dimension. »
- TableHeadings->{{lbl11,lbl12,…},…} gives explicit labels for each entry.
- The labels can be strings or other Wolfram Language expressions. »
- The labels are placed as headings for rows or columns.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (3)Survey of the scope of standard use cases
Use with MatrixForm:

https://wolfram.com/xid/0h2ld3k53a-cnigxy

Use automatically generated headings for rows and columns:

https://wolfram.com/xid/0h2ld3k53a-fmr33r

Use automatic headings only for rows:

https://wolfram.com/xid/0h2ld3k53a-e1l1lt


https://wolfram.com/xid/0h2ld3k53a-iqjvxo

Specify Greek letters for row and column headings:

https://wolfram.com/xid/0h2ld3k53a-csin44

Wolfram Research (1991), TableHeadings, Wolfram Language function, https://reference.wolfram.com/language/ref/TableHeadings.html.
Text
Wolfram Research (1991), TableHeadings, Wolfram Language function, https://reference.wolfram.com/language/ref/TableHeadings.html.
Wolfram Research (1991), TableHeadings, Wolfram Language function, https://reference.wolfram.com/language/ref/TableHeadings.html.
CMS
Wolfram Language. 1991. "TableHeadings." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TableHeadings.html.
Wolfram Language. 1991. "TableHeadings." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TableHeadings.html.
APA
Wolfram Language. (1991). TableHeadings. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TableHeadings.html
Wolfram Language. (1991). TableHeadings. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TableHeadings.html
BibTeX
@misc{reference.wolfram_2025_tableheadings, author="Wolfram Research", title="{TableHeadings}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/TableHeadings.html}", note=[Accessed: 20-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_tableheadings, organization={Wolfram Research}, title={TableHeadings}, year={1991}, url={https://reference.wolfram.com/language/ref/TableHeadings.html}, note=[Accessed: 20-June-2025
]}