ToBoxes
ToBoxes[expr]
generates boxes corresponding to the printed form of expr in StandardForm.
ToBoxes[expr,form]
gives the boxes corresponding to output in the specified form.
Examples
open allclose allBasic Examples (3)
Box representation of a polynomial:
Box representation of a graphic:
A special function in StandardForm and TraditionalForm:
Scope (8)
Basic Objects (2)
Special Input Forms (4)
Box representations for various Power expressions:
Properties & Relations (5)
ToBoxes evaluates expr, while MakeBoxes does not:
Use ToExpression to interpret boxes:
Use DisplayForm to see how the boxes display:
Use formatting rules added through Format:
Use formatting rules added through MakeBoxes:
Text
Wolfram Research (1996), ToBoxes, Wolfram Language function, https://reference.wolfram.com/language/ref/ToBoxes.html.
CMS
Wolfram Language. 1996. "ToBoxes." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ToBoxes.html.
APA
Wolfram Language. (1996). ToBoxes. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ToBoxes.html