WOLFRAM

is an option for output streams, graphics, and functions such as Text that specifies the default format type to use when outputting expressions.

Details

  • Typical settings for FormatType include:
  • Automaticinherit from surrounding constructs
    InputFormone-dimensional form suitable for direct keyboard input
    OutputFormcharacterbased two-dimensional form
    StandardFormstandard two-dimensional form
    TraditionalFormform approximating traditional mathematical notation
  • SetOptions[stream,FormatType->type] resets the format type for an open stream.
  • For graphics functions, boxbased format types such as StandardForm and TraditionalForm can be used only when a notebook front end is present.

Examples

open allclose all

Basic Examples  (3)Summary of the most common use cases

By default, expressions are displayed using TraditionalForm in graphics:

Out[1]=1
Out[2]=2

Display expressions using StandardForm:

Out[1]=1
Out[2]=2

Labels are also affected by the FormatType setting:

Out[1]=1

Possible Issues  (1)Common pitfalls and unexpected behavior

When different format types are combined the result is likely to be unpredictable:

Out[1]=1

This is equivalent to:

Wolfram Research (1988), FormatType, Wolfram Language function, https://reference.wolfram.com/language/ref/FormatType.html (updated 1996).
Wolfram Research (1988), FormatType, Wolfram Language function, https://reference.wolfram.com/language/ref/FormatType.html (updated 1996).

Text

Wolfram Research (1988), FormatType, Wolfram Language function, https://reference.wolfram.com/language/ref/FormatType.html (updated 1996).

Wolfram Research (1988), FormatType, Wolfram Language function, https://reference.wolfram.com/language/ref/FormatType.html (updated 1996).

CMS

Wolfram Language. 1988. "FormatType." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 1996. https://reference.wolfram.com/language/ref/FormatType.html.

Wolfram Language. 1988. "FormatType." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 1996. https://reference.wolfram.com/language/ref/FormatType.html.

APA

Wolfram Language. (1988). FormatType. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FormatType.html

Wolfram Language. (1988). FormatType. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FormatType.html

BibTeX

@misc{reference.wolfram_2025_formattype, author="Wolfram Research", title="{FormatType}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/FormatType.html}", note=[Accessed: 19-June-2025 ]}

@misc{reference.wolfram_2025_formattype, author="Wolfram Research", title="{FormatType}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/FormatType.html}", note=[Accessed: 19-June-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_formattype, organization={Wolfram Research}, title={FormatType}, year={1996}, url={https://reference.wolfram.com/language/ref/FormatType.html}, note=[Accessed: 19-June-2025 ]}

@online{reference.wolfram_2025_formattype, organization={Wolfram Research}, title={FormatType}, year={1996}, url={https://reference.wolfram.com/language/ref/FormatType.html}, note=[Accessed: 19-June-2025 ]}