Mathematica 9 is now available

ColumnForm

Usage

ColumnForm[  ,  , ...  ]输出为一列,其中   上方,等等。
ColumnForm[list, horiz] 指明每一个元素水平对齐。
ColumnForm[list, horiz, vert]指明整个列的垂直对齐。


Notes

•可能的水平对齐有:
"\!\(\*StyleBox[\"\\\"Center\\\"\", \"MR\"]\) "居中
"\!\(\*StyleBox[\"\\\"Left\\\"\", \"MR\"]\) "左边
"\!\(\*StyleBox[\"\\\"Right\\\"\", \"MR\"]\) "右边
• 可能的垂直对齐有:
"\!\(\*StyleBox[\"\\\"Above\\\"\", \"MR\"]\) "列的底元素和基线对齐
"\!\(\*StyleBox[\"\\\"Below\\\"\", \"MR\"]\) "顶元素和基线对齐
"\!\(\*StyleBox[\"\\\"Center\\\"\", \"MR\"]\) "列按基线居中
ColumnForm的第一个参数可以有一个头,未必是List.
ColumnForm 充当一个包装器,对输出起作用,但不对求值起作用。
• 参见Mathematica全书: 2.7.6 and 节 2.8.7.
• 同时参见: TableForm, MatrixForm, SequenceForm, GridBox.
Further Examples

These examples give the list of numbers as a column justified in different ways.

In[1]:=  

Out[1]=

In[2]:=  

Out[2]=

In[3]:=  

Out[3]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.