TableForm with TableHeadings option is a quick and easy way to display good-looking classical table in Mathematica FrontEnd. The only problem is that it is common to display such a table with headings aligned to the left but the content of the table aligned to the right. Is it possible to force TableForm to behave in this way? Or if not, what is the best way to make an analog of TableForm that behaves in this way?
TableForm with TableHeadings option is a quick and easy way to display good-looking classical
Share
It appears that one way to do this is:
One can make such behavior permanent using Villegas-Gayley trick:
Now
gives:
Another way is to define alternative function
myTableForm: