|
InterpretationBoxOptions {...}
InterpretationBox objects provide a way to store hidden information in Mathematica output. Mathematica provides the following options for controlling the selection and editing of InterpretationBox objects.
interpretation
interpretation is an option for cells that determines how the contents of an interpretation box are to be interpreted.
Mathematica adds an interpretation box around any expression that is to be displayed in a form different from the form in which it is to be interpreted. InterpretationBox[boxes, interpretation] displays as boxes but is interpreted on input as interpretation.
interpretation appears grayed-out in the Option Inspector, except when an interpretation box is selected.
TagStyle
TagStyle is an option for cells that determines the style used to display the contents of an interpretation box.
TagStyle can be set to any cell style defined in the style sheet of the notebook, for example "Title", "Section", "Input" or "Text". The contents of the interpretation box are then displayed in that cell style. With the default setting TagStyle None, the expression inside the interpretation box inherits the style of the cell in which it occurs.
Editable
Editable is an option for cells that determines if an expression inside an interpretation box can be interactively edited in the front end.
The expression inside an interpretation box can be edited if Editable True, but not if Editable False.
With the setting Editable Automatic, an interpretation box inherits the Editable setting of the cell in which it occurs, that is the box will be editable only if it occurs in an editable cell.
Selectable
Selectable is an option for cells that determines if an expression inside an interpretation box can be selected.
The default setting is Selectable Automatic.
AutoDelete
AutoDelete is an option for cells that determines if an interpretation box is automatically deleted when the expression inside it is edited.
The default setting is AutoDelete False.
DeletionWarning
DeletionWarning is an option for cells that determines if a warning is given when an expression inside an interpretation box is edited.
With the setting DeletionWarning True, the first time you try to edit an expression inside an Interpretation Box a dialog box appears to warn you that the meaning of the expression being edited may be altered.
The default setting is DeletionWarning False.
SyntaxForm
SyntaxForm is an option for cells that specifies the precedence level of the expression inside an interpretation box when considered as an operator.
SyntaxForm is specified as a string containing an operator whose precedence level is the same as that of the expression inside the interpretation box. 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, Mathematica automatically assigns a precedence determined by the contents of the interpretation box.
See also: InterpretationBox.
|