TableForm with TableHeadings aligned to Left but the content of table aligned to Right
问题 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? 回答1: You can use Grid and Alignment . Here is one way: a = Map[Mod