StandardForm[expr]
prints as the standard Wolfram Language two-dimensional representation ofexpr.


StandardForm
StandardForm[expr]
prints as the standard Wolfram Language two-dimensional representation ofexpr.
Details

- StandardForm generates output that gives a unique and unambiguous representation of Wolfram Language expressions, suitable for use as input.»
- StandardForm incorporates many aspects of traditional mathematical notation.
- StandardForm is the standard format type used for both input and output of Wolfram Language expressions in notebooks.
- Graphics andGraphics3D are displayed graphically inStandardForm.
- StandardForm can be edited in the notebook front end.
- StandardForm uses special characters as well as ordinary keyboard characters.
- StandardForm is based on boxes.
- The notebook front end contains menu items for conversion to and fromStandardForm.
- When an input evaluates toStandardForm[expr],StandardForm does not appear in the output.»
Examples
open allclose allBasic Examples (2)
Scope (7)
Basic Objects (2)
Special Input Forms (3)
Properties & Relations (5)
When an input evaluates toStandardForm[expr],StandardForm does not appear in the output:
Out is assigned the valuex2, notStandardForm[x^2]:
StandardForm is two-dimensional unambiguous formatting:
OutputForm approximatesStandardForm using keyboard characters:
TraditionalForm is two-dimensional, but ambiguous formatting:
InputForm andFullForm provide one-dimensional formatting:
UseToString to generate a string inStandardForm:
The string includes two-dimensional markup:
UseToExpression to convert back:
UseToBoxes to get the box representation of an expression inStandardForm:
UseToExpression to convert back:
Add formatting viaFormat:
Possible Issues (1)
Even when an output omitsStandardForm from the top level, it is not stripped from subexpressions:
The output does not haveStandardForm in it:
However, the variablee does haveStandardForm in it, which may affect subsequent evaluations:
The product is not evaluated due to the interveningStandardForm:
Assign variables first and then applyStandardForm to the result to maintain computability:
Related Links
History
Introduced in 1996(3.0) |Updated in 2007(6.0)
Text
Wolfram Research (1996), StandardForm, Wolfram Language function, https://reference.wolfram.com/language/ref/StandardForm.html (updated 2007).
CMS
Wolfram Language. 1996. "StandardForm." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/StandardForm.html.
APA
Wolfram Language. (1996). StandardForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StandardForm.html
BibTeX
@misc{reference.wolfram_2025_standardform, author="Wolfram Research", title="{StandardForm}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/StandardForm.html}", note=[Accessed: 29-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_standardform, organization={Wolfram Research}, title={StandardForm}, year={2007}, url={https://reference.wolfram.com/language/ref/StandardForm.html}, note=[Accessed: 29-November-2025]}
[8]ページ先頭