On Fri, 2006-02-03 at 10:44 +0100, Ralf Angeli wrote:
> > 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.

It does not work as it should. If I type 8 it expands to \infty, but it
should expand only for `8, same for the other keys. (note the ` )

I use version 11.55, btw.


Stefan



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

Reply via email to