TeX is written by a mathematician, and has always contained good support for formatting mathematical text. AUCTeX supports this tradition, by offering a special minor mode for entering text with many mathematical symbols. You can enter this mode by typing C-c ~.
(C-c ~) Toggle LaTeX-math-mode. This is a minor mode rebinding the key
LaTeX-math-abbrev-prefixto allow easy typing of mathematical symbols. ` will read a character from the keyboard, and insert the symbol as specified inLaTeX-math-list. If given a prefix argument, the symbol will be surrounded by dollar signs.
You can use another prefix key (instead of `) by setting the
variable LaTeX-math-abbrev-prefix.
To enable LaTeX-math-mode by default, add the following in your .emacs file:
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
A string containing the prefix of
LaTeX-math-modecommands; This value defaults to `.
The variable LaTeX-math-list holds the actual mapping.
A list containing key command mappings to use in
LaTeX-math-mode. The car of each element is the key and the cdr is the macro name.
Whether the LaTeX menu should try using Unicode for effect. Your Emacs built must be able to display include Unicode characters in menus for this feature.
AUCTeX's reference card tex-ref.tex includes a list of all math mode commands.