Skip to content

HTTPS clone URL

Subversion checkout URL

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