1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
|
%
%
\ifcat a\noexpand @\let\next\relax\else \def\next{%
\documentclass[9pt]{kluwer}\usepackage{doc}\MakePercentIgnore}\fi\next
\NeedsTeXFormat{LaTeX2e}
\def\filedate{1998/02/11}
\def\filename{klut9.clo}
%\DoNotIndex{\@M,\def,\c@secnumdepth,\baselineskip,\p@,\else,\fi}
%\DoNotIndex{\newcommand,\z@,\relax,\renewcommand,\ifnum,\csname,\endcsname}
%\DoNotIndex{\baselineskip,\vskip,\hskip,\relax,\secdef,\refstepcounter}
%\DoNotIndex{\setlength,\@plus,\@minus,\protect,\endinput}
%\CodelineIndex
%\newcommand{\Bs}{}
%\parindent=0pt
%\parskip=3pt
%\setlength\marginparwidth{0in}
%\hfuzz=10pt
%\MakeShortVerb{\|}
%\addtolength{\textwidth}{4pc}
%\begin{document}
%\begin{opening}
%\title{\filename}
%\date{\filedate}
%\author{Kluwer Academic Publishers\surname{}}
%\institute{~}
%\begin{abstract}
% This internal file takes care of list definitions and `general'
% point size options. This is a `tight' file.
%\end{abstract}
%\end{opening}
%\tableofcontents
%\newpage\section{Implementation}
% \begin{macrocode}
\ProvidesFile{klut9.clo}[\filedate ]
% \end{macrocode}
% \subsection{Section size commands}
% added command: |\little|. This is identical to |\tiny| here.
% Allowed type provided values: 5/6, 6/7, 7/8, 8/9, 9/10.5,
% 10/11.5, 11/13, 12/14, 14/18, 17/22, 20/25.
% \begin{macrocode}
\renewcommand\normalsize{%
\@setfontsize\normalsize\@ixpt{10.5}%
\abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
\abovedisplayshortskip \z@ \@plus2\p@
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
\belowdisplayskip \abovedisplayskip
\let\listi\@listI}
\normalsize
\newcommand\small{%
\@setfontsize\small\@viiipt{9}%
\abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
\abovedisplayshortskip \z@ \@plus\p@
\belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
\def\@listi{\leftmargin\leftmargini
\topsep 3\p@ \@plus\p@ \@minus\p@
\parsep 2\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip
}
\newcommand\footnotesize{%
\@setfontsize\footnotesize\@viipt{8}%
\abovedisplayskip 4\p@ \@plus2\p@ \@minus2\p@
\abovedisplayshortskip \z@ \@plus\p@
\belowdisplayshortskip 2\p@ \@plus\p@ \@minus1\p@
\def\@listi{\leftmargin\leftmargini
\topsep 2\p@ \@plus\p@ \@minus\p@
\parsep 1\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip
}
\newcommand\scriptsize{\@setfontsize\scriptsize\@vipt\@viipt}
\newcommand\little{\@setfontsize\little\@vpt\@vipt}
\newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
\newcommand\large{\@setfontsize\large\@xpt{11.5}}
\newcommand\Large{\@setfontsize\Large\@xiipt{14}}
\newcommand\LARGE{\@setfontsize\LARGE\@xivpt{18}}
\newcommand\huge{\@setfontsize\huge\@xviipt{22}}
\newcommand\Huge{\@setfontsize\Huge\@xxpt{25}}
% \end{macrocode}
% \subsection{Various values}
% Note that |\hoffset| and |\voffset| are both compensated. This makes
% the calculations below easier.
% \begin{macrocode}
\setlength\hoffset{-1in}
\setlength\voffset{-1in}
\setlength\parindent {14\p@}
\setlength\headheight{12\p@}
\setlength\headsep {12\p@}
\setlength\topskip {10\p@}
\setlength\footskip {25\p@}
\setlength\marginparsep{10pt}
\setlength\marginparpush{5\p@}
\setlength\maxdepth {.5\topskip}
\setlength\@maxdepth\maxdepth
\setlength\columnsep{10pt}
\setlength\columnseprule{0pt}
\setlength\fboxsep{3pt}
\setlength\fboxrule{.4pt}
% \end{macrocode}
% \subsection{Textheight and textwidth}
% These are the main reason for the existence of these files. For some
% stupid reason, \LaTeX\ calculates textwidth out of |\paperwidth|. We
% did want to support letter paper, but our |\textwidth| is fixed,
% with the margins being calculated.
%
% Presume |\textwidth| and |\marginparwidth| are set in the stylefile,
% or we're in trouble. The |2pc| value is used to
% compensate for the `dead' corners in most laserprinters.
%
% Calculations are done `AtBeginDocument' to allow changes made in the
% preamble and later on in the stylefile.
% \begin{macrocode}
\newdimen\id@boxheight
\AtBeginDocument{%
\setlength\@tempdima{\paperwidth}%
\addtolength\@tempdima{-\textwidth}%
\divide\@tempdima by 2
\setlength\@tempdimb\marginparwidth
\addtolength\@tempdimb\marginparsep
\addtolength\@tempdimb{2pc}%
\ifdim \@tempdima <\@tempdimb
\@settopoint\@tempdimb
\GenericError{Pointsize}{Pointsize Error: Marginpars disabled}{}{You made
your \string\textwidth\space (\the\textwidth) and
\string\marginparwidth (\the\marginparwidth) too wide.\MessageBreak
The allowed value for margin space: (\the\@tempdima). Needed value:
(\the\@tempdimb).\MessageBreak
This is not enough,
so I will set \string\marginparwidth\space to 0pt.\MessageBreak
Let's hope that fixes it.
}%
\marginparwidth \z@
\marginparsep \z@
\fi
\ifdim \@tempdima <2pc
\@tempdimb=\paperwidth
\advance\@tempdimb by -4pc
\@settopoint\@tempdimb
\GenericError{Pointsize}{Pointsize Error: Invalid sizes given}{}{You
made your \string\textwidth\space (\the\textwidth)
wider than the available total\MessageBreak
(Which is: \the\@tempdimb). Please press X and try again.
}%
\fi
\oddsidemargin \@tempdima
\evensidemargin \@tempdima
% \end{macrocode}
% These calculations are a lot easier.
% |\textheight| should have been set already. This does not check for the
% correct placement of the identification line!!
% \begin{macrocode}
\setlength\@tempdima{\paperheight}
\addtolength\@tempdima{-\footskip}
\addtolength\@tempdima{-\headheight}
\addtolength\@tempdima{-\headsep}
\setlength\@tempdimb{\@tempdima}
\addtolength\@tempdima{-\textheight}
\divide\@tempdima by 2
\ifdim \@tempdima <2pc
\advance\@tempdimb by -4pc
\@settopoint\@tempdimb
\GenericError{Pointsize}{Pointsize Error: Invalid sizes given}{}{You
made your \string\textheight\space (\the\textheight)
more than the available total.\MessageBreak
(Which is: \the\@tempdimb). Please press X and try again.
}%
\fi
\setlength\topmargin{\@tempdima}
\setlength\id@boxheight{\@tempdima}
\advance\id@boxheight by -2pc
}
% \end{macrocode}
%
% \begin{macrocode}
\setlength\footnotesep{6\p@}
\setlength{\skip\footins}{9\p@ \@plus 4\p@ \@minus 2\p@}
% \end{macrocode}
% \subsection{Lists}
% List default values
% \begin{macrocode}
\setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
\setlength{\leftmargini}{1.9em}
\setlength{\leftmarginii}{2em}
\setlength{\leftmarginiii}{1.7em}
\setlength{\leftmarginiv}{1.4em}
\setlength{\leftmarginv}{1em}
\setlength{\leftmarginvi}{1em}
\setlength{\labelsep}{.4em}
\setlength{\labelwidth}{\leftmargini}
\addtolength{\labelwidth}{-\labelsep}
% \end{macrocode}
% Note that lists below level 3 do nothing else then readjusting the
% |\labelwidth|. This results in very small labels for the inner lists.
% \begin{macrocode}
\def\@listI{%
\leftmargin \leftmargini
\topsep 8\p@ \@plus2\p@ \@minus2\p@
\partopsep 2\p@ \@plus 1\p@ \@minus 1\p@
\itemsep 4\p@ \@plus 2\p@ \@minus 1\p@
\parsep 4\p@ \@plus 2\p@ \@minus 1\p@ }
\def\@listii{%
\leftmargin \leftmarginii
\labelwidth \leftmarginii
\advance\labelwidth by -\labelsep
\topsep 4.5\p@ \@plus 2\p@ \@minus 1\p@
\parsep 2\p@ \@plus 1\p@ \@minus 1\p@
\itemsep \parsep}
\def\@listiii{%
\leftmargin \leftmarginiii
\labelwidth \leftmarginiii
\advance\labelwidth by -\labelsep
\topsep 2\p@ \@plus 1\p@ \@minus 1\p@
\parsep \z@
\partopsep 1\p@ \@plus 0\p@ \@minus 1\p@
\itemsep \topsep}
\def\@listiv{%
\setlength{\leftmargin}{\leftmarginiv}%
\setlength{\labelwidth}{\leftmarginiv}%
\addtolength{\labelwidth}{-\labelsep}}
\def\@listv{%
\setlength{\leftmargin}{\leftmarginv}%
\setlength{\labelwidth}{\leftmarginv}%
\addtolength{\labelwidth}{-\labelsep}}
\def\@listvi{%
\setlength{\leftmargin}{\leftmarginvi}%
\setlength{\labelwidth}{\leftmarginvi}%
\addtolength{\labelwidth}{-\labelsep}}
\let\@listi\@listI
\@listi
% \end{macrocode}
% \subsection{Float separation parameters}
% Separation on text pages.
% \begin{macrocode}
\setlength\floatsep{10\p@ \@plus 2\p@ \@minus 2\p@}
\setlength\textfloatsep{18\p@ \@plus 2\p@ \@minus 4\p@}
\setlength\intextsep{10\p@ \@plus 2\p@ \@minus 2\p@}
\setlength\dblfloatsep{10\p@ \@plus 2\p@ \@minus 2\p@}
\setlength\dbltextfloatsep{18\p@ \@plus 2\p@ \@minus 4\p@}
% \end{macrocode}
% Separation on float pages
% \begin{macrocode}
\setlength\@fptop{0\p@ \@plus 1fil}
\setlength\@fpsep{8\p@ \@plus 2fil}
\setlength\@fpbot{0\p@ \@plus 1fil}
\setlength\@dblfptop{0\p@ \@plus 1fil}
\setlength\@dblfpsep{8\p@ \@plus 2fil}
\setlength\@dblfpbot{0\p@ \@plus 1fil}
\endinput
% \end{macrocode}
%\PrintIndex
%\end{document}
%% End of file `klu9.clo'.
|