OutputForm

OutputForm[expr]

prints as a two-dimensional representation of expr using only keyboard characters.

Details

  • OutputForm is an approximation to StandardForm which uses only ordinary keyboard characters.
  • The OutputForm of many kinds of expressions is quite different from their internal representation.
  • OutputForm acts as a "wrapper", which affects printing, but not evaluation. »
  • OutputForm cannot be used directly for input to the Wolfram Language.
  • When possible, OutputForm uses approximations to special characters. Thus is given as >= and é as e'. »

Examples

open allclose all

Basic Examples  (2)

OutputForm of a typeset expression:

OutputForm of a graphic:

Scope  (8)

Basic Objects  (2)

Integer, Rational, Real, and Complex numbers:

Arbitrary-precision Real and Complex numbers:

Special constants:

Characters and strings of characters:

Control characters for strings:

Special Input Forms  (4)

Different Power expressions:

Special typeset expressions:

Different list structures:

Inputs with subscripts, superscripts, etc.:

Special Output Forms  (2)

Some objects use a special output representation:

Compare the OutputForm with the underlying FullForm of the expression:

Some objects use an elided output representation:

The elided information is visible in the FullForm:

Properties & Relations  (5)

OutputForm affects display but not evaluation:

Apply OutputForm to the evaluated integral:

Special characters format as keyboard characters:

OutputForm formats in two dimensions:

StandardForm and TraditionalForm are two-dimensional with additional formatting:

InputForm and FullForm provide one-dimensional formatting:

Use ToString to generate a string in OutputForm:

Add formatting via Format:

Introduced in 1988
 (1.0)
 |
Updated in 1996
 (3.0)