This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Input and Output / Formatting Functions  /
ColumnForm

  • ColumnForm[ , , ... ] prints as a column with above , etc.
  • ColumnForm[ list , horiz ] specifies the horizontal alignment of each element.
  • ColumnForm[ list , horiz , vert ] also specifies the vertical alignment of the whole column.
  • Possible horizontal alignments are:
  • Possible vertical alignments are:
  • The first argument of ColumnForm can have any head, not necessarily List.
  • ColumnForm acts as a "wrapper", which affects printing, but not evaluation.
  • See the Mathematica book: Section 2.7.6Section 2.8.7.
  • See also: 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]=