FormatType
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:
-
Automatic inherit from surrounding constructs InputForm one-dimensional form suitable for direct keyboard input OutputForm character‐based two-dimensional form StandardForm standard two-dimensional form TraditionalForm form approximating traditional mathematical notation - SetOptions[stream,FormatType->type] resets the format type for an open stream.
- For graphics functions, box‐based format types such as StandardForm and TraditionalForm can be used only when a notebook front end is present.
Examples
open allclose allBasic Examples (3)
By default, expressions are displayed using TraditionalForm in graphics:
Display expressions using StandardForm:
Labels are also affected by the FormatType setting:
Text
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.
APA
Wolfram Language. (1988). FormatType. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FormatType.html