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