* Stefan Schmitt (2006-02-02) writes:

> what's the proper way to change the key bindings in math mode?
>
> I want \not on `!, \frac on `/ and \infty on `8.

You could use something like this:

(eval-after-load "latex"
  '(progn
     (define-key LaTeX-math-keymap "!" 'LaTeX-math-not)
     (define-key LaTeX-math-keymap "/" 'LaTeX-math-frac)
     (define-key LaTeX-math-keymap "8" 'LaTeX-math-infty)))

Note that this means fiddling with internalities of AUCTeX and is not
guaranteed to work forever.  Unfortunately there is no better
interface for changing these bindings at the moment.

-- 
Ralf


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to