InterpretationBox

InterpretationBox[boxes,expr]

is a low-level box construct that displays as boxes but is interpreted on input as expr.

Details

Examples

open allclose all

Basic Examples  (3)

Make a formatting structure whose interpretation is not based on its appearance:

An InterpretationBox is interpreted as the expression in its second argument:

Copying the interpretation box and using it as input also evaluates the hidden interpretation:

InterpretationBox is used in the standard formatting of Interpretation objects:

The first argument of the InterpretationBox gives its visible format:

The TraditionalForm formatting for some built-in symbols uses InterpretationBox:

In the typeset result, this expression displays as a long dash:

The InterpretationBox allows this form to be used as input without losing its meaning:

Properties & Relations  (1)

TextClipboardType affects how InterpretationBox is written to the system textual clipboard:

"PlainText" will cause the first argument to be copied to the clipboard:

Here is the pasted form:

plain text

Any other value will cause the input form of the second argument to be copied to the clipboard:

Here is the pasted form:

"input text"
Wolfram Research (1996), InterpretationBox, Wolfram Language function, https://reference.wolfram.com/language/ref/InterpretationBox.html (updated 2020).

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_interpretationbox, author="Wolfram Research", title="{InterpretationBox}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/InterpretationBox.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_interpretationbox, organization={Wolfram Research}, title={InterpretationBox}, year={2020}, url={https://reference.wolfram.com/language/ref/InterpretationBox.html}, note=[Accessed: 21-December-2024 ]}