|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
InterpretationBox
InterpretationBox[boxes, expr]
is a low-level box construct that displays as boxes but is interpreted on input as expr.
DetailsDetails
- InterpretationBox is used in the low-level representation of Interpretation. Except for low-level notebook expression manipulation, InterpretationBox should not need to be used directly.
- InterpretationBox provides a way to store hidden information in Mathematica output.
- InterpretationBox is generated sometimes in StandardForm output, and often in TraditionalForm output.
- The following options can be given:
-
AutoDelete False whether to strip the InterpretationBox if boxes is modified DeletionWarning False whether to issue a warning if boxes is deleted Editable False whether to allow boxes to be edited Selectable Automatic whether to allow boxes to be selected - If you modify the displayed form of InterpretationBox[boxes, expr] only boxes will be modified, and there is no guarantee that correct correspondence with expr will be maintained.
- InterpretationBox has attribute HoldComplete.
ExamplesExamplesopen allclose all
Basic Examples (3)Basic Examples (3)
Make a formatting structure whose interpretation is not based on its appearance:
| In[1]:= |
Out[1]//DisplayForm= | |
An InterpretationBox is interpreted as the expression in its second argument:
| In[2]:= |
| Out[2]= |
Copying the interpretation box and using it as input also evaluates the hidden interpretation:
| In[3]:= |
| Out[3]= |
InterpretationBox is used in the standard formatting of Interpretation objects:
| In[1]:= |
Out[1]//FullForm= | |
The first argument of the InterpretationBox gives its visible format:
| In[2]:= |
| Out[2]= |
The TraditionalForm formatting for many built-in functions uses InterpretationBox:
| In[1]:= |
| Out[1]= | ![]() |
In the typeset result, the letter
stands for EllipticNomeQ:
| In[2]:= |
Out[2]//TraditionalForm= | |
The InterpretationBox allows this form to be used as input without losing its meaning:
| In[3]:= |
| Out[3]= |
New in 3
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

