Find documentation C-c ? Variables Conventions Used Math Mode C-c ~ Reset Buffer C-c C-n All math mode commands are under the prefix key specified Reset AUCTEX C-u C-c C-n by LaTeX-math-abbrev-prefix, default is . Carriage Return or C-m RET Tabular or C-i TAB You can define your own math mode commands by setting the Linefeed or C-j LFD Multifile Handling variable LaTeX-math-list before loading LaTeX-math-mode. Save Document C-c C-d Shell Interaction Switch to master file or active buffer C-c ^ Greek Letters Query for a master file C-c (\alpha) a (\upsilon) u Run a command on the master file C-c C-c (\beta) b (\phi) f Run a command on the buffer C-c C-b Command Insertion (\gamma) g (\chi) q Run a command on the region C-c C-r (\delta) d (\psi) y Insert Section C-c C-s Fix the region C-c C-t C-r (\epsilon) e (\omega) w Insert LaTEX environment C-c C-e Kill job C-c C-k (\zeta) z (\Delta) D Insert item C-c LFD Recenter output buffer C-c C-l (\eta) h (\Gamma) G Insert item (alias) M-RET Next error in TEX/LaTEX session C-c (\theta) j (\Theta) J Close LaTEX environment C-c ] Previous error in TEX/LaTEX session M-g p (\kappa) k (\Lambda) L Insert TEX macro {} C-c C-m Toggle debug of bad boxes C-c C-t C-b (\lambda) l (\Xi) X Insert double brace C-c { Toggle debug of warnings C-c C-t C-w (\mu) m (\Pi) P Complete TEX macro M-TAB View output file C-c C-v (\nu) n (\Sigma) S Smart quote " Compile all and view output file C-c C-a (\xi) x (\Upsilon) U Smart dollar $ Commands you can run on the master file (with C-c C-c) or the (\pi) p (\Phi) F region (with C-c C-r) include the following (starred versions Font Selection (\rho) r (\Psi) Y are not available in all modes): (\sigma) s (\Omega) W Insert bold text C-c C-f C-b (\tau) t TEX *TeX Insert italics text C-c C-f C-i LaTEX *LaTeX Insert roman text C-c C-f C-r Symbols ConTEXt (once) *ConTeXt Insert emphasized text C-c C-f C-e ConTEXt Full *ConTeXt Full Insert typewriter text C-c C-f C-t (\rightarrow) C-f (\subseteq) [ Makeinfo *Makeinfo Insert slanted text C-c C-f C-s (\leftarrow) C-b (\supseteq) ] Makeinfo with HTML output *Makeinfo HTML Insert Small Caps text C-c C-f C-c (\uparrow) C-p (\emptyset) 0 Appropriate previewer View Delete font C-c C-f C-d (\downarrow) C-n \ (\setminus) \ Print the output Print Replace font C-u C-c C-f hkeyi (\leq) < (\cup) + BibTEX BibTeX Biber Biber (\geq) > (\cap) - MakeIndex Index Source Formatting x (\tilde) ~ h (\langle) ( LaCheck Check x (\hat) ^ i (\rangle) ) Make (PostScript) File File Indent current line TAB (\nabla) N exp (\exp) C-e Ispell Spell Indent next line LFD (\infty) I sin (\sin) C-s Delete intermediate files Clean Format a paragraph M-q (\forall) A cos (\cos) C-c Delete all output files Clean All Format a region C-c C-q C-r (\exists) E sup (\sup) C-^ Format a section C-c C-q C-s 6 (\not) / inf (\inf) C-_ Format an environment C-c C-q C-e (\in) i det (\det) C-d TEXing options Mark an environment C-c . (\times) * lim (\lim) C-l (\cdot) . tan (\tan) C-t Mark a section C-c * TEX runs can come in various types, which may be toggled and : (\colon) : (\vee) | Comment or uncomment region C-c ; (\subset) { (\wedge) & are indicated in the mode line. Comment or uncomment paragraph C-c % (\supset) } PDF/DVI mode C-c C-t C-p Copyright
c 1987, 1992-1994, 2004-2006, 2008, 2010, Stop on errors (Interactive mode) C-c C-t C-i 2012, 2014, 2015 Free Software Foundation, Inc. I/O correlation (S. Specials, SyncTEX) C-c C-t C-s for AUCTEX version 11.89 Miscellaneous Permission is granted to make and distribute copies of this card pro- vided the copyright notice and this permission notice are preserved on cal letters c hletteri all copies. preview-latex Customization from LaTEX RefTeX Customization is done in the document preamble (you need to Activation Activation load preview.sty explicitly) or in prauctex.cfg (which should RefTeX is part of [X]Emacs. To activate and make it interact load the system prauctex.cfg first). Commands: Preview macro \PreviewMacro[{hargsi}]{hmacroi} with AUCTeX, insert the following lines in .emacs. preview-latex is part of AUCTEX. If it is active, you should Preview env \PreviewEnvironment[{hargsi}]{henvi} (add-hook LaTeX-mode-hook turn-on-reftex) see an entry Preview in the menu bar when editing LaTEX Skip macro \PreviewMacro*[{hargsi}]{hmacroi} (setq reftex-plug-into-auctex t) files. If you have a LaTeX, but no Preview menu, add the Skip env \PreviewEnvironment*[{hargsi}]{henvi} following to your .emacs file: Table of Contents Diverting material from float environments Snarf stuff \PreviewSnarfEnvironment[{hargsi}]{henvi} The table of contents is a structured view of the entire doc- (load "preview-latex.el" nil t t) ument. It contains the sections, and optionally labels, index Values to be used within hargsi: entries, and file boundaries. Optional argument [] Usage and keybindings Mandatory argument {} Show the table of contents1 C-c = Optional star * Recenter *toc* buffer to here1 C-c - preview-latex operation only affects the display of the buffer, Conditionals ?htokeni{hif foundi}{hif not foundi} not its contents. It runs only on demand, using the target Skip next token - Crossreferences, Citations, Index dvi or PDF files in the process. The first command in the Transformation #{hmacro argsi}{hreplacementi} Insert unique label1 C-c ( following list (also on the toolbar button) will (as applicable) Reference a label1 C-c ) More options and explanations can be found in preview.dvi or repreview an active region or a single modified preview, toggle Insert citation with key selection C-c [ the Texinfo manual. the visibility of an unmodified preview or generate previews for . . . prompt for optional arguments C-u C-c [ a surrounding buffer area up to the next preview. Index word at point with default macro C-c / Preview at point C-c C-p C-p Folding Source Display Insert an index entry C-c < Preview environment C-c C-p C-e Add word to index phrases C-c \ Preview region C-c C-p C-r Toggle folding mode C-c C-o C-f Visit index phrases buffer C-c | Preview buffer C-c C-p C-b Hide all items in buffer C-c C-o C-b Compile and display index C-c > Preview document C-c C-p C-d Hide all items in region C-c C-o C-r View cross reference1 C-c & Remove previews at point C-c C-p C-c C-p Hide all items in paragraph C-c C-o C-p View cross reference with mouse S-mouse-2 Remove previews from region C-c C-p C-c C-r Hide current macro C-c C-o C-m View cross reference from BibTeX file C-c & Remove previews from buffer C-c C-p C-c C-b Hide current environment C-c C-o C-e Remove previews from document C-c C-p C-c C-d Show all items in buffer C-c C-o b Standard keys in special buffers Cache preamble C-c C-p C-f Show all items in region C-c C-o r RefTeXs special buffers have many active keys. The common Switch off preamble cache C-c C-p C-c C-f Show all items in paragraph C-c C-o p ones are: Read Texinfo manual C-c C-p TAB Show current item C-c C-o i Hide or show current item C-c C-o C-o Display summary of active keys ? Copy region as MML C-c C-p C-w Select this item RET The last keysequence will copy a region with previews into the Rescan the document r kill buffer in a form fit for sending in Emacs message-mode. Outlining TEX Documents Display location in other window SPC Follow mode f AUCTEX supports outline mode by defining section, subsec- Customization within Emacs tion, etc. as heading levels. You can use M-x outline-minor- Multifile actions mode RET to toggle outline minor mode. All outline minor mode Since RefTeX scans the entire (multifile) document, it can pro- You can use M-x customize-variable RET or the Preview/ commands are under the prefix key specified by outline-minor- vide commands that act on all files of a document. Check the Customize menu for customization. Worthwhile settings: mode-prefix, default is C-c @. Ref->Global Actions menu for these commands. Hide all of buffer except headings C-c @ C-t If you have dvipng available: Show all text in buffer C-c @ C-a Variables Set to dvipng preview-image-type Hide body following this heading C-c @ C-c To tell reftex about your own macro definitions, customize the Show body following this heading C-c @ C-e variables Keep counter values when regenerating single previews: Hide subtree C-c @ C-d Set to t preview-preserve-counters reftex-label-alist Show subtree C-c @ C-s Cache/Dont cache preamble without query (preamble caching All subheadings visible C-c @ C-k reftex-section-levels is done using mylatex.ltx and might not always work. Use the reftex-index-macros next visible heading C-c @ C-n reftex-cite-format appropriate key sequences for overriding the following setting): previous visible heading C-c @ C-p Set to t/nil preview-auto-cache-preamble forward to next subheading C-c @ C-f 1 An argument of C-u triggers a document scan first. This backward to next subheading C-c @ C-b can be necessary if file content and RefTeXs knowledge are no up one heading level C-c @ C-u longer consistent.