html: links fixed
[clqr.git] / clqr.tex
blobbcbad7d157b6ca3f93f0d5d0b00765d810263f31
1 % Copyright (C) 2008, 2009 Bert Burgemeister
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.
10 \newcommand{\maintitle}{Common\ Lisp\ Quick\ Reference}
11 \newcommand{\AUTHOR}{Bert\ Burgemeister}
13 %%%%%%%%%%%%%%%%%%
14 % pdf info
15 \newcommand{\SUBJECT}{Common\ Lisp}
16 \newcommand{\KEYWORDS}{clqr}
18 %%%%%%%%%%%%%%%%%%
19 % To be reset in paper-*.tex if there is plenty of room
20 \newcommand{\clearpagebeforeindex}{}
23 \documentclass[8pt,pagesize,twoside,footexclude,headexclude]{scrartcl}
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}
33 %\renewcommand{\clearpagebeforeindex}{\clearpage}
34 %%%%%%%%%%%%%%%%%%
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 %%%%%%%%%%%%%%%%%%
45 \usepackage{amsmath}
46 \usepackage{amsfonts}
47 \usepackage{amssymb}
48 \usepackage{rotating}
49 \usepackage{graphics}
50 \usepackage{multicol}
51 \usepackage{textcase}
52 \usepackage{textcomp}
53 \usepackage{ulem}
54 \usepackage[usenames,dvips]{color}
55 \usepackage{suffix}
56 \usepackage{makeidx}
57 \definecolor{frontcovergray}{gray}{.85}
58 \definecolor{backcovergray}{gray}{.9}
59 \usepackage[pagestyles]{titlesec}
60 \usepackage{titletoc}
62 %%%%%%%%%%%%%%%%%%
63 % Two font alternatives:
64 % (A) All (except cover pages) Computer Modern --
65 % everything comes from the same sound root; gets about 5% longer
66 % than alternative (B)
67 \usepackage{type1cm}
68 \usepackage{exscale}
69 %%%%%%%%%%%%%%%%%%
70 % (B) Times mixed with Helvetica --
71 % different sources; need scaling as they don't even agree in
72 % their concept of height
73 %\usepackage{mathptmx}
74 %\usepackage[scaled]{helvet}
75 %%%%%%%%%%%%%%%%%%
77 % should remain last usepackage:
78 \usepackage%
79 [breaklinks,linktocpage,colorlinks,%
80 bookmarksnumbered,bookmarks=\bookmarks,%
81 linkcolor=\linkcolor,urlcolor=\urlcolor,%
82 pdfpagelayout=\pdfpagelayout,%
83 pdftitle=\maintitle,pdfauthor=\AUTHOR,%
84 pdfsubject=\SUBJECT,pdfkeywords=\KEYWORDS]%
85 {hyperref}
87 \makeindex
88 \titleformat{\section}{\sffamily\mdseries\slshape}
89 {\huge\thesection}{.7em}{\huge}[{\titlerule[0.25pt]}]
91 \titleformat{\subsection}{\sffamily\mdseries\slshape}
92 {\Large\thesubsection}{.7em}{\Large}[{\titlerule[0.25pt]}]
94 % Kill toc header as we want it to span columns
95 \makeatletter
96 \renewcommand{\toc@heading}{}
97 \makeatother
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}}%
106 \titlecontents{subsection}%
107 [4em]%
108 {\sffamily\mdseries\upshape\filright}%
109 {\contentslabel{2.5em}}%
110 {\hspace*{5.5em}}%
111 {\hspace{.5ex plus .5ex minus .3ex}\titlerule*[1em]{.}\contentspage}%
113 \newlength{\LISTlinewidth}
114 \newenvironment{LIST}[1]%
116 \LISTlinewidth=\linewidth%
117 \begin{flushleft}%
118 \begin{list}{}%
119 {\setlength{\itemindent}{-#1}\setlength{\leftmargin}{#1}}%
120 %\parskip0pt\itemsep0pt%
122 {\end{list}%
123 \end{flushleft}%
126 %\renewcommand{\topfraction}{1}
127 \renewcommand{\bottomfraction}{1}
128 %\renewcommand*{\figureformat}{}
129 %\renewcommand*{\captionformat}{}
130 \renewcommand{\thefootnote}{\fnsymbol{footnote}}
132 \setlength{\parfillskip}{5cm plus1cm minus3cm}
133 \setlength{\arraycolsep}{0pt}
136 \def\startexplanation{$\triangleright$\hskip1.4ex}
137 \newlength{\ITwidth}
138 \newlength{\ITrest}
139 \newlength{\ITtab}\ITtab=3em
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%
148 \settowidth{\ITwidth}{%
149 #1\unskip\hskip1em\hskip\ITrest%
150 \startexplanation#2%
152 \item{}%
153 \ifdim\ITwidth < \LISTlinewidth% Entry fits into a single line
154 #1\unskip\hskip1em\hskip\ITrest%
155 \startexplanation#2%
156 \else%
158 \unskip\penalty-10000%
159 \parbox[t]{\linewidth}{\startexplanation#2}%
160 \fi%
164 \newpagestyle{lispref}[\sffamily\mdseries\slshape]{
165 \headrule\footrule
166 \sethead*{}{}{\maintitle\/}
167 \setfoot*{}{}{\thepage\/}}
168 \pagestyle{lispref}
171 % Literal Text
172 \newcommand{\LIT}[1]{\text{{\fontfamily{cmtt}\selectfont#1}}}
174 % Variable Text
175 \newcommand{\VAR}[1]{\text{{\fontfamily{cmr}\fontshape{it}\selectfont#1\/}}}
177 % Not Evaluated
178 \newcommand{\NEV}[1]{\text{{$\widehat{#1}$}}}
180 % Subjected to Destruction
181 \newcommand{\DES}[1]{\text{{$\widetilde{#1}$}}}
183 % Default Value
184 \newcommand{\DF}[1]{\text{\textsubscript{\setlength{\fboxsep}{.5pt}\setlength{\fboxrule}{.1pt}\fbox{#1}}}}
186 % Optional Part, [], two sizes
187 \newcommand{\OP}[1]{{\text{$\big[$}{#1}\text{$\big]$}}}
188 \newcommand{\Op}[1]{{\text{$[$}{#1}\text{$]$}}}
190 % Or, |
191 \newcommand{\XOR}{\hspace{1pt}\text{\rule[-.9ex]{.25pt}{3ex}}\hspace{1pt}}
192 %\newcommand{\XOR}{\text{$\mid$}\hspace{0pt}}
194 % Optional Parts, *
195 \newcommand{\OPn}[1]{{{#1}\text{${}^{*}$}}}
197 % Required Parts, +
198 \newcommand{\RP}[1]{{{#1}\text{${}^{+}$}}}
200 % Implicit PROGN, P*
201 \newcommand{\PROGN}[1]{{{#1}\text{${}^{{\raisebox{.5ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{-.6ex}P}}*}}$}}}
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
208 \newcommand{\GOOs}[1]{{$\Big\{${#1}$\Big\}^{\!\!*}$}} % this one can
209 % have line breaks
210 \newcommand{\GOos}[1]{\text{{$\big\{${#1}$\big\}^{\!\!*}$}}}
211 \newcommand{\Goos}[1]{\text{{$\{${#1}$\}^{\!*}$}}}
212 % Required Group of Objects, {}+, three sizes
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{$\}^{\!+}$}}}
217 % Vertically Arranged Group of Alternatives, {
218 % usage: \xorGOO{line1\\ line2...}{closing delimiter}
219 \newcommand{\xorGOO}[2]{\text{\(%
220 \left\{\!%
221 \begin{array}{l}%
223 \end{array}\!%
224 \right#2%
225 \)}}
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}%
233 \end{array}\!%
234 \right.\right#2%
235 \)}}
237 % Vertically Arranged Group of Objects, No Opening {
238 % usage: \arrGOO{line1\\line2}{closing delimiter}
239 \newcommand{\arrGOO}[2]{\text{\(\!%
240 \left.%
241 \begin{array}{l}%
243 \end{array}\!%
244 \right#2%
245 \)}}
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{\;%
254 \begin{array}[t]{l}%
256 \end{array}%
259 \)}}
261 % In a Boxed Group of Alternatives: Replacement for \\ with additional
262 % vspace
263 \newcommand{\boxGOOcr}{\vspace{1ex}\\}
266 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
267 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
268 % All sorts of tags attached to lisp keywords
269 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
270 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
272 \newlength{\TAGwidth}
273 \newlength{\KEYWORDwidth}
275 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
276 % Generic Keyword, Lowercase
277 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
278 \newcommand{\kwd}[1]{\text{{\sffamily\bfseries\selectfont%
279 \lowercase{#1}}}}
281 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
282 % Generic Keyword, Uppercase
283 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
284 \newcommand{\KWD}[1]{\text{{\sffamily\bfseries\selectfont%
285 \uppercase{#1}}}}
287 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
288 % Macro
289 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
290 \newcommand{\MC}[1]{%
291 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}Mx}% x just for space
292 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
293 \ifdim\TAGwidth > \KEYWORDwidth%
294 \text{{\sffamily\bfseries\selectfont%
295 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}M}}\lowercase{#1}}}}%
296 \else%
297 \text{{\sffamily\bfseries\selectfont%
298 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}M}}\lowercase{#1}}}}%
299 \fi}
301 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
302 % Special Operator
303 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
304 \newcommand{\SO}[1]{%
305 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}SOx}% x just for space
306 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
307 \ifdim\TAGwidth > \KEYWORDwidth%
308 \text{{\sffamily\bfseries\selectfont%
309 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}sO}}\lowercase{#1}}}}%
310 \else%
311 \text{{\sffamily\bfseries\selectfont%
312 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}sO}}\lowercase{#1}}}}%
313 \fi}
315 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
316 % Function
317 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
318 \newcommand{\FU}[1]{%
319 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}Fux}% x just for space
320 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
321 \ifdim\TAGwidth > \KEYWORDwidth%
322 \text{{\sffamily\bfseries\selectfont%
323 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}Fu}}\lowercase{#1}}}}%
324 \else%
325 \text{{\sffamily\bfseries\selectfont%
326 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}Fu}}\lowercase{#1}}}}%
327 \fi}
329 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
330 % Generic Function
331 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
332 \newcommand{\GFU}[1]{%
333 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}gFx}% x just for space
334 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
335 \ifdim\TAGwidth > \KEYWORDwidth%
336 \text{{\sffamily\bfseries\selectfont%
337 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}gF}}\lowercase{#1}}}}%
338 \else%
339 \text{{\sffamily\bfseries\selectfont%
340 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}gF}}\lowercase{#1}}}}%
341 \fi}
343 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
344 % Variable
345 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
346 \newcommand{\V}[1]{%
347 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.8em}varx}% x just for space
348 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
349 \ifdim\TAGwidth > \KEYWORDwidth%
350 \text{{\sffamily\bfseries\selectfont%
351 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}var}}\lowercase{#1}}}}%
352 \else%
353 \text{{\sffamily\bfseries\selectfont%
354 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.8em}var}}\lowercase{#1}}}}%
355 \fi}
357 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
358 % Constant
359 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
360 \newcommand{\CNS}[1]{%
361 \settowidth{\TAGwidth}{\tiny\sffamily\mdseries\hspace*{.5em}cox}% x just for space
362 \settowidth{\KEYWORDwidth}{\lowercase{#1}}%
363 \ifdim\TAGwidth > \KEYWORDwidth%
364 \text{{\sffamily\bfseries\selectfont%
365 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{0em}co}}\lowercase{#1}}}}%
366 \else%
367 \text{{\sffamily\bfseries\selectfont%
368 {\raisebox{1.4ex}[0pt][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}co}}\lowercase{#1}}}}%
369 \fi}
371 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
372 % Loop Keyword
373 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
374 \newcommand{\LKWD}[1]{\text{{\sffamily\bfseries\selectfont%
375 {\raisebox{1.4ex}[1ex][0pt]{\tiny\sffamily\mdseries\makebox[0pt][l]{\hspace{.5em}}}\lowercase{#1}}}}}
377 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
378 % Return Values, First, Second, nth, Third
379 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
380 \renewcommand{\ULthickness}{.2pt}
381 \newcommand{\retval}[1]{\uline{#1}}
382 %\newcommand{\retvalii}[1]{\uuline{#1}}
383 \newcommand{\retvaln}[2]{{%
384 {\raisebox{-1.7ex}[0pt][1.4ex]{\tiny\sffamily\upshape\mdseries\makebox[0pt][l]{\hspace{-.1em}#1}}\uline{#2}}}}
385 \newcommand{\retvalii}[1]{\retvaln{2}{#1}}
386 \newcommand{\retvaliii}[1]{\retvaln{3}{#1}}
388 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
389 % T and NIL
390 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
391 \newcommand{\T}{\text{\ttfamily T}}
392 \newcommand{\NIL}{\text{\ttfamily NIL}}
394 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
395 % ~ (slightly lowered)
396 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
397 \newcommand{\TLD}{{\protect\raisebox{-.8ex}{\textasciitilde}}}
399 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
400 % * (lowered version)
401 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
402 \newcommand{\A}{\textasteriskcentered}
404 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
405 % Starred commands send their argument into index:
406 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
407 \WithSuffix\newcommand\kwd*[1]{\kwd{#1}\uppercase{\index{#1}}}
408 \WithSuffix\newcommand\KWD*[1]{\KWD{#1}\uppercase{\index{#1}}}
409 \WithSuffix\newcommand\MC*[1]{\MC{#1}\uppercase{\index{#1}}}
410 \WithSuffix\newcommand\SO*[1]{\SO{#1}\uppercase{\index{#1}}}
411 \WithSuffix\newcommand\FU*[1]{\FU{#1}\uppercase{\index{#1}}}
412 \WithSuffix\newcommand\GFU*[1]{\GFU{#1}\uppercase{\index{#1}}}
413 \WithSuffix\newcommand\V*[1]{\V{#1}\uppercase{\index{#1}}}
414 \WithSuffix\newcommand\CNS*[1]{\CNS{#1}\uppercase{\index{#1}}}
415 \WithSuffix\newcommand\LKWD*[1]{\LKWD{#1}\uppercase{\index{#1}}}
417 \hyphenation{white-space pa-ra-me-ters}
419 \begin{document}
421 \newlength{\titlepagewidth}
422 \setlength{\titlepagewidth}{8cm}
423 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
424 %% Front Cover
425 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426 \begin{titlepage}
427 \renewcommand{\rmdefault}{ptm} %% Always times fonts on title
428 \advance\oddsidemargin by 1.5mm
429 \vspace*{15mm}
430 \begin{center}
431 \begin{minipage}{\titlepagewidth}
432 \begin{center}
433 \rmfamily\mdseries\itshape\fontsize{20}{0}\selectfont
434 Quick Reference\\
435 \end{center}
436 \end{minipage}
437 \vfill
438 \begin{minipage}{\titlepagewidth}
439 \begin{center}
440 \rmfamily\mdseries\itshape%
441 \fontsize{300}{0}\selectfont{\color{frontcovergray}cl\/}\\
442 \end{center}
443 \end{minipage}
444 \vfill
445 \begin{minipage}{\titlepagewidth}
446 \rmfamily\mdseries\itshape\fontsize{36}{0}\selectfont
447 \hfill Common\/\\[2mm]
448 \rmfamily\mdseries\upshape\fontsize{157}{0}\selectfont
449 \rule[3mm]{\textwidth}{1.5mm}\\
450 lisp\\[-10mm]
451 \rule[15mm]{5.5cm}{1.5mm}\hfill\rule[15mm]{1.77cm}{1.5mm}
452 \end{minipage}\\
453 \begin{minipage}{\titlepagewidth}
454 \rmfamily\mdseries\upshape\fontsize{14}{0}\selectfont
455 \AUTHOR
456 \vspace*{4mm}
457 \end{minipage}
458 \end{center}
460 \end{titlepage}
462 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
463 % TOC
464 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
465 \section*{\contentsname}
466 \vspace{-3ex}
468 \setlength{\columnsep}{1.5em}%
469 \begin{multicols}{2}
470 \tableofcontents
471 \end{multicols}%
473 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
474 \vfill
475 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
476 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
477 %%% CONTENT STARTS HERE %%%%%%%%%%%%%%%%%%%%%%%%
478 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
480 \input{clqr-typographic-conventions}
481 \clearpage
482 \input{clqr-numbers}
483 \input{clqr-characters}
484 \input{clqr-strings}
485 \input{clqr-conses}
486 \input{clqr-arrays}
487 \input{clqr-sequences}
488 \input{clqr-hash-tables}
489 \input{clqr-structures}
490 \input{clqr-control-structure}
491 \input{clqr-clos}
492 \input{clqr-conditions-and-errors}
493 \input{clqr-input-output}
494 \input{clqr-types-and-classes}
495 \input{clqr-packages-and-symbols}
496 \input{clqr-compiler}
497 \input{clqr-external-environment}
499 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
500 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
501 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
503 \clearpagebeforeindex % \clearpage dependent on paper size
505 \renewcommand{\indexpagestyle}{lispref}
506 \renewenvironment{theindex}%
507 {\begin{list}{}%
508 {\setlength{\itemindent}{-1em}\setlength{\leftmargin}{1em}}%
509 \parskip0pt plus .1pt \itemsep0pt%
510 \raggedright\looseness=-1%
512 {\end{list}}
513 \begin{multicols}{4}
514 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
515 [\section*{Index}\vspace{-5ex}]
516 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
517 % Stock \printindex won't do as we want more than two columns.
518 \tiny\sffamily\input{clqr.ind}
519 \end{multicols}
522 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
523 % Make (total) page count a multiple of four.
524 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
525 \clearpage
526 \pagestyle{empty}
527 \newcount\currentpage
528 \currentpage=\value{page}
529 \divide\currentpage by 4
530 \multiply\currentpage by 4
531 \advance\currentpage by -\value{page}
533 \ifnum\the\currentpage=-3
534 \rule{0pt}{0pt}\clearpage
535 \else\ifnum\the\currentpage=-2
536 \rule{0pt}{0pt}\clearpage\rule{0pt}{0pt}\clearpage
537 \else\ifnum\the\currentpage=-1
538 \rule{0pt}{0pt}\clearpage\rule{0pt}{0pt}\clearpage\rule{0pt}{0pt}\clearpage
539 \fi\fi\fi
541 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
542 %% Back Cover
543 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
544 \begin{titlepage}
545 \advance\evensidemargin by -1.5mm
546 \begin{center}
547 \renewcommand{\rmdefault}{ptm} %% Always times fonts on title
548 \vspace*{20pt}
549 \vfill
550 \begin{minipage}{\titlepagewidth}
551 \begin{center}
552 \rmfamily\mdseries\itshape\fontsize{300}{0}\selectfont
553 \reflectbox{{\color{backcovergray}cl\/}}\\
554 \end{center}
555 \end{minipage}
556 \vfill
557 \vspace*{40.5mm}% Adjust here if text below changes
558 \begin{minipage}{\titlepagewidth}
559 \hrule
560 \vspace{1.5mm}
561 \rmfamily\small
562 \makebox[\textwidth][l]{\maintitle\ \hfill Revision \input{REVISION}
563 [\input{DATE}\hspace{-.65ex}]}
564 \makebox[\textwidth][l]{Copyright \copyright\ 2008, 2009
565 \AUTHOR\hfill}
566 \makebox[\textwidth][l]{\LaTeX\ source:
567 \href{http://clqr.berlios.de}{http://clqr.berlios.de}\hfill}\\[1mm]
568 Permission is granted to copy, distribute and/or modify this
569 document under the terms of the GNU Free Documentation License,
570 Version 1.2 or any later version published by the Free Software
571 Foundation; with no Invariant Sections, no Front-Cover Texts and
572 no Back-Cover Texts.\hfill
573 \href{http://www.gnu.org/licenses/fdl.html}{http://www.gnu.org/licenses/fdl.html}\\
574 \vspace{-1mm}
575 \hrule
576 \end{minipage}
577 \end{center}
578 \end{titlepage}
580 \end{document}
581 % -*-latex-*-
583 % LocalWords: ptm lightgray cl lispref theindex pt
585 %%% Local Variables:
586 %%% mode: latex
587 %%% TeX-master: t
588 %%% End: