Perhaps the most used keyboard commands of AUC TeX are the short-cuts
available for easy insertion of font changing macro. They all put the
font change inside a TeX group, a practice that help preventing
subtle errors. The most significant advantage of using these command
instead of typing it in yourself, is that the braces will always match
correctly. If you give an argument (that is, type C-u) to the
font command, the current region will be put inside the group, and point
will be left unchanged. This is quite useful when you later discover
that some phrase should be emphasised. The following table shows the
available commands, with -!-
indicating the position where
the position where the text will be inserted.
Command: TeX-font arg
(C-c C-f) Read one character from the minibuffer, and insert a
TeX font macro as specified in the variable TeX-font-list
.
With prefix argument, make the font change valid for the current region.
User Option: TeX-font-list
A list of available font commands, each entry in the list is itself a list. The first element of each entry is the key to active the font. The second element is the string to insert before point, and the third element is the string to insert after point.