Go to the first, previous, next, last section, table of contents.

Inserting Font Specifiers

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.

C-c C-f C-r
Insert roman {\rm -!-} text.
C-c C-f C-b
Insert bold face `{\bf -!-}' text.
C-c C-f C-i
Insert italics `{\it -!-\/}' text.
C-c C-f C-e
Insert emphasized `{\em -!-\/}' text.
C-c C-f C-s
Insert slanted `{\sl -!-\/}' text.
C-c C-f C-t
Insert typewriter `{\tt -!-}' text.
C-c C-f C-c
Insert SMALL CAPS `{\sc -!-}' text.

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.

Go to the first, previous, next, last section, table of contents.