comparison etc/refcard.tex @ 227:0e522484dd2a r20-5b12

Import from CVS: tag r20-5b12
author cvs
date Mon, 13 Aug 2007 10:12:37 +0200
parents 262b8bb4a523
children 6330739388db
comparison
equal deleted inserted replaced
226:eea38c7ad7b4 227:0e522484dd2a
50 % for their many good ideas. 50 % for their many good ideas.
51 51
52 % If there were room, it would be nice to see a section on Dired. 52 % If there were room, it would be nice to see a section on Dired.
53 53
54 \def\versionnumber{2.0 XEmacs} 54 \def\versionnumber{2.0 XEmacs}
55 \def\year{1995} 55 \def\year{1998}
56 \def\version{February \year\ v\versionnumber} 56 \def\version{April \year\ v\versionnumber}
57 57
58 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill 58 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
59 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. 59 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
60 Permissions on back. v\versionnumber}} 60 Permissions on back. v\versionnumber}}
61 61
69 Permission is granted to make and distribute copies of 69 Permission is granted to make and distribute copies of
70 this card provided the copyright notice and this permission notice 70 this card provided the copyright notice and this permission notice
71 are preserved on all copies. 71 are preserved on all copies.
72 72
73 For copies of the GNU Emacs manual, write to the Free Software 73 For copies of the GNU Emacs manual, write to the Free Software
74 Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139. 74 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
75 USA.
75 76
76 \endgroup} 77 \endgroup}
77 78
78 % make \bye not \outer so that the \def\bye in the \else clause below 79 % make \bye not \outer so that the \def\bye in the \else clause below
79 % can be scanned without complaint. 80 % can be scanned without complaint.
80 \def\bye{\par\vfill\supereject\end} 81 \def\bye{\par\vfill\supereject\end}
81 82
82 \newdimen\intercolumnskip %horizontal space between columns 83 \newdimen\intercolumnskip %horizontal space between columns
83 \newbox\columna %boxes to hold columns already built 84 \newbox\columna %boxes to hold columns already built
84 \newbox\columnb 85 \newbox\columnb
85 86
86 \def\ncolumns{\the\columnsperpage} 87 \def\ncolumns{\the\columnsperpage}
87 88
88 \message{[\ncolumns\space 89 \message{[\ncolumns\space
90 91
91 \def\scaledmag#1{ scaled \magstep #1} 92 \def\scaledmag#1{ scaled \magstep #1}
92 93
93 % This multi-way format was designed by Stephen Gildea October 1986. 94 % This multi-way format was designed by Stephen Gildea October 1986.
94 % Note that the 1-column format is fontfamily-independent. 95 % Note that the 1-column format is fontfamily-independent.
95 \if 1\ncolumns %one-column format uses normal size 96 \if 1\ncolumns %one-column format uses normal size
96 \hsize 4in 97 \hsize 4in
97 \vsize 10in 98 \vsize 10in
98 \voffset -.7in 99 \voffset -.7in
99 \font\titlefont=\fontname\tenbf \scaledmag3 100 \font\titlefont=\fontname\tenbf \scaledmag3
100 \font\headingfont=\fontname\tenbf \scaledmag2 101 \font\headingfont=\fontname\tenbf \scaledmag2
101 \font\smallfont=\fontname\sevenrm 102 \font\smallfont=\fontname\sevenrm
102 \font\smallsy=\fontname\sevensy 103 \font\smallsy=\fontname\sevensy
103 104
104 \footline{\hss\folio} 105 \footline{\hss\folio}
105 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} 106 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
106 \else %2 or 3 columns uses prereduced size 107 \else %2 or 3 columns uses prereduced size
107 \hsize 3.2in 108 \hsize 3.2in
108 \vsize 7.95in 109 \vsize 7.95in
109 \hoffset -.75in 110 \hoffset -.75in
110 \voffset -.745in 111 \voffset -.745in
111 \font\titlefont=cmbx10 \scaledmag2 112 \font\titlefont=cmbx10 \scaledmag2
126 \def\it{\eightit} 127 \def\it{\eightit}
127 \def\tt{\eighttt} 128 \def\tt{\eighttt}
128 \normalbaselineskip=.8\normalbaselineskip 129 \normalbaselineskip=.8\normalbaselineskip
129 \normallineskip=.8\normallineskip 130 \normallineskip=.8\normallineskip
130 \normallineskiplimit=.8\normallineskiplimit 131 \normallineskiplimit=.8\normallineskiplimit
131 \normalbaselines\rm %make definitions take effect 132 \normalbaselines\rm %make definitions take effect
132 133
133 \if 2\ncolumns 134 \if 2\ncolumns
134 \let\maxcolumn=b 135 \let\maxcolumn=b
135 \footline{\hss\rm\folio\hss} 136 \footline{\hss\rm\folio\hss}
136 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}} 137 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
142 \errmessage{Illegal number of columns per page} 143 \errmessage{Illegal number of columns per page}
143 \fi\fi 144 \fi\fi
144 145
145 \intercolumnskip=.46in 146 \intercolumnskip=.46in
146 \def\abc{a} 147 \def\abc{a}
147 \output={% %see The TeXbook page 257 148 \output={% %see The TeXbook page 257
148 % This next line is useful when designing the layout. 149 % This next line is useful when designing the layout.
149 %\immediate\write16{Column \folio\abc\space starts with \firstmark} 150 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
150 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} 151 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
151 \else\if a\abc 152 \else\if a\abc
152 \global\setbox\columna\columnbox \global\def\abc{b} 153 \global\setbox\columna\columnbox \global\def\abc{b}
153 %% in case we never use \columnb (two-column mode) 154 %% in case we never use \columnb (two-column mode)
154 \global\setbox\columnb\hbox to -\intercolumnskip{} 155 \global\setbox\columnb\hbox to -\intercolumnskip{}
155 \else 156 \else
156 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi} 157 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
157 \def\multicolumnformat{\shipout\vbox{\makeheadline 158 \def\multicolumnformat{\shipout\vbox{\makeheadline
158 \hbox{\box\columna\hskip\intercolumnskip 159 \hbox{\box\columna\hskip\intercolumnskip
159 \box\columnb\hskip\intercolumnskip\columnbox} 160 \box\columnb\hskip\intercolumnskip\columnbox}
160 \makefootline}\advancepageno} 161 \makefootline}\advancepageno}
161 \def\columnbox{\leftline{\pagebody}} 162 \def\columnbox{\leftline{\pagebody}}
210 211
211 % \<...> - surrounds a variable name in a code example 212 % \<...> - surrounds a variable name in a code example
212 \def\<#1>{{\it #1\/}} 213 \def\<#1>{{\it #1\/}}
213 214
214 % kbd - argument is characters typed literally. Like the Texinfo command. 215 % kbd - argument is characters typed literally. Like the Texinfo command.
215 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows 216 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
216 217
217 % beginexample...endexample - surrounds literal text, such a code example. 218 % beginexample...endexample - surrounds literal text, such a code example.
218 % typeset in a typewriter font with line breaks preserved 219 % typeset in a typewriter font with line breaks preserved
219 \def\beginexample{\par\leavevmode\begingroup 220 \def\beginexample{\par\leavevmode\begingroup
220 \obeylines\obeyspaces\parskip0pt\tt} 221 \obeylines\obeyspaces\parskip0pt\tt}
251 %**end of header 252 %**end of header
252 253
253 254
254 \title{XEmacs Reference Card} 255 \title{XEmacs Reference Card}
255 256
256 \centerline{(for version 19)} 257 \centerline{(for version 20.5+)}
257 258
258 \section{Starting Emacs} 259 \section{Starting Emacs}
259 260
260 To enter XEmacs, just type its name: \kbd{xemacs} 261 To enter XEmacs, just type its name: \kbd{xemacs}
261 262