Since I’m using TeXmacs and Mathematica recently and they have different shortcuts for super and subscripts. For convenience, I would like to change the shortcuts for subscript and superscript in TeXmacs. I find math-kbd.scm
and the following lines seem to be relevant:
("_" (make-script #f #t))
("_ var" "_")
("^" (make-script #t #t))
("^ var" "^")
However, I’m not sure how I can modify to change the shortcut for subscript from _
to Ctrl+-
, and that for superscript from ^
to Ctrl+6
, i.e. changing the first key from Shift to Ctrl.