On Thu, Apr 27 2006, Ryan Krauss wrote:
> I would like to create Latex keybindings for math symbols (or find out
> what they are if they already exist). For example, in Vim I used to
> have mappings for `t -> \tau so that typing ` and then a english
> character would insert the Latex math code for the corresponding greek
> symbol (`a would insert \alpha and `b would insert \beta ...).
In case you use AUCTeX:
,----[ (info "(auctex)Mathematics") ]
| 5.1 Entering Mathematics
| ========================
|
| 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 ~'.
|
| -- Command: LaTeX-math-mode
| (`C-c ~') Toggle LaTeX-math-mode. This is a minor mode rebinding
| the key `LaTeX-math-abbrev-prefix' to allow easy typing of
| mathematical symbols. ``' will read a character from the keyboard,
| and insert the symbol as specified in `LaTeX-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)
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs