Most(?) programming languages permit to use Unicode in comments, strings and, partially, variable names. It is handy to be able to write comments like
# DETERMINATION OF CONSTANTS OF INTEGRATION, substituting Λᵢ in M(L)=0
etc, and it's very handy (at least for me) to use TeX input method for that.
In the above example I had to type …\Lambda_i…
and that's fine, but when I type regular program text, like n_intervals
what I get is nᵢntervals
...
It is perfectly possible for me to type n^Q_intervals
and get n_intervals
(typing n_<space><backspace>intervals
works too)
but I'd like to either
- reverse the behaviour, i.e., typing
\Lambda^Q_i
to haveΛᵢ
andn_intervals
to getn_intervals
or - typing
n__intervals
(have you seen_
and_
?) to getn_intervals
.
BTW I'm not restricting your answers to the alternatives above.