StandardForm
of E
is \[ExponentialE]
, can we modify it to something else?
I thought I could use MakeBoxes
and InterpretationBox
like the following:
MakeBoxes[E, StandardForm] :=
InterpretationBox[StyleBox[ "ℰ", FontColor -> #], E] &@Orange
But as we can see, it doesn't work as expected. The method does work for simpler case, though:
MakeBoxes[a, StandardForm] :=
InterpretationBox[StyleBox[ "α", FontColor -> #], a] &@Orange
What's wrong with my attempt? What's the correct way to modify StandardForm
of E
?