5

I really like the TeX input method. It makes typing symbols a breeze, since years of LaTeX have worked the symbols into my muscle memory.

However, input methods have their quirks (like not working with key-chords), and I'd rather not leave it on all the time.

I also like the iso-transl C-x 8 map. It's handy because it's always there and very unintrusive. However, it has a rather small vocabulary of symbols, and I can never remember their keys.

Is there any way I can either

  • bind a command to C-x 8 \ that will prompt for a name from the TeX input method and insert it, even if the TeX input method is not active
  • Temporarily enable the TeX IM for one character only.
PythonNut
  • 10,243
  • 2
  • 29
  • 75

1 Answers1

2

If I need to enter a symbol I use C-\ then enter TeX as input mode. After that I can use C-\ to toggle between regular input and "TeX-style" input.

ph0t0nix
  • 1,119
  • 13
  • 28
  • That's what I'm using right now. I'd rather not have to remember to toggle back, because I'm terribly lazy. – PythonNut Oct 13 '15 at 21:51
  • Ah. That lazy huh ;-). Then I don't think I can help you... – ph0t0nix Oct 13 '15 at 21:52
  • It's partly saving the physical effort, and partly the mental overhead of tracking yet another fragment of state about my current environment. When I toggle input methods, I usually set it and forget. – PythonNut Oct 14 '15 at 04:07
  • I'm using Smart-mode-line (https://github.com/Bruce-Connor/smart-mode-line) and then the TeX input mode shows up as a `\\`. – ph0t0nix Oct 14 '15 at 19:53