1 |
% -*- plain-tex -*- |
% -*- plain-tex -*- |
2 |
% Reference Card for AUCTeX version 11.55 |
% Reference Card for AUCTeX version 11.80 |
3 |
%**start of header |
%**start of header |
4 |
\newcount\columnsperpage |
\newcount\columnsperpage |
5 |
|
|
11 |
% Papersize stuff. Use default paper size for PDF, but switch |
% Papersize stuff. Use default paper size for PDF, but switch |
12 |
% orientation. Use papersize special for dvips. |
% orientation. Use papersize special for dvips. |
13 |
|
|
14 |
\ifcase\ifx\pdfoutput\undefined 1 \fi |
\ifx\pdfoutput\undefined |
15 |
\ifnum\pdfoutput=0 1 \fi 2 |
\csname newcount\endcsname\pdfoutput |
16 |
\or |
\pdfoutput=0 |
17 |
|
\fi |
18 |
|
|
19 |
|
\ifnum\pdfoutput=0 |
20 |
% \special{papersize 8.5in,11in}% |
% \special{papersize 8.5in,11in}% |
21 |
\special{papersize 297mm,210mm}% |
\special{papersize 297mm,210mm}% |
22 |
\or |
\else |
23 |
\dimen0\pdfpagewidth |
\dimen0\pdfpagewidth |
24 |
\pdfpagewidth\pdfpageheight |
\pdfpagewidth\pdfpageheight |
25 |
\pdfpageheight\dimen0 |
\pdfpageheight\dimen0 |
43 |
% Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik |
% Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik |
44 |
% for creating the GNU Emacs Reference Card from which this was mutated |
% for creating the GNU Emacs Reference Card from which this was mutated |
45 |
|
|
46 |
\def\versionnumber{11.55} |
\def\versionnumber{11.80} |
47 |
\def\year{2004} |
\def\year{2005} |
48 |
\def\version{August \year\ v\versionnumber} |
\def\version{July \year\ v\versionnumber} |
49 |
|
|
50 |
\def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
\def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
51 |
\centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
\centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
53 |
|
|
54 |
\def\copyrightnotice{% |
\def\copyrightnotice{% |
55 |
\vskip 1ex plus 2 fill\begingroup\small |
\vskip 1ex plus 2 fill\begingroup\small |
56 |
\centerline{Copyright \copyright\ 1987, 1993, 2004 Free Software Foundation, Inc.} |
\centerline{Copyright \copyright\ 1987, 93, 2004, 05 Free Software |
57 |
|
Foundation, Inc.} |
58 |
\centerline{Copyright \copyright\ 1992 Kresten Krab Thorup} |
\centerline{Copyright \copyright\ 1992 Kresten Krab Thorup} |
59 |
\centerline{for AUC\TeX\ version \versionnumber} |
\centerline{for AUC\TeX\ version \versionnumber} |
60 |
|
|
176 |
|
|
177 |
\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} |
\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} |
178 |
|
|
179 |
\outer\def\newcolumn{\vfill\eject} |
\def\newcolumn{\vfill\eject} |
180 |
|
|
181 |
\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex} |
\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex} |
182 |
|
|
183 |
\outer\def\section#1{\par\vskip 0pt plus 0.2\vsize \penalty-3000 |
\def\section#1{\par\vskip 0pt plus 0.2\vsize \penalty-3000 |
184 |
\vskip 0pt plus -0.2\vsize |
\vskip 0pt plus -0.2\vsize |
185 |
\vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}% |
\vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}% |
186 |
\vskip 2ex plus 1ex minus 1.5ex} |
\vskip 2ex plus 1ex minus 1.5ex} |
328 |
\key{Comment or uncomment region}{C-c ;} |
\key{Comment or uncomment region}{C-c ;} |
329 |
\key{Comment or uncomment paragraph}{C-c \%} |
\key{Comment or uncomment paragraph}{C-c \%} |
330 |
|
|
331 |
\section{Source Display} |
\copyrightnotice |
332 |
|
|
333 |
|
\newcolumn |
334 |
|
|
335 |
|
\title{Math Mode} |
336 |
|
|
337 |
|
\section{Variables} |
338 |
|
|
339 |
|
All math mode commands are under the prefix key specified by |
340 |
|
LaTeX-math-abbrev-prefix, default is "`". |
341 |
|
|
342 |
|
You can define your own math mode commands by setting the variable |
343 |
|
LaTeX-math-list before loading LaTeX-math-mode. |
344 |
|
|
345 |
|
\section{Greek Letters} |
346 |
|
|
347 |
|
\def\disp#1{\hbox to 6ex{$#1$\hfill}} |
348 |
|
\def\twocol#1\par{{% |
349 |
|
\def\key##1##2{##1&##2\cr}% |
350 |
|
\setbox0\vbox{\halign to 0.45\hsize{\tabskip0ptplus1fil\relax |
351 |
|
##\hfil&\kbd{##}\hfil\cr\vrule width0ptheight\ht\strutbox#1}}% |
352 |
|
\line{% |
353 |
|
\splittopskip=\ht\strutbox |
354 |
|
\dimen0\ht0 |
355 |
|
\advance\dimen0\baselineskip |
356 |
|
\setbox2\vsplit0to0.5\dimen0 |
357 |
|
\vtop{\unvbox2}\hfill\raise \ht\strutbox \vtop {\unvbox0}}}} |
358 |
|
\def\keycs#1#2#{\keycsii#1{#2}} |
359 |
|
\def\keycsii#1#2#3{\key{\disp{#1#2} ({\tt\string#1})}{#3}} |
360 |
|
|
361 |
|
\twocol |
362 |
|
\keycs\alpha{a} |
363 |
|
\keycs\beta{b} |
364 |
|
\keycs\gamma{g} |
365 |
|
\keycs\delta{d} |
366 |
|
\keycs\epsilon{e} |
367 |
|
\keycs\zeta{z} |
368 |
|
\keycs\eta{h} |
369 |
|
\keycs\theta{j} |
370 |
|
\keycs\kappa{k} |
371 |
|
\keycs\lambda{l} |
372 |
|
\keycs\mu{m} |
373 |
|
\keycs\nu{n} |
374 |
|
\keycs\xi{x} |
375 |
|
\keycs\pi{p} |
376 |
|
\keycs\rho{r} |
377 |
|
\keycs\sigma{s} |
378 |
|
\keycs\tau{t} |
379 |
|
\keycs\upsilon{u} |
380 |
|
\keycs\phi{f} |
381 |
|
\keycs\chi{q} |
382 |
|
\keycs\psi{y} |
383 |
|
\keycs\omega{w} |
384 |
|
\keycs\Delta{D} |
385 |
|
\keycs\Gamma{G} |
386 |
|
\keycs\Theta{Q} |
387 |
|
\keycs\Lambda{L} |
388 |
|
\keycs\Xi{X} |
389 |
|
\keycs\Pi{P} |
390 |
|
\keycs\Sigma{S} |
391 |
|
\keycs\Upsilon{U} |
392 |
|
\keycs\Phi{F} |
393 |
|
\keycs\Psi{Y} |
394 |
|
\keycs\Omega{W} |
395 |
|
|
396 |
|
\section{Symbols} |
397 |
|
|
398 |
|
\twocol |
399 |
|
\keycs\rightarrow{C-f} |
400 |
|
\keycs\leftarrow{C-b} |
401 |
|
\keycs\uparrow{C-p} |
402 |
|
\keycs\downarrow{C-n} |
403 |
|
\keycs\leq{<} |
404 |
|
\keycs\geq{>} |
405 |
|
\keycs\tilde x{\string~} |
406 |
|
\keycs\nabla{N} |
407 |
|
\keycs\infty{I} |
408 |
|
\keycs\forall{A} |
409 |
|
\keycs\exists{E} |
410 |
|
\keycs\not \ {/} |
411 |
|
\keycs\in{i} |
412 |
|
\keycs\times{*} |
413 |
|
\keycs\cdot{.} |
414 |
|
\keycs\subset{\{} |
415 |
|
\keycs\supset{\}} |
416 |
|
\keycs\subseteq{[} |
417 |
|
\keycs\supseteq{]} |
418 |
|
\keycs\emptyset{0} |
419 |
|
\keycs\setminus{\\} |
420 |
|
\keycs\cup{+} |
421 |
|
\keycs\cap{-} |
422 |
|
\keycs\langle{(} |
423 |
|
\keycs\rangle{)} |
424 |
|
\keycs\exp{C-e} |
425 |
|
\keycs\sin{C-s} |
426 |
|
\keycs\cos{C-c} |
427 |
|
\keycs\sup{C-^} |
428 |
|
\keycs\inf{C-_} |
429 |
|
\keycs\det{C-d} |
430 |
|
\keycs\lim{C-l} |
431 |
|
\keycs\tan{C-t} |
432 |
|
\keycs\hat x{^} |
433 |
|
\keycs\vee{|} |
434 |
|
\keycs\wedge{\&} |
435 |
|
|
436 |
|
\section{Miscellaneous} |
437 |
|
|
438 |
|
\key{cal letters}{c \<letter>} |
439 |
|
|
440 |
|
\newcolumn |
441 |
|
|
442 |
|
\def\previewlatex{{preview-latex}} |
443 |
|
\title{\previewlatex} |
444 |
|
\section{Activation} |
445 |
|
\previewlatex\ is part of AUC\TeX. If it is active, you should see an |
446 |
|
entry ``Preview'' in the menu bar when editing \LaTeX{} files. If you |
447 |
|
have a ``LaTeX'', but no ``Preview'' menu, add the following to your |
448 |
|
{\tt .emacs} file: |
449 |
|
\beginexample |
450 |
|
(load "preview-latex.el" nil t t) |
451 |
|
\endexample |
452 |
|
|
453 |
|
\section{Usage and keybindings} |
454 |
|
\previewlatex\ operation only affects the display of the buffer, not |
455 |
|
its contents. It runs only on demand, using the target {\sc dvi} or |
456 |
|
{\sc PDF} files in the process. The first command in the following |
457 |
|
list (also on the toolbar button) will (as applicable) repreview an |
458 |
|
active region or a single modified preview, toggle the visibility of |
459 |
|
an unmodified preview or generate previews for a surrounding buffer |
460 |
|
area up to the next preview. |
461 |
|
|
462 |
|
\key{Preview at point}{C-c C-p C-p} |
463 |
|
\key{Preview environment}{C-c C-p C-e} |
464 |
|
\key{Preview region}{C-c C-p C-r} |
465 |
|
\key{Preview buffer}{C-c C-p C-b} |
466 |
|
\key{Preview document}{C-c C-p C-d} |
467 |
|
\key{Remove previews at point}{C-c C-p C-c C-d} |
468 |
|
\key{Remove previews from region}{C-c C-p C-c C-r} |
469 |
|
\key{Remove previews from buffer}{C-c C-p C-c C-b} |
470 |
|
\key{Remove previews from document}{C-c C-p C-c C-d} |
471 |
|
\key{Cache preamble}{C-c C-p C-f} |
472 |
|
\key{Switch off preamble cache}{C-c C-p C-c C-f} |
473 |
|
\key{Read Texinfo manual}{C-c C-p TAB} |
474 |
|
\key{Copy region as MML}{C-c C-p C-w} |
475 |
|
|
476 |
|
The last keysequence will copy a region with previews into the kill |
477 |
|
buffer in a form fit for sending in Emacs' message-mode. |
478 |
|
|
479 |
|
\section{Customization within Emacs} |
480 |
|
|
481 |
|
You can use \kbd{M-x customize-variable RET} or the ``Preview\slash |
482 |
|
Customize'' menu for customization. Worthwhile settings: |
483 |
|
|
484 |
|
\halign to \hsize{\tabskip=1ptplus1fil\relax#\hfil&\hfil\kbd{#}\tabskip0pt\cr |
485 |
|
\noalign{\medskip If you have dvipng available:} |
486 |
|
Set to \kbd{dvipng}&preview-image-type\cr |
487 |
|
\noalign{\medskip \vbox{Keep counter values when regenerating |
488 |
|
single previews:}} |
489 |
|
Set to \kbd{t}&preview-preserve-counters\cr |
490 |
|
\noalign{\medskip \vbox{Cache/Don't cache preamble without query |
491 |
|
(preamble caching is done using {\tt mylatex.ltx} and might not always |
492 |
|
work. Use the appropriate key sequences for overriding the following |
493 |
|
setting):}} |
494 |
|
Set to \kbd{t}/\kbd{nil}&preview-auto-cache-preamble\cr} |
495 |
|
|
496 |
|
\section{Customization from \LaTeX{}} |
497 |
|
Customization is done in the document preamble (you need to load {\tt |
498 |
|
preview.sty} explicitly) or in {\tt prauctex.cfg} (which should load |
499 |
|
the system {prauctex.cfg} first). Commands: |
500 |
|
|
501 |
|
\halign to \hsize{\tabskip=1ptplus1fil\relax#\hfil&\hfil\kbd{#}\tabskip0pt\cr |
502 |
|
Preview macro&\string\PreviewMacro[\{\<args>\}]\{\<macro>\}\cr |
503 |
|
Preview env&\string\PreviewEnvironment[\{\<args>\}]\{\<env>\}\cr |
504 |
|
Skip macro&\string\PreviewMacro*[\{\<args>\}]\{\<macro>\}\cr |
505 |
|
Skip env&\string\PreviewEnvironment*[\{\<args>\}]\{\<env>\}\cr |
506 |
|
\noalign{\smallskip Diverting material from float environments} |
507 |
|
Snarf stuff&\string\PreviewSnarfEnvironment[\{\<args>\}]\{\<env>\}\cr |
508 |
|
} |
509 |
|
|
510 |
|
Values to be used within \<args>: |
511 |
|
\halign to |
512 |
|
\hsize{\tabskip=1ptplus1fil\relax#\hfil&\hfil\kbd{#}\tabskip0pt\cr |
513 |
|
Optional argument&[]\cr |
514 |
|
Mandatory argument&\{\}\cr |
515 |
|
Optional star&*\cr |
516 |
|
Conditionals&?\<token>\{\<if found>\}\{\<if not found>\}\cr |
517 |
|
Skip next token&-\cr |
518 |
|
Transformation&\#\{\<macro args>\}\{\<replacement>\}\cr |
519 |
|
} |
520 |
|
|
521 |
|
More options and explanations can be found in {\tt preview.dvi} or the |
522 |
|
Texinfo manual. |
523 |
|
|
524 |
|
\vskip 5ex plus 6ex minus 1ex |
525 |
|
|
526 |
|
\title{Folding Source Display} |
527 |
|
|
528 |
\key{Toggle folding mode}{C-c C-o C-f} |
\key{Toggle folding mode}{C-c C-o C-f} |
529 |
\key{Hide all items in buffer}{C-c C-o C-b} |
\key{Hide all items in buffer}{C-c C-o C-b} |
537 |
\key{Show current item}{C-c C-o i} |
\key{Show current item}{C-c C-o i} |
538 |
\key{Hide or show current item}{C-c C-o C-o} |
\key{Hide or show current item}{C-c C-o C-o} |
539 |
|
|
|
\copyrightnotice |
|
|
\penalty-9000 |
|
|
|
|
540 |
\newcolumn |
\newcolumn |
541 |
|
|
542 |
\title{RefTeX (long)} |
\iftrue % RefTeX long version |
543 |
|
|
544 |
|
\title{RefTeX} |
545 |
|
|
546 |
\section{Activation} |
\section{Activation} |
547 |
|
|
567 |
\key{Insert unique label$\sp1$}{C-c (} |
\key{Insert unique label$\sp1$}{C-c (} |
568 |
\key{Reference a label$\sp1$}{C-c )} |
\key{Reference a label$\sp1$}{C-c )} |
569 |
\key{Insert citation with key selection}{C-c [} |
\key{Insert citation with key selection}{C-c [} |
570 |
\key{... prompt for optional arguments}{C-u C-c [} |
\key{\dots\ prompt for optional arguments}{C-u C-c [} |
571 |
\key{Index word at point with default macro}{C-c /} |
\key{Index word at point with default macro}{C-c /} |
572 |
\key{Insert an index entry}{C-c <} |
\key{Insert an index entry}{C-c <} |
573 |
\key{Add word to index phrases}{C-c \\} |
\key{Add word to index phrases}{C-c \\} |
589 |
\section{Multifile actions} |
\section{Multifile actions} |
590 |
Since RefTeX scans the entire (multifile) document, it can provide |
Since RefTeX scans the entire (multifile) document, it can provide |
591 |
commands that act on all files of a document. Check the {\tt |
commands that act on all files of a document. Check the {\tt |
592 |
Ref->Global Avtions} menu for these commands. |
Ref->Global Actions} menu for these commands. |
593 |
|
|
594 |
\section{Variables} |
\section{Variables} |
595 |
|
|
608 |
be necessary if file content and RefTeX's knowledge are no longer |
be necessary if file content and RefTeX's knowledge are no longer |
609 |
consistent. |
consistent. |
610 |
|
|
611 |
\newcolumn |
\else % RefTeX compact version |
612 |
|
|
613 |
\title{RefTeX (compact)} |
\csname title\endcsname{RefTeX} |
614 |
|
|
615 |
\section{Activation in .emacs} |
\section{Activation in .emacs} |
616 |
|
|
644 |
\vskip2mm\hrule |
\vskip2mm\hrule |
645 |
$\sp1$ An argument of \kbd{C-u} triggers a document scan first. |
$\sp1$ An argument of \kbd{C-u} triggers a document scan first. |
646 |
|
|
647 |
\newcolumn |
\fi |
|
|
|
|
\title{Math Mode} |
|
|
|
|
|
\section{Variables} |
|
|
|
|
|
All math mode commands are under the prefix key specified by |
|
|
LaTeX-math-abbrev-prefix, default is "`". |
|
|
|
|
|
You can define your own math mode commands by setting the variable |
|
|
LaTeX-math-list before loading LaTeX-math-mode. |
|
|
|
|
|
\section{Greek Letters} |
|
|
|
|
|
\def\disp#1{\hbox to 6ex{$#1$\hfill}} |
|
|
\def\twocol#1\par{{% |
|
|
\def\key##1##2{##1&##2\cr}% |
|
|
\setbox0\vbox{\halign to 0.45\hsize{\tabskip0ptplus1fil\relax |
|
|
##\hfil&\kbd{##}\hfil\cr\vrule width0ptheight\ht\strutbox#1}}% |
|
|
\line{% |
|
|
\splittopskip=\ht\strutbox |
|
|
\dimen0\ht0 |
|
|
\advance\dimen0\baselineskip |
|
|
\setbox2\vsplit0to0.5\dimen0 |
|
|
\vtop{\unvbox2}\hfill\raise \ht\strutbox \vtop {\unvbox0}}}} |
|
|
\def\keycs#1#2#{\keycsii#1{#2}} |
|
|
\def\keycsii#1#2#3{\key{\disp{#1#2} ({\tt\string#1})}{#3}} |
|
|
|
|
|
\twocol |
|
|
\keycs\alpha{a} |
|
|
\keycs\beta{b} |
|
|
\keycs\gamma{g} |
|
|
\keycs\delta{d} |
|
|
\keycs\epsilon{e} |
|
|
\keycs\zeta{z} |
|
|
\keycs\eta{h} |
|
|
\keycs\theta{j} |
|
|
\keycs\kappa{k} |
|
|
\keycs\lambda{l} |
|
|
\keycs\mu{m} |
|
|
\keycs\nu{n} |
|
|
\keycs\xi{x} |
|
|
\keycs\pi{p} |
|
|
\keycs\rho{r} |
|
|
\keycs\sigma{s} |
|
|
\keycs\tau{t} |
|
|
\keycs\upsilon{u} |
|
|
\keycs\phi{f} |
|
|
\keycs\chi{q} |
|
|
\keycs\psi{y} |
|
|
\keycs\omega{w} |
|
|
\keycs\Delta{D} |
|
|
\keycs\Gamma{G} |
|
|
\keycs\Theta{Q} |
|
|
\keycs\Lambda{L} |
|
|
\keycs\Xi{X} |
|
|
\keycs\Pi{P} |
|
|
\keycs\Sigma{S} |
|
|
\keycs\Upsilon{U} |
|
|
\keycs\Phi{F} |
|
|
\keycs\Psi{Y} |
|
|
\keycs\Omega{W} |
|
|
|
|
|
\section{Symbols} |
|
|
|
|
|
\twocol |
|
|
\keycs\rightarrow{C-f} |
|
|
\keycs\leftarrow{C-b} |
|
|
\keycs\uparrow{C-p} |
|
|
\keycs\downarrow{C-n} |
|
|
\keycs\leq{<} |
|
|
\keycs\geq{>} |
|
|
\keycs\tilde x{\string~} |
|
|
\keycs\nabla{N} |
|
|
\keycs\infty{I} |
|
|
\keycs\forall{A} |
|
|
\keycs\exists{E} |
|
|
\keycs\not \ {/} |
|
|
\keycs\in{i} |
|
|
\keycs\times{*} |
|
|
\keycs\cdot{.} |
|
|
\keycs\subset{\{} |
|
|
\keycs\supset{\}} |
|
|
\keycs\subseteq{[} |
|
|
\keycs\supseteq{]} |
|
|
\keycs\emptyset{0} |
|
|
\keycs\setminus{\\} |
|
|
\keycs\cup{+} |
|
|
\keycs\cap{-} |
|
|
\keycs\langle{(} |
|
|
\keycs\rangle{)} |
|
|
\keycs\exp{C-e} |
|
|
\keycs\sin{C-s} |
|
|
\keycs\cos{C-c} |
|
|
\keycs\sup{C-^} |
|
|
\keycs\inf{C-_} |
|
|
\keycs\det{C-d} |
|
|
\keycs\lim{C-l} |
|
|
\keycs\tan{C-t} |
|
|
\keycs\hat x{^} |
|
|
\keycs\vee{|} |
|
|
\keycs\wedge{\&} |
|
|
|
|
|
\section{Miscellaneous} |
|
|
|
|
|
\key{cal letters}{c \<letter>} |
|
648 |
|
|
649 |
\bye |
\bye |
650 |
|
|