annotate man/auctex/tex-ref.tex @ 100:4be1180a9e89 r20-1b2

Import from CVS: tag r20-1b2
author cvs
date Mon, 13 Aug 2007 09:15:11 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
1 +% -*- plain-tex -*-
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
2 % $Id: tex-ref.tex,v 1.1 1997/02/20 02:05:18 steve Exp $
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
3 % Reference Card for Auc TeX version 7
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
4 %**start of header
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
5 \newcount\columnsperpage
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
6
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
7 % This file can be printed with 1, 2, or 3 columns per page (see below).
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
8 % Specify how many you want here. Nothing else needs to be changed.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
9
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
10 \columnsperpage=2
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
11
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
12 % This file is intended to be processed by plain TeX (TeX82).
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
13 % compile-command: "tex ref-card.tex"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
14 %
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
15 % Original author of Auc-TeX Reference Card:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
16 %
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
17 % Terrence Brannon, PO Box 5027, Bethlehem, PA 18015 , USA
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
18 % internet: tb06@pl118f.cc.lehigh.edu (215) 758-1720 (215) 758-2104
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
19 %
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
20 % Kresten Krab Thorup updated the reference card to 6.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
21 % Per Abrahamsen updated the reference card to 7, 8, and 9.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
22 %
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
23 % Thanks to Stephen Gildea
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
24 % Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
25 % for creating the GNU Emacs Reference Card from which this was mutated
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
26
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
27 \def\versionnumber{9}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
28 \def\year{1993}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
29 \def\version{February \year\ v\versionnumber}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
30
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
31 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
32 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
33 Permissions on back. v\versionnumber}}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
34
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
35 \def\copyrightnotice{
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
36 \vskip 1ex plus 2 fill\begingroup\small
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
37 \centerline{Copyright \copyright\ 1987 Free Software Foundation, Inc.}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
38 \centerline{Copyright \copyright\ 1992 Kresten Krab Thorup}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
39 \centerline{Copyright \copyright\ \year\ Per Abrahamsen}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
40 \centerline{for AUC \TeX\ version \versionnumber}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
41
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
42 Permission is granted to make and distribute copies of
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
43 this card provided the copyright notice and this permission notice
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
44 are preserved on all copies.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
45
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
46
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
47 \endgroup}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
48
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
49 % make \bye not \outer so that the \def\bye in the \else clause below
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
50 % can be scanned without complaint.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
51 \def\bye{\par\vfill\supereject\end}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
52
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
53 \newdimen\intercolumnskip
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
54 \newbox\columna
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
55 \newbox\columnb
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
56
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
57 \def\ncolumns{\the\columnsperpage}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
58
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
59 \message{[\ncolumns\space
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
60 column\if 1\ncolumns\else s\fi\space per page]}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
61
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
62 \def\scaledmag#1{ scaled \magstep #1}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
63
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
64 % This multi-way format was designed by Stephen Gildea
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
65 % October 1986.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
66 \if 1\ncolumns
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
67 \hsize 4in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
68 \vsize 10in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
69 \voffset -.7in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
70 \font\titlefont=\fontname\tenbf \scaledmag3
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
71 \font\headingfont=\fontname\tenbf \scaledmag2
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
72 \font\smallfont=\fontname\sevenrm
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
73 \font\smallsy=\fontname\sevensy
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
74
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
75 \footline{\hss\folio}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
76 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
77 \else
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
78 \hsize 3.2in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
79 \vsize 7.95in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
80 % \hoffset -.75in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
81 % \voffset -.745in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
82 \font\titlefont=cmbx10 \scaledmag2
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
83 \font\headingfont=cmbx10 \scaledmag1
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
84 \font\smallfont=cmr6
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
85 \font\smallsy=cmsy6
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
86 \font\eightrm=cmr8
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
87 \font\eightbf=cmbx8
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
88 \font\eightit=cmti8
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
89 \font\eighttt=cmtt8
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
90 \font\eightsy=cmsy8
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
91 \textfont0=\eightrm
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
92 \textfont2=\eightsy
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
93 \def\rm{\eightrm}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
94 \def\bf{\eightbf}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
95 \def\it{\eightit}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
96 \def\tt{\eighttt}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
97 \normalbaselineskip=.8\normalbaselineskip
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
98 \normallineskip=.8\normallineskip
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
99 \normallineskiplimit=.8\normallineskiplimit
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
100 \normalbaselines\rm %make definitions take effect
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
101
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
102 \if 2\ncolumns
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
103 \let\maxcolumn=b
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
104 \footline{\hss\rm\folio\hss}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
105 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
106 \else \if 3\ncolumns
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
107 \let\maxcolumn=c
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
108 \nopagenumbers
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
109 \else
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
110 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
111 \errmessage{Illegal number of columns per page}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
112 \fi\fi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
113
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
114 \intercolumnskip=.46in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
115 \def\abc{a}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
116 \output={%
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
117 % This next line is useful when designing the layout.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
118 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
119 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
120 \else\if a\abc
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
121 \global\setbox\columna\columnbox \global\def\abc{b}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
122 %% in case we never use \columnb (two-column mode)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
123 \global\setbox\columnb\hbox to -\intercolumnskip{}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
124 \else
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
125 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
126 \def\multicolumnformat{\shipout\vbox{\makeheadline
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
127 \hbox{\box\columna\hskip\intercolumnskip
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
128 \box\columnb\hskip\intercolumnskip\columnbox}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
129 \makefootline}\advancepageno}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
130 \def\columnbox{\leftline{\pagebody}}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
131
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
132 \def\bye{\par\vfill\supereject
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
133 \if a\abc \else\null\vfill\eject\fi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
134 \if a\abc \else\null\vfill\eject\fi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
135 \end}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
136 \fi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
137
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
138 % we won't be using math mode much, so redefine some of the characters
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
139 % we might want to talk about
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
140 \catcode`\^=12
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
141 \catcode`\_=12
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
142
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
143 \chardef\\=`\\
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
144 \chardef\{=`\{
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
145 \chardef\}=`\}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
146
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
147 \hyphenation{mini-buf-fer}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
148
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
149 \parindent 0pt
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
150 \parskip 1ex plus .5ex minus .5ex
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
151
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
152 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
153
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
154 \outer\def\newcolumn{\vfill\eject}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
155
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
156 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
157
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
158 \outer\def\section#1{\par\filbreak
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
159 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
160 \vskip 2ex plus 1ex minus 1.5ex}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
161
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
162 \newdimen\keyindent
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
163
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
164 \def\beginindentedkeys{\keyindent=1em}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
165 \def\endindentedkeys{\keyindent=0em}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
166 \endindentedkeys
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
167
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
168 \def\paralign{\vskip\parskip\halign}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
169
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
170 \def\<#1>{$\langle${\rm #1}$\rangle$}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
171
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
172 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
173
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
174 \def\beginexample{\par\leavevmode\begingroup
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
175 \obeylines\obeyspaces\parskip0pt\tt}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
176 {\obeyspaces\global\let =\ }
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
177 \def\endexample{\endgroup}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
178
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
179 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
180 {\hsize=.75\hsize\rightskip=1em
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
181 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
182
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
183 \newbox\metaxbox
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
184 \setbox\metaxbox\hbox{\kbd{M-x }}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
185 \newdimen\metaxwidth
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
186 \metaxwidth=\wd\metaxbox
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
187
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
188 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
189 {\hskip\keyindent\relax#1\hfil}%
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
190 \hskip -\metaxwidth minus 1fil
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
191 \kbd{#2}\hfil}}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
192
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
193 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
194 &\kbd{#3}\quad\cr}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
195
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
196 %**end of header
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
197
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
198
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
199 \title{AUC \TeX\ Reference Card}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
200
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
201 \centerline{(for version \versionnumber)}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
202
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
203 \section{Conventions Used}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
204
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
205 \key{Carriage Return}{RET}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
206 \key{Tabular}{TAB}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
207 \key{Linefeed}{LFD}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
208
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
209 Mode variables: You want to change the variables found in the file
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
210 `{\tt tex-site.el}' in the AUC-\TeX\ distribution for your site. The
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
211 other variables should be set by the individual user.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
212
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
213 Entering LaTeX mode calls the value of text-mode-hook, then the value
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
214 of TeX-mode-hook, and then the value of LaTeX-mode-hook.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
215
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
216 \section{Shell Interaction}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
217
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
218 \key{Save Document}{C-c C-d}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
219 \key{Run a command on the master file}{C-c C-c}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
220 \key{Run a command on the buffer}{C-c C-b}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
221 \key{Run a command on the region}{C-c C-r}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
222 \key{Kill job}{C-c C-k}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
223 \key{Recenter output buffer}{C-c C-l}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
224 \key{Next error in \TeX/LaTeX session}{C-c `}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
225 \key{Toggle debug of wonderful boxes}{C-c C-w}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
226 \key{Switch to master file or active buffer}{C-c ^}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
227
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
228 Commands you can run on the master file (with C-c C-c) or the region
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
229 (with C-c C-r) include the following.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
230
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
231 \key{\TeX}{TeX}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
232 \overfullrule=0pt %The next line is too wide.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
233 \key{Run \TeX{} Interactively}{TeX Interactive}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
234 \key{LaTeX}{LaTeX}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
235 \key{Run LaTeX Interactively}{LaTeX Interactive}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
236 \key{SliTeX}{SliTeX}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
237 \key{A previewer}{View}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
238 \key{Printing the DVI file}{Print}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
239 \key{Bib\TeX}{BibTeX}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
240 \key{MakeIndex}{Index}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
241 \key{LaCheck}{Check}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
242 \key{(PostScript) File}{File}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
243 \key{Ispell}{Spell}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
244
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
245 \section{Command Insertion}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
246
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
247 \key{Insert Section}{C-c C-s}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
248 \key{Insert LaTeX environment}{C-c C-e}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
249 \key{Insert item}{C-c LFD}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
250 \key{Close LaTeX environment}{C-c ]}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
251 \key{Insert \TeX\ macro \kbd{\\\{\}} }{C-c C-m}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
252 \key{Insert double brace}{C-c \{}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
253 \key{Complete \TeX\ macro}{M-TAB}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
254 \key{Smart ``quote''}{"}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
255 \key{Smart ``dollar''}{\$}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
256
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
257 \section{Font Selection}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
258
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
259 \key{Insert {\bf bold} text}{C-c C-f C-b}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
260 \key{Insert {\it italics\/} text}{C-c C-f C-i}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
261 \key{Insert {\rm roman} text}{C-c C-f C-r}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
262 \key{Insert {\it emphasized} text}{C-c C-f C-e}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
263 \key{Insert {\tt typewriter} text}{C-c C-f C-t}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
264 \key{Insert {\sl slanted\/} text}{C-c C-f C-s}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
265 \key{Delete font}{C-c C-f C-d}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
266 \key{Change font}{C-u C-c C-f <KEY>}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
267
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
268 \section{Source Formatting}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
269
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
270 \key{Indent current line}{TAB}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
271 \key{Indent next line}{LFD}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
272
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
273 \key{Format a paragraph}{M-q}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
274 \key{Format a region}{C-c C-q C-r}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
275 \key{Format a section}{C-c C-q C-s}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
276 \key{Format an environment}{C-c C-q C-e}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
277
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
278 \key{Mark an environment}{C-c .}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
279 \key{Mark a section}{C-c *}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
280
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
281 \key{Comment region}{C-c ;}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
282 \key{Comment paragraph}{C-c \%}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
283 \key{Uncomment region}{C-u - C-c ;}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
284 \key{Uncomment paragraph}{C-u - C-c \%}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
285
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
286 \section{Miscellaneous}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
287
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
288 \key{Math Mode}{C-c \~{}}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
289 \key{Reset AUC TeX}{C-c C-n}
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
290
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
291 \copyrightnotice
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
292
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
293 \bye
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
294
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
295 % End: