* Ryan Krauss (2006-05-15) writes: > This may seem like a strange request, but I want to have access to the > AUCTex math short-cut keys (`b => \beta) while writing Python code. I > use a Python package called Matplotlib to generate 2D plots and it > allows me to use Latex in my axis labels. I am in the habit of typing > `b and `j and have to slow down and back up and manually type out the > symbols. > > Is there a way to do this either automatically when I open a python > file, or to just turn it on when I need it?
If you put (autoload 'LaTeX-math-mode "latex") into your init file, you can toggle the mode with `M-x LaTeX-math-mode RET'. If you want to have it enabled automatically, you can add (LaTeX-math-mode 1) to the mode hook of your Python mode. -- Ralf _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
