My keyboard setup allows me to type some unicode characters directly (e.g. the greek letters). I would like to use this when writing in TeXmacs.
However, when I input the character α
in math mode it gets input as a straight letter instead of the “italic” math mode alpha. Here is the comparison (the former is the unicode character input from the keyboard):
Here is the relevant content of the tm file:
<\body>
<\equation*>
\<#3B1\>\<alpha\>
</equation*>
</body>
I would like to change this so that the key inputs the <alpha>
command. I cannot figure out what I should pass to kbd-map
.
Here are things that DO NOT work:
(kbd-map ("<#3B1>" "<alpha>"))
(kbd-map ("<#03B1>" "<alpha>"))
(kbd-map ("α" "<alpha>"))
Help?!