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?
相关问题
- Puzzled by Function body evaluation
- how to overload Times and Plus for matrix multipli
- AOSP Build TARGET_PRODUCT fails
- Modifying a Graphics3D object generated by Paramet
- Mathematica “AppendTo” function problem
相关文章
- histogram without vertical lines in Mathematica
- Entering data with Input[] in mathematica
- Using Fold to calculate the result of linear recur
- How should I write a function to be used in Apply
- NMinimize eats all memory b/c of unnecessary symbo
- Mathematica: set default value for argument to non
- how does mathematica determine which rule to use f
- Animate the movement of a point along the plot of
You can get far more control using Grid or GridBox if TableForm doesn't do what you like.
You can use
Grid
andAlignment
. Here is one way:Here is another:
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
: