Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > Tuning & Debugging > Symbol Handling > Converting between Expressions & Strings >
Mathematica > Core Language > Package Development > Namespace Management > Symbol Handling > Converting between Expressions & Strings >

OutputForm

OutputForm[expr]
prints as a two-dimensional representation of expr using only 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 Mathematica.
  • When possible, OutputForm uses approximations to special characters. Thus is given as >= and é as e'.  »
Integer, Rational, Real and Complex numbers:
Arbitrary-precision Real and Complex numbers:
Special constants:
Characters and strings of characters:
Control characters for strings:
Different Power expressions:
Special typeset expressions:
Different list structures:
Inputs with subscripts, superscripts, etc.:
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:
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:
New in 1 | Last modified in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team