DisplayForm
✖
DisplayForm
prints with low-level boxes inside expr shown in explicit two-dimensional or other form.
Details

- In ordinary StandardForm output, boxes such as SubscriptBox are shown literally. In DisplayForm they are shown as explicit two-dimensional constructs.
- When an input evaluates to DisplayForm[expr], DisplayForm does not appear in the output. »
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (5)Survey of the scope of standard use cases
Formatting for a row of elements:

https://wolfram.com/xid/0j435imy-clgisg


https://wolfram.com/xid/0j435imy-f57bx2

A subscript and superscript as nested boxes:

https://wolfram.com/xid/0j435imy-nvsbe

A subscript and superscript in a single box:

https://wolfram.com/xid/0j435imy-ejvsin

Vector notation from an OverscriptBox:

https://wolfram.com/xid/0j435imy-4r9iu

Symbolic sum displayed using an UnderoverscriptBox:

https://wolfram.com/xid/0j435imy-ebho7j

Display a GridBox:

https://wolfram.com/xid/0j435imy-fwjskh

https://wolfram.com/xid/0j435imy-q5yto

Display with row and column lines:

https://wolfram.com/xid/0j435imy-ceoasw


https://wolfram.com/xid/0j435imy-kf9s2o


https://wolfram.com/xid/0j435imy-djyti0

Display using Title cell style:

https://wolfram.com/xid/0j435imy-mkh8yb

Properties & Relations (3)Properties of the function, and connections to other functions

https://wolfram.com/xid/0j435imy-3uoo


https://wolfram.com/xid/0j435imy-czwypa


https://wolfram.com/xid/0j435imy-iyxzf

Display an InterpretationBox:

https://wolfram.com/xid/0j435imy-b4ov11

The box is interpreted as the second argument:

https://wolfram.com/xid/0j435imy-j6ylmq

When an input evaluates to DisplayForm[expr], DisplayForm does not appear in the output:

https://wolfram.com/xid/0j435imy-4kws7n

Out is assigned the value RowBox[{"2","+","2"}], not DisplayForm[RowBox[{"2","+","2"}]]:

https://wolfram.com/xid/0j435imy-0x4hkl

Possible Issues (1)Common pitfalls and unexpected behavior
Even when an output omits DisplayForm from the top level, it is not stripped from subexpressions:

https://wolfram.com/xid/0j435imy-jag3z5

The output does not have DisplayForm in it:

https://wolfram.com/xid/0j435imy-27k1mk

However, the variable e does have DisplayForm in it, which may affect subsequent evaluations:

https://wolfram.com/xid/0j435imy-owp0j6

The MakeExpression gives an error due to the intervening DisplayForm:

https://wolfram.com/xid/0j435imy-imazf2

Assign variables first and then apply DisplayForm to the result to maintain computability:

https://wolfram.com/xid/0j435imy-hhu0sx


https://wolfram.com/xid/0j435imy-8946qd

Wolfram Research (1996), DisplayForm, Wolfram Language function, https://reference.wolfram.com/language/ref/DisplayForm.html.
Text
Wolfram Research (1996), DisplayForm, Wolfram Language function, https://reference.wolfram.com/language/ref/DisplayForm.html.
Wolfram Research (1996), DisplayForm, Wolfram Language function, https://reference.wolfram.com/language/ref/DisplayForm.html.
CMS
Wolfram Language. 1996. "DisplayForm." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DisplayForm.html.
Wolfram Language. 1996. "DisplayForm." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DisplayForm.html.
APA
Wolfram Language. (1996). DisplayForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DisplayForm.html
Wolfram Language. (1996). DisplayForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DisplayForm.html
BibTeX
@misc{reference.wolfram_2025_displayform, author="Wolfram Research", title="{DisplayForm}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/DisplayForm.html}", note=[Accessed: 08-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_displayform, organization={Wolfram Research}, title={DisplayForm}, year={1996}, url={https://reference.wolfram.com/language/ref/DisplayForm.html}, note=[Accessed: 08-March-2025
]}