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 / Output Options  /
FormatType

  • FormatType is an option for output streams, graphics and functions such as Text which specifies the default format type to use when outputting expressions.
  • Standard values for FormatType are given in the notes for Format.
  • SetOptions[ stream , FormatType -> type ] resets the format type for an open stream.
  • For graphics functions the default option setting is FormatType :> $FormatType.
  • For graphics functions box-based format types such as StandardForm and TraditionalForm can be used only when a notebook front end is present.
  • See the Mathematica book: Section 2.9.15Section 2.11.3.
  • See also: TextStyle.

    Further Examples

    This opens a stream, specifying that the default output format used should be the standard Mathematica two-dimensional output format.

    In[1]:=

    Out[1]=

    This writes expressions to the stream, then closes the stream and clears the variable.

    In[2]:=

    In[3]:=

    Out[3]=

    In[4]:=

    The expressions were written to the stream in standard Mathematica output format.

    In[5]:=

    2 22 2
    x + y z