This documents AUCTeX and RefTeX.
C-c C-e
: Add an environment, such as verbatim
, itemize
, etc.C-c C-s
: Add sectioning, such as section
, subsection
, etc.C-c C-r
: Partial compiling on region.C-c C-v
: View document.C-c RET
: Add command.C-c ;
: Toggle comments for region.C-c C-f C-i
: Add textit
.C-c C-f C-b
: Add textbf
.C-c C-f C-e
: Add emph
.M-q
: Fill and indent paragraph.C-c C-q C-r
: Fill and indent region.C-c C-q C-s
: Fill and indent section.C-c ~
: Enter math mode. In math mode, you can enter symbols more
efficiently by using the ````` prefix. For example, \alpha
becomes ```a``.C-c =
: (reftex-toc
) Displays the contents for the current
document.C-c (
: Inserts a label.C-c )
: Adds a reference to a label.C-c C-p C-p
: Preview at point.C-c C-p C-c C-p
: Cancel preview at point.C-c C-p C-r
: Preview region.C-c C-p C-c C-r
: Cancel preview region.C-c C-p C-b
: Preview buffer.C-c C-p C-c C-b
: Cancel preview buffer.C-c C-c
: Compile document, or if document is already compiled,
open the result.C-c C-a
: Compile the document until all references are resolved
(or an error occurs), and show the result.The engine can be selected by using variables:
%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-engine: xetex
%%% End: