|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
SyntaxForm
This function has not been fully integrated into the long-term Mathematica system, and is subject to change.
SyntaxForm
is an option for InterpretationBox and TagBox objects that specifies the precedence level to use when the InterpretationBox or TagBox is considered as an operator.
DetailsDetails
- InterpretationBox and TagBox objects provide a way to store hidden information in Mathematica 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
and
, respectively. - With the default setting SyntaxForm->Automatic, Mathematica 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
option for cells. It specifies the default setting of SyntaxForm for any InterpretationBox or TagBox object in the cell.
New in 3.0
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
