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{klut12.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 %\setlength\marginparwidth{0in}
19 %\addtolength{\textwidth}{8pc}
24 %\author{Kluwer Academic Publishers\surname{}}
27 % This internal file takes care of list definitions and `general'
28 % point size options. This is a tight version.
32 %\newpage\section{Implementation}
34 \ProvidesFile{klut12.clo}[\filedate ]
36 % \subsection{Section size commands}
37 % added command: |\little|. This between |\scriptsize| and
38 % |\tiny|. Allowed type provided values: 6/7, 8/9, 9/10.5,
39 % 10/11.5, 11/12.5 12/13.5, 14/18, 17/22, 20/25, 25/30.
41 \renewcommand\normalsize{%
42 \@setfontsize\normalsize\@xiipt{13.5}%
43 \abovedisplayskip 11\p@ \@plus 2\p@ \@minus5\p@
44 \abovedisplayshortskip 1\p@ \@plus 3\p@
45 \belowdisplayshortskip 7\p@ \@plus 3\p@ \@minus3\p@
46 \belowdisplayskip \abovedisplayskip
50 \@setfontsize\small\@xipt{12.5}%
51 \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
52 \abovedisplayshortskip \z@ \@plus2\p@
53 \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
54 \def\@listi{\leftmargin\leftmargini
55 \topsep 4\p@ \@plus2\p@ \@minus2\p@
56 \parsep 2\p@ \@plus\p@ \@minus\p@
58 \belowdisplayskip \abovedisplayskip
60 \newcommand\footnotesize{%
61 \@setfontsize\footnotesize\@xpt{11.5}%
62 \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
63 \abovedisplayshortskip \z@ \@plus\p@
64 \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
65 \def\@listi{\leftmargin\leftmargini
66 \topsep 3\p@ \@plus\p@ \@minus\p@
67 \parsep 2\p@ \@plus\p@ \@minus\p@
69 \belowdisplayskip \abovedisplayskip
71 \newcommand\scriptsize{\@setfontsize\scriptsize\@ixpt{10.5}}
72 \newcommand\little{\@setfontsize\little\@viiipt{9}}
73 \newcommand\tiny{\@setfontsize\tiny\@vipt\@viipt}
74 \newcommand\large{\@setfontsize\large\@xivpt{18}}
75 \newcommand\Large{\@setfontsize\Large\@xviipt{22}}
76 \newcommand\LARGE{\@setfontsize\LARGE\@xxpt{25}}
77 \newcommand\huge{\@setfontsize\huge\@xxvpt{30}}
78 \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
80 % \subsection{Various values}
81 % Note that |\hoffset| and |\voffset| are both compensated. This makes
82 % the calculations below easier.
84 \setlength\hoffset{-1in}
85 \setlength\voffset{-1in}
86 \setlength\parindent {14\p@}
87 \setlength\headheight{12\p@}
88 \setlength\headsep {12\p@}
89 \setlength\topskip {10\p@}
90 \setlength\footskip {27.5\p@}
91 \setlength\marginparsep{10pt}
92 \setlength\marginparpush{5\p@}
93 \setlength\maxdepth {.5\topskip}
94 \setlength\@maxdepth\maxdepth
95 \setlength\columnsep{12pt}
96 \setlength\columnseprule{0pt}
97 \setlength\fboxsep{3pt}
98 \setlength\fboxrule{.4pt}
100 % \subsection{Textheight and textwidth}
101 % These are the main reason for the existence of these files. For some
102 % stupid reason, \LaTeX\ calculates textwidth out of |\paperwidth|. We
103 % did want to support letter paper, but our |\textwidth| is fixed,
104 % with the margins being calculated.
106 % Presume |\textwidth| and |\marginparwidth| are set in the stylefile,
107 % or we're in trouble. The |2pc| value is used to
108 % compensate for the `dead' corners in most laserprinters.
110 % Calculations are done `AtBeginDocument' to allow changes made in the
111 % preamble and later on in the stylefile.
113 \newdimen\id@boxheight
115 \setlength\@tempdima{\paperwidth}%
116 \addtolength\@tempdima{-\textwidth}%
117 \divide\@tempdima by 2
118 \setlength\@tempdimb\marginparwidth
119 \addtolength\@tempdimb\marginparsep
120 \addtolength\@tempdimb{2pc}%
121 \ifdim \@tempdima <\@tempdimb
122 \@settopoint\@tempdimb
123 \GenericError{Pointsize}{Pointsize Error: Marginpars disabled}{}{You made
124 your \string\textwidth\space (\the\textwidth) and
125 \string\marginparwidth (\the\marginparwidth) too wide.\MessageBreak
126 The allowed value for margin space: (\the\@tempdima). Needed value:
127 (\the\@tempdimb).\MessageBreak
129 so I will set \string\marginparwidth\space to 0pt.\MessageBreak
130 Let's hope that fixes it.
135 \ifdim \@tempdima <2pc
136 \@tempdimb=\paperwidth
137 \advance\@tempdimb by -4pc
138 \@settopoint\@tempdimb
139 \GenericError{Pointsize}{Pointsize Error: Invalid sizes given}{}{You
140 made your \string\textwidth\space (\the\textwidth)
141 wider than the available total\MessageBreak
142 (Which is: \the\@tempdimb). Please press X and try again.
145 \oddsidemargin \@tempdima
146 \evensidemargin \@tempdima
148 % These calculations are a lot easier.
149 % |\textheight| should have been set already. This does not check for the
150 % correct placement of the identification line!!
152 \setlength\@tempdima{\paperheight}
153 \addtolength\@tempdima{-\footskip}
154 \addtolength\@tempdima{-\headheight}
155 \addtolength\@tempdima{-\headsep}
156 \setlength\@tempdimb{\@tempdima}
157 \addtolength\@tempdima{-\textheight}
158 \divide\@tempdima by 2
159 \ifdim \@tempdima <2pc
160 \advance\@tempdimb by -4pc
161 \@settopoint\@tempdimb
162 \GenericError{Pointsize}{Pointsize Error: Invalid sizes given}{}{You
163 made your \string\textheight\space (\the\textheight)
164 more than the available total.\MessageBreak
165 (Which is: \the\@tempdimb). Please press X and try again.
168 \setlength\topmargin{\@tempdima}
169 \setlength\id@boxheight{\@tempdima}
170 \advance\id@boxheight by -2pc
175 \setlength\footnotesep{6.65\p@}
176 \setlength{\skip\footins}{12\p@ \@plus 4\p@ \@minus 2\p@}
179 % List default values
181 \setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
182 \setlength{\leftmargini}{2em}
183 \setlength{\leftmarginii}{2.2em}
184 \setlength{\leftmarginiii}{1.87em}
185 \setlength{\leftmarginiv}{1.7em}
186 \setlength{\leftmarginv}{1em}
187 \setlength{\leftmarginvi}{1em}
188 \setlength{\labelsep}{.4em}
189 \setlength{\labelwidth}{\leftmargini}
190 \addtolength{\labelwidth}{-\labelsep}
192 % Note that lists below level 3 do nothing else then readjusting the
193 % |\labelwidth|. This results in very small labels for the inner lists.
196 \leftmargin \leftmargini
197 \topsep 11\p@ \@plus 3\p@ \@minus 5\p@
198 \partopsep 4.5\p@ \@plus 1\p@ \@minus 2\p@
199 \itemsep 6\p@ \@plus 2\p@ \@minus 1\p@
200 \parsep 6\p@ \@plus 2\p@ \@minus 1\p@ }
202 \leftmargin \leftmarginii
203 \labelwidth \leftmarginii
204 \advance\labelwidth by -\labelsep
205 \topsep 6\p@ \@plus 2\p@ \@minus 1\p@
206 \parsep 3\p@ \@plus 1\p@ \@minus 1\p@
209 \leftmargin \leftmarginiii
210 \labelwidth \leftmarginiii
211 \advance\labelwidth by -\labelsep
212 \topsep 2\p@ \@plus 1\p@ \@minus 1\p@
214 \partopsep 1\p@ \@plus 0\p@ \@minus 1\p@
217 \setlength{\leftmargin}{\leftmarginiv}%
218 \setlength{\labelwidth}{\leftmarginiv}%
219 \addtolength{\labelwidth}{-\labelsep}}
221 \setlength{\leftmargin}{\leftmarginv}%
222 \setlength{\labelwidth}{\leftmarginv}%
223 \addtolength{\labelwidth}{-\labelsep}}
225 \setlength{\leftmargin}{\leftmarginvi}%
226 \setlength{\labelwidth}{\leftmarginvi}%
227 \addtolength{\labelwidth}{-\labelsep}}
231 % \subsection{Float separation parameters}
232 % Separation on text pages.
234 \setlength\floatsep{12\p@ \@plus 2\p@ \@minus 2\p@}
235 \setlength\textfloatsep{24\p@ \@plus 2\p@ \@minus 4\p@}
236 \setlength\intextsep{12\p@ \@plus 2\p@ \@minus 2\p@}
237 \setlength\dblfloatsep{12\p@ \@plus 2\p@ \@minus 2\p@}
238 \setlength\dbltextfloatsep{24\p@ \@plus 2\p@ \@minus 4\p@}
240 % Separation on float pages
242 \setlength\@fptop{0\p@ \@plus 1fil}
243 \setlength\@fpsep{10\p@ \@plus 2fil}
244 \setlength\@fpbot{0\p@ \@plus 1fil}
245 \setlength\@dblfptop{0\p@ \@plus 1fil}
246 \setlength\@dblfpsep{10\p@ \@plus 2fil}
247 \setlength\@dblfpbot{0\p@ \@plus 1fil}
253 %% End of file `klut12.clo'.