The Cell expression for:
<>
is
Cell[BoxData["<>"], "Input"]
However similar expressions are parsed into RowBox(s), for example:
><
Cell[BoxData[RowBox[{">", "<"}]], "Input"]
How do I get expressions like >< to act like <> does?
|
The Cell expression for:
is
However similar expressions are parsed into RowBox(s), for example:
How do I get expressions like >< to act like <> does? |
|||
|
Are you interested only in the case of "less than" and "greater than" symbols? Might other variations serve the purpose? The following parentheses are represented like "<>" (they are represented without using
|
|||
|
|
|
Michael Pilat has stated that you cannot create your own compound operators. You may find some utility in these posts: Prefix operator with low precedence How can one define an infix operator with an arbitrary unicode character? |
|||||
|
|
InterpretationBoxandMakeBoxes– rm -rf♦ Aug 23 '12 at 23:37