Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 549 lines (529 sloc) 17.578 kB
57fec11 @trebb intial revision, cleaned for public
authored
1 % Copyright (C) 2008 Bert Burgemeister
2 %
3 % Permission is granted to copy, distribute and/or modify this
4 % document under the terms of the GNU Free Documentation License,
5 % Version 1.2 or any later version published by the Free Software
6 % Foundation; with no Invariant Sections, no Front-Cover Texts and
7 % no Back-Cover Texts. For details see file COPYING.
8 %
9
6360751 @trebb hyperlinks added, html slightly changed
authored
10 \newcommand{\maintitle}{Common\ Lisp\ Quick\ Reference}
11 \newcommand{\AUTHOR}{Bert~Burgemeister}
57fec11 @trebb intial revision, cleaned for public
authored
12
13 \documentclass[8pt,pagesize,twoside,footexclude,headexclude]{scrartcl}
14 %
15 %%%%%%%%%%%%%%%%%%
16 % outsourced page dimensions
17 \input{paper-current}
18 %\setlength{\paperwidth}{10.5cm}
19 %\setlength{\paperheight}{29.7cm}
20 %%\areaset[3mm]{9cm}{28.3cm}
21 %\typearea[2mm]{20}
22 %%%%%%%%%%%%%%%%%%
6360751 @trebb hyperlinks added, html slightly changed
authored
23 %
24 %%%%%%%%%%%%%%%%%%
25 % outsourced hypertext colors
26 \input{color-current}
27 %\newcommand{\linkcolor}{Fuchsia}
28 %\newcommand{\urlcolor}{MidnightBlue}
29 %\newcommand{\bookmarks}{true}
30 %\newcommand{\pdfpagelayout}{TwoColumnLeft}
31 %%%%%%%%%%%%%%%%%%
32 %
57fec11 @trebb intial revision, cleaned for public
authored
33 \usepackage{amsmath}
34 \usepackage{amsfonts}
35 \usepackage{amssymb}
36 \usepackage{rotating}
37 \usepackage{graphics}
38 \usepackage{multicol}
39 \usepackage{textcase}
7b1099a @trebb continued work
authored
40 \usepackage{ulem}
57fec11 @trebb intial revision, cleaned for public
authored
41 \usepackage[usenames,dvips]{color}
42 \usepackage{ifthen}
43 \usepackage{suffix}
44 \usepackage{makeidx}
e3b53a4 @trebb lots of minor changes
authored
45 \definecolor{frontcovergray}{gray}{.85}
46 \definecolor{backcovergray}{gray}{.87}
57fec11 @trebb intial revision, cleaned for public
authored
47 \usepackage[pagestyles]{titlesec}
48 \usepackage{titletoc}
49 %
50 %%%%%%%%%%%%%%%%%%
51 % Two font alternatives:
250be92 @trebb minor changes
authored
52 % (A) All Computer Modern
57fec11 @trebb intial revision, cleaned for public
authored
53 \usepackage{type1cm}
54 \usepackage{exscale}
55 %%%%%%%%%%%%%%%%%%
250be92 @trebb minor changes
authored
56 % (B) Times mixed with Helvetica
57fec11 @trebb intial revision, cleaned for public
authored
57 %\usepackage{mathptmx}
58 %\usepackage[scaled]{helvet}
59 %%%%%%%%%%%%%%%%%%
60 %
6360751 @trebb hyperlinks added, html slightly changed
authored
61 % should remain last usepackage:
62 \usepackage%
63 [breaklinks,linktocpage,colorlinks,%
64 bookmarksnumbered,bookmarks=\bookmarks,%
65 linkcolor=\linkcolor,urlcolor=\urlcolor,%
66 pdfpagelayout=\pdfpagelayout,%
67 pdftitle=\maintitle,pdfauthor=\AUTHOR]%
68 {hyperref}
69 %
57fec11 @trebb intial revision, cleaned for public
authored
70 \makeindex
71 \titleformat{\section}{\sffamily\mdseries\slshape}
72 {\huge\thesection}{.7em}{\huge}[{\titlerule[0.25pt]}]
73
74 \titleformat{\subsection}{\sffamily\mdseries\slshape}
75 {\Large\thesubsection}{.7em}{\Large}[{\titlerule[0.25pt]}]
76
77 % Kill toc header as we want it to span columns
78 \makeatletter
79 \renewcommand{\toc@heading}{}
80 \makeatother
81
ba50327 @trebb toc partly abbreviated, lots of typos fixed
authored
82 \titlecontents{section}%
83 [1.5em]%
84 {\vspace{.5em plus 1em minus .2em}\sffamily\bfseries\upshape\filright}%
85 {\contentslabel{1.5em}}%
86 {\hspace*{3em}}%
87 {\hfill\contentspage\vspace{.1em}}%
88
89 \titlecontents{subsection}%
90 [4em]%
91 {\sffamily\mdseries\upshape\filright}%
92 {\contentslabel{2.5em}}%
93 {\hspace*{5.5em}}%
94 {\hspace{1ex}\titlerule*[1.5ex]{.}\contentspage}%
57fec11 @trebb intial revision, cleaned for public
authored
95
327abd6 @trebb improved layout
authored
96 \newlength{\LISTlinewidth}
57fec11 @trebb intial revision, cleaned for public
authored
97 \newenvironment{LIST}[1]%
98 {%
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
99 \LISTlinewidth=\linewidth%
843d07c @trebb minor changes, mainly layout
authored
100 \begin{flushleft}%
57fec11 @trebb intial revision, cleaned for public
authored
101 \begin{list}{}%
102 {\setlength{\itemindent}{-#1}\setlength{\leftmargin}{#1}}%
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
103 %\parskip0pt\itemsep0pt%
57fec11 @trebb intial revision, cleaned for public
authored
104 }%
105 {\end{list}%
843d07c @trebb minor changes, mainly layout
authored
106 \end{flushleft}%
57fec11 @trebb intial revision, cleaned for public
authored
107 }%
108 %
327abd6 @trebb improved layout
authored
109 %\renewcommand{\topfraction}{1}
57fec11 @trebb intial revision, cleaned for public
authored
110 \renewcommand{\bottomfraction}{1}
111 \renewcommand*{\figureformat}{}
112 \renewcommand*{\captionformat}{}
113 \renewcommand{\thefootnote}{\fnsymbol{footnote}}
114 %
115 \setlength{\parfillskip}{5cm plus1cm minus3cm}
116 \setlength{\arraycolsep}{0pt}
117 %
327abd6 @trebb improved layout
authored
118 %
1b75018 @trebb continued work
authored
119 \def\startexplanation{$\triangleright$\hskip1.4ex}
327abd6 @trebb improved layout
authored
120 \newlength{\ITwidth}
121 \newlength{\ITrest}
122 \newlength{\ITtab}\ITtab=3em
123 %
124 \def\IT#1 #2 {%
125 \settowidth{\ITwidth}{#1\unskip\hskip1em\hskip\ITtab}%
126 \ITrest=\LISTlinewidth\advance\ITrest by -\ITwidth%
127 \loop\ifdim\ITrest > \ITtab%
128 \advance\ITrest by -\ITtab%
129 \repeat%
130 %
131 \settowidth{\ITwidth}{%
132 #1\unskip\hskip1em\hskip\ITrest%
133 \startexplanation#2%
134 }%
135 \item{}%
136 \ifdim\ITwidth < \LISTlinewidth% Entry fits into a single line
137 #1\unskip\hskip1em\hskip\ITrest%
138 \startexplanation#2%
139 \else%
140 #1%
843d07c @trebb minor changes, mainly layout
authored
141 \unskip\penalty-10000%
142 \parbox[t]{\linewidth}{\startexplanation#2}%
327abd6 @trebb improved layout
authored
143 \fi%
144 }
145 %
57fec11 @trebb intial revision, cleaned for public
authored
146 %
147 \newpagestyle{lispref}[\sffamily\mdseries\slshape]{
148 \headrule\footrule
149 \sethead*{}{}{\maintitle\/}
150 \setfoot*{}{}{\thepage\/}}
151 \pagestyle{lispref}
152
153 %
154 % Literal Text
155 \newcommand{\LIT}[1]{\text{{\fontfamily{cmtt}\selectfont#1}}}
156 %
157 % Variable Text
158 \newcommand{\VAR}[1]{\text{{\fontfamily{cmr}\fontshape{it}\selectfont#1\/}}}
159 %
0fb7e5b @trebb minor layout changes
authored
160 % Not Evaluated
161 \newcommand{\NEV}[1]{\text{{$\widehat{#1}$}}}
162 %
ba50327 @trebb toc partly abbreviated, lots of typos fixed
authored
163 % Subjected to Destruction
1d79329 @trebb tilde marks destructible args; some typos fixed
authored
164 \newcommand{\DES}[1]{\text{{$\widetilde{#1}$}}}
ba50327 @trebb toc partly abbreviated, lots of typos fixed
authored
165 %
57fec11 @trebb intial revision, cleaned for public
authored
166 % Default Value
167 \newcommand{\DF}[1]{\text{\textsubscript{\setlength{\fboxsep}{.5pt}\setlength{\fboxrule}{.1pt}\fbox{#1}}}}
168 %
169 % Optional Part, [], two sizes
170 \newcommand{\OP}[1]{{\text{$\big[$}{#1}\text{$\big]$}}}
171 \newcommand{\Op}[1]{{\text{$[$}{#1}\text{$]$}}}
172 %
173 % Or, |
174 \newcommand{\XOR}{\hspace{1pt}\text{\rule[-.9ex]{.25pt}{3ex}}\hspace{1pt}}
175 %\newcommand{\XOR}{\text{$\mid$}\hspace{0pt}}
176 %
177 % Optional Parts, *
178 \newcommand{\OPn}[1]{{{#1}\text{${}^{*}$}}}
179 %
180 % Required Parts, +
181 \newcommand{\RP}[1]{{{#1}\text{${}^{+}$}}}
182 %
183 %
184 % Group of Objects {}, three sizes
185 \newcommand{\GOO}[1]{{\text{$\Big\{$}{#1}\text{$\Big\}$}}}
186 \newcommand{\GOo}[1]{{\text{$\big\{$}{#1}\text{$\big\}$}}}
187 \newcommand{\Goo}[1]{{\text{$\{$}{#1}\text{$\}$}}}
188 % Optional Group of Objects, {}*, three sizes
189 \newcommand{\GOOs}[1]{{$\Big\{${#1}$\Big\}^{\!\!*}$}}
190 \newcommand{\GOos}[1]{\text{{$\big\{${#1}$\big\}^{\!\!*}$}}}
191 \newcommand{\Goos}[1]{\text{{$\{${#1}$\}^{\!*}$}}}
192 % Required Group of Objects, {}+, three sizes
2279aca @trebb minor changes, mainly html
authored
193 \newcommand{\GOOp}[1]{{\text{$\Big\{$}{#1}\text{$\Big\}^{\!\!+}$}}}
194 \newcommand{\GOop}[1]{{\text{$\big\{$}{#1}\text{$\big\}^{\!\!+}$}}}
195 \newcommand{\Goop}[1]{{\text{$\{$}{#1}\text{$\}^{\!+}$}}}
57fec11 @trebb intial revision, cleaned for public
authored
196 %
197 % Vertically Arranged Group of Alternatives, {
198 % usage: \xorGOO{line1\\ line2...}{closing delimiter}
199 \newcommand{\xorGOO}[2]{\text{\(%
8593f12 @trebb rearragements, changes in layout
authored
200 \left\{\!%
57fec11 @trebb intial revision, cleaned for public
authored
201 \begin{array}{l}%
202 #1%
8593f12 @trebb rearragements, changes in layout
authored
203 \end{array}\!%
57fec11 @trebb intial revision, cleaned for public
authored
204 \right#2%
205 \)}}
206 %
207 % Vertically Arranged Group of Optional Objects, {|
208 % usage: \orGOO{line1\\line2}{closing delimiter}
209 \newcommand{\orGOO}[2]{\text{\(%
210 \left\{\!\left|%
211 \begin{array}{l}%
212 #1%
8593f12 @trebb rearragements, changes in layout
authored
213 \end{array}\!%
57fec11 @trebb intial revision, cleaned for public
authored
214 \right.\right#2%
215 \)}}
216 %
217 % Vertically Arranged Group of Objects, No Opening {
218 % usage: \arrGOO{line1\\line2}{closing delimiter}
af15371 @trebb lots of corrections
authored
219 \newcommand{\arrGOO}[2]{\text{\(\!%
57fec11 @trebb intial revision, cleaned for public
authored
220 \left.%
221 \begin{array}{l}%
222 #1%
8593f12 @trebb rearragements, changes in layout
authored
223 \end{array}\!%
57fec11 @trebb intial revision, cleaned for public
authored
224 \right#2%
225 \)}}
226 %
227 % Boxed Group of Alternatives
228 % usage: \boxGOO{line1\\ line2...}
229 \newcommand{\boxGOO}[1]{\text{\hspace{1ex}\(%
230 \setlength{\fboxsep}{1pt}\setlength{\fboxrule}{0pt}
231 \boxed{
232 \setlength{\fboxsep}{1pt}\setlength{\fboxrule}{.1pt}
233 \boxed{\;%
234 \begin{array}{l}%
235 #1%
236 \end{array}%
237 }%
238 }%
239 \)}}
240 %
241 %
1b75018 @trebb continued work
authored
242 % In a Boxed Group of Alternatives: Replacement for \\ with additional
243 % vspace
244 \newcommand{\boxGOOcr}{\vspace{1ex}\\}
245 %
246 %
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
247 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
248 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
249 % All sorts of tags attached to lisp keywords
250 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
251 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
252 %
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
253 \newlength{\TAGwidth}
254 \newlength{\KEYWORDwidth}
255 %
256 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
257 % Generic Keyword, Lowercase
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
258 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
259 \newcommand{\kwd}[1]{\text{{\sffamily\bfseries\selectfont%
260 \lowercase{#1}}}}
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
261 %
262 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
263 % Generic Keyword, Uppercase
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
264 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
265 \newcommand{\KWD}[1]{\text{{\sffamily\bfseries\selectfont%
266 \uppercase{#1}}}}
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
267 %
268 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
efeaeb8 @trebb SF (special form) markers replaced by MC (macro) and SO (special oper…
authored
269 % Macro
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
270 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
271 \newcommand{\MC}[1]{%
272 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}M}%
273 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
274 \ifdim\TAGwidth > \KEYWORDwidth%
275 \text{{\sffamily\bfseries\selectfont%
276 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}M}}\lowercase{#1}}}}%
277 \else%
278 \text{{\sffamily\bfseries\selectfont%
279 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}M}}\lowercase{#1}}}}%
280 \fi}
281 %
282 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
efeaeb8 @trebb SF (special form) markers replaced by MC (macro) and SO (special oper…
authored
283 % Special Operator
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
284 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
285 \newcommand{\SO}[1]{%
286 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}SO}%
287 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
288 \ifdim\TAGwidth > \KEYWORDwidth%
289 \text{{\sffamily\bfseries\selectfont%
1d79329 @trebb tilde marks destructible args; some typos fixed
authored
290 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}sO}}\lowercase{#1}}}}%
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
291 \else%
292 \text{{\sffamily\bfseries\selectfont%
1d79329 @trebb tilde marks destructible args; some typos fixed
authored
293 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}sO}}\lowercase{#1}}}}%
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
294 \fi}
295 %
296 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
297 % Function
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
298 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
299 \newcommand{\FU}[1]{%
300 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}Fu}%
301 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
302 \ifdim\TAGwidth > \KEYWORDwidth%
303 \text{{\sffamily\bfseries\selectfont%
304 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}Fu}}\lowercase{#1}}}}%
305 \else%
306 \text{{\sffamily\bfseries\selectfont%
307 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}Fu}}\lowercase{#1}}}}%
308 \fi}
309 %
310 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
311 % Generic Function
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
312 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
313 \newcommand{\GFU}[1]{%
314 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}gF}%
315 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
316 \ifdim\TAGwidth > \KEYWORDwidth%
317 \text{{\sffamily\bfseries\selectfont%
318 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}gF}}\lowercase{#1}}}}%
319 \else%
320 \text{{\sffamily\bfseries\selectfont%
321 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}gF}}\lowercase{#1}}}}%
322 \fi}
323 %
324 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
325 % Variable
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
326 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
327 \newcommand{\V}[1]{%
328 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.8em}var}%
329 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
330 \ifdim\TAGwidth > \KEYWORDwidth%
331 \text{{\sffamily\bfseries\selectfont%
332 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}var}}\lowercase{#1}}}}%
333 \else%
334 \text{{\sffamily\bfseries\selectfont%
335 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.8em}var}}\lowercase{#1}}}}%
336 \fi}
337 %
338 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
339 % Constant
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
340 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
341 \newcommand{\CNS}[1]{%
342 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}co}%
343 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
344 \ifdim\TAGwidth > \KEYWORDwidth%
345 \text{{\sffamily\bfseries\selectfont%
346 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}co}}\lowercase{#1}}}}%
347 \else%
348 \text{{\sffamily\bfseries\selectfont%
349 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}co}}\lowercase{#1}}}}%
350 \fi}
351 %
352 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
353 % Loop Keyword
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
354 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
355 \newcommand{\LKWD}[1]{\text{{\sffamily\bfseries\selectfont%
356 {\raisebox{1.4ex}[1ex][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}}}\lowercase{#1}}}}}
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
357 %
358 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
0fb7e5b @trebb minor layout changes
authored
359 % Return values, First, Second, nth, Third
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
360 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
7b1099a @trebb continued work
authored
361 \newcommand{\retval}[1]{\uline{#1}}
362 \newcommand{\retvalii}[1]{\uuline{#1}}
0fb7e5b @trebb minor layout changes
authored
363 \newcommand{\retvaln}[2]{{%
cf881ce @trebb changed loop figure, define-setf-expander and get-setf-expression mor…
authored
364 {\raisebox{-1.7ex}[0pt][1.4ex]{\tiny\sffamily\upshape\mdseries\makebox[0pt][l]{\hspace{-.1em}#1}}\uline{#2}}}}
0fb7e5b @trebb minor layout changes
authored
365 \newcommand{\retvaliii}[1]{\retvaln{3}{#1}}
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
366 %
367 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
368 % T and NIL
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
369 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
370 \newcommand{\T}{\text{\ttfamily T}}
371 \newcommand{\NIL}{\text{\ttfamily NIL}}
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
372 %
373 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
374 % ~
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
375 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
376 \newcommand{\TLD}{{\textasciitilde}}
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
377 %
378 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
379 % Starred versions send their argument into index:
380 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
381 \WithSuffix\newcommand\kwd*[1]{\kwd{#1}\uppercase{\index{#1}}}
382 \WithSuffix\newcommand\KWD*[1]{\KWD{#1}\uppercase{\index{#1}}}
efeaeb8 @trebb SF (special form) markers replaced by MC (macro) and SO (special oper…
authored
383 \WithSuffix\newcommand\MC*[1]{\MC{#1}\uppercase{\index{#1}}}
384 \WithSuffix\newcommand\SO*[1]{\SO{#1}\uppercase{\index{#1}}}
57fec11 @trebb intial revision, cleaned for public
authored
385 \WithSuffix\newcommand\FU*[1]{\FU{#1}\uppercase{\index{#1}}}
386 \WithSuffix\newcommand\GFU*[1]{\GFU{#1}\uppercase{\index{#1}}}
387 \WithSuffix\newcommand\V*[1]{\V{#1}\uppercase{\index{#1}}}
388 \WithSuffix\newcommand\CNS*[1]{\CNS{#1}\uppercase{\index{#1}}}
389 \WithSuffix\newcommand\LKWD*[1]{\LKWD{#1}\uppercase{\index{#1}}}
390
e3b53a4 @trebb lots of minor changes
authored
391 \hyphenation{white-space pa-ra-me-ters}
392
57fec11 @trebb intial revision, cleaned for public
authored
393 \begin{document}
394
395 \newlength{\titlepagewidth}
396 \setlength{\titlepagewidth}{8cm}
397 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
398 %% Front Cover
399 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
400 \begin{titlepage}
401 \renewcommand{\rmdefault}{ptm} %% Always times font on title
402 \vspace*{15mm}
403 \begin{center}
404 \begin{minipage}{\titlepagewidth}
405 \begin{center}
406 \rmfamily\mdseries\itshape\fontsize{20}{0}\selectfont
407 Quick Reference\\
408 \end{center}
409 \end{minipage}
410 \vfill
411 \begin{minipage}{\titlepagewidth}
412 \begin{center}
413 \rmfamily\mdseries\itshape\fontsize{300}{0}\selectfont%
e3b53a4 @trebb lots of minor changes
authored
414 {\color{frontcovergray}cl\/}\\
57fec11 @trebb intial revision, cleaned for public
authored
415 \end{center}
416 \end{minipage}
417 \vfill
418 \begin{minipage}{\titlepagewidth}
419 \rmfamily\mdseries\itshape\fontsize{36}{0}\selectfont
420 \hfill Common\/\\[2mm]
421 \rmfamily\mdseries\upshape\fontsize{157}{0}\selectfont
422 \rule[3mm]{\textwidth}{1.5mm}\\
423 lisp\\[-10mm]
424 \rule[15mm]{5.5cm}{1.5mm}\hfill\rule[15mm]{1.77cm}{1.5mm}
425 \end{minipage}
426 \begin{minipage}{\titlepagewidth}
427 \rmfamily\mdseries\upshape\fontsize{14}{0}\selectfont
6360751 @trebb hyperlinks added, html slightly changed
authored
428 \AUTHOR
57fec11 @trebb intial revision, cleaned for public
authored
429 \vspace*{4mm}
430 \end{minipage}
431 \end{center}
432
433 \end{titlepage}
434
435 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e3b53a4 @trebb lots of minor changes
authored
436 % TOC
437 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
57fec11 @trebb intial revision, cleaned for public
authored
438 \section*{\contentsname}
439 \vspace{-3ex}
440 {%
441 \setlength{\columnsep}{1.5em}%
442 \begin{multicols}{2}
443 \tableofcontents
444 \end{multicols}%
445 }
446 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
447 \vfill
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
448 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
449 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
450 %%% Content starts here %%%%%%%%%%%%%%%%%%%%%%%%%%
451 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8593f12 @trebb rearragements, changes in layout
authored
452
e3b53a4 @trebb lots of minor changes
authored
453 \input{typographic-conventions}
454 \clearpage
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
455 \input{clqr-numbers}
456 \input{clqr-characters}
457 \input{clqr-strings}
458 \input{clqr-conses}
459 \input{clqr-arrays}
460 \input{clqr-sequences}
461 \input{clqr-hash-tables}
462 \input{clqr-structures}
463 \input{clqr-control-structure}
464 \input{clqr-clos}
465 \input{clqr-conditions-and-errors}
466 \input{clqr-input-output}
467 \input{clqr-types-and-classes}
468 \input{clqr-packages-and-symbols}
469 \input{clqr-compiler}
470 \input{clqr-environment}
57fec11 @trebb intial revision, cleaned for public
authored
471
472 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
473 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
474 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8593f12 @trebb rearragements, changes in layout
authored
475 %
c25a243 @trebb keyword tags now able to move on short keywords; removed 1040 commas …
authored
476 \clearpage % Uncomment/comment this line to waste/save some space
8593f12 @trebb rearragements, changes in layout
authored
477 %
57fec11 @trebb intial revision, cleaned for public
authored
478 \renewcommand{\indexpagestyle}{lispref}
479 \renewenvironment{theindex}%
480 {\begin{list}{}%
481 {\setlength{\itemindent}{-1em}\setlength{\leftmargin}{1em}}%
7b1099a @trebb continued work
authored
482 \parskip0pt plus .1pt \itemsep0pt%
483 \raggedright\looseness=-1%
484 }%
57fec11 @trebb intial revision, cleaned for public
authored
485 {\end{list}}
8593f12 @trebb rearragements, changes in layout
authored
486 \begin{multicols}{4}
8db8f39 @trebb added missing symbols
authored
487 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
488 [\section*{Index}\vspace{-5ex}]
489 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
efeaeb8 @trebb SF (special form) markers replaced by MC (macro) and SO (special oper…
authored
490 % Stock \printindex won't do as we want more than two columns.
57fec11 @trebb intial revision, cleaned for public
authored
491 \tiny\sffamily\input{clqr.ind}
492 \end{multicols}
493
494
495 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
496 % Make (total) page count a multiple of four.
497 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
498 \clearpage
499 \pagestyle{empty}
500 \newcount\currentpage
501 \currentpage=\value{page}
502 \divide\currentpage by 4
503 \multiply\currentpage by 4
504 \advance\currentpage by -\value{page}
505 \ifthenelse{\equal{\the\currentpage}{-3}}{\rule{0pt}{0pt}\clearpage}{}
506 \ifthenelse{\equal{\the\currentpage}{-2}}{\rule{0pt}{0pt}\clearpage\rule{0pt}{0pt}\clearpage}{}
507 \ifthenelse{\equal{\the\currentpage}{-1}}{\rule{0pt}{0pt}\clearpage\rule{0pt}{0pt}\clearpage\rule{0pt}{0pt}\clearpage}{}
508 %
509 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
510 %% Back Cover
511 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
512 \begin{titlepage}
513 \begin{center}
514 \renewcommand{\rmdefault}{ptm} %% Always times font on title
e6fddcb @trebb continued work
authored
515 \vspace*{20pt}
57fec11 @trebb intial revision, cleaned for public
authored
516 \vfill
517 \begin{minipage}{\titlepagewidth}
518 \begin{center}
519 \rmfamily\mdseries\itshape\fontsize{300}{0}\selectfont
e3b53a4 @trebb lots of minor changes
authored
520 \reflectbox{{\color{backcovergray}cl\/}}\\
57fec11 @trebb intial revision, cleaned for public
authored
521 \end{center}
522 \end{minipage}
523 \vfill
e6fddcb @trebb continued work
authored
524 \vspace*{43mm}% Adjust here if text below changes
57fec11 @trebb intial revision, cleaned for public
authored
525 \begin{minipage}{\titlepagewidth}
526 \hrule
527 \vspace{1.5mm}
528 \rmfamily\small
d18f824 @trebb minor changes
authored
529 \makebox[\textwidth][l]{\maintitle\ \hfill Revision \input{REVISION}
530 [\input{DATE}\hspace{-.65ex}]}
6360751 @trebb hyperlinks added, html slightly changed
authored
531 \makebox[\textwidth][l]{Copyright \copyright\ 2008 \AUTHOR\hfill\LaTeX\ source:
532 \href{http://clqr.berlios.de}{http://clqr.berlios.de}}\\[1.5mm]
57fec11 @trebb intial revision, cleaned for public
authored
533 Permission is granted to copy, distribute and/or modify this
534 document under the terms of the GNU Free Documentation License,
535 Version 1.2 or any later version published by the Free Software
536 Foundation; with no Invariant Sections, no Front-Cover Texts and
28e57ae @trebb minor changes
authored
537 no Back-Cover Texts.\hfill
6360751 @trebb hyperlinks added, html slightly changed
authored
538 \href{http://www.gnu.org/licenses/fdl.html}{http://www.gnu.org/licenses/fdl.html}\\
57fec11 @trebb intial revision, cleaned for public
authored
539 \vspace{-1mm}
540 \hrule
541 \end{minipage}
542 \end{center}
543 \end{titlepage}
544
545 \end{document}
546 % -*-latex-*-
ba50327 @trebb toc partly abbreviated, lots of typos fixed
authored
547
548 % LocalWords: ptm lightgray cl lispref theindex pt
Something went wrong with that request. Please try again.