I know that I can use the Notation
package to define my own custom notation. This works great for StandardForm
output, but I would like the notation to apply when I convert it to TraditionalForm`. For example:
Notation[\[EmptyUpTriangle]Notation[△ \[Theta]_θ_ \[DoubleLongLeftArrow]⟸ \[EmptyUpTriangle][\[Theta]_]]△[θ_]]
This tells mathematicaMathematica that if it finds a laplacian operator, mathematica should display it without the brackets. This works fine in StandardForm
. However, if I use TraditionalForm
, then mathematicaMathematica inserts parentheses instead of following the rule.
How can I make the rule apply to TraditionalForm
?