Skip to content

HTTPS clone URL

Subversion checkout URL

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