Using AUCTeX with LaTeX-math-mode enabled, if I type (say) ` a inside a mathematical environment, it inserts \alpha
, as I want. But if I do it outside a mathematical environment, it inserts \alpha{}
.
A minor point of curiosity is why it does this? I can't imagine why I would want this.
But my main question:
I would much prefer it to insert $\alpha$
, or \(\alpha\)
if you prefer.
Is there an easy way to make it do this? Preferably one that doesn't involve going through all the Greek letters one by one. Or is there some reason why I shouldn't really want this?
I know that C-u ` a will do what I want, but I wondered whether there is some way of dispensing with the C-u since I have no use for the default behaviour of ` a.