Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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[△ θ_ ⟸ △[θ_]]

This tells Mathematica 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 Mathematica inserts parentheses instead of following the rule.

How can I make the rule apply to TraditionalForm?

share|improve this question

This seems to work

Format[△[θ_], TraditionalForm] := HoldForm[△ θ]
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.