- InterpretationBox and TagBox objects provide a way to store hidden information in Wolfram Language output. They are used for expressions that are to be displayed and interpreted in different forms. InterpretationBox[boxes,interpretation] displays as boxes but is interpreted on input as interpretation. TagBox[boxes,tag] displays as boxes but maintains tag to guide the interpretation of boxes on input.
- SyntaxForm is specified as a string containing an operator whose precedence level is the same as that of the contents of the InterpretationBox and TagBox. For example, SyntaxForm->"*". You can also distinguish the infix and prefix form of an operator, for example, by setting SyntaxForm to "a+b" and "+a", respectively.
- With the default setting SyntaxForm->Automatic, the Wolfram Language automatically assigns a precedence determined by the contents of the InterpretationBox or TagBox.
- For a selected InterpretationBox or TagBox object, SyntaxForm is set as an option for InterpretationBox or TagBox, and applies only to the selection.
- At the cell level, SyntaxForm is set as a suboption of the InterpretationBoxOptions or TagBoxOptions option for cells. It specifies the default setting of SyntaxForm for any InterpretationBox or TagBox object in the cell.
Introduced in 1996