Debian Codegraph @

texmf-dist/tex/latex/ntgclass/boek3.cls

raw
1 %%
2 %% This is file `boek3.cls',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% ntgclass.dtx (with options: `boek,type3')
8 %% This is a generated file.
9 %%
10 %% The source is maintained by Johannes Braams and bug
11 %% reports for it can be sent to texniek at braams.xs4all.nl
12 %%
13 %% Copyright (C) 1990-2026 Nederlandstalige TeX Gebruikersgroep.
14 %% All rights reserved.
15 %%
16 %% This file was generated from file(s) of the NTG document classes distribution.
17 %% ------------------------------------------------------------------------------
18 %%
19 %% It may be distributed and/or modified under the
20 %% conditions of the LaTeX Project Public License, either version 1.3c
21 %% of this license or (at your option) any later version.
22 %% The latest version of this license is in
23 %% http://www.latex-project.org/lppl.txt
24 %% and version 1.3c or later is part of all distributions of LaTeX
25 %% version 2008 or later.
26 %%
27 %% This work has the LPPL maintenance status "maintained".
28 %%
29 %% The Current Maintainer of this work is Johannes Braams.
30 %%
31 %% This file may only be distributed together with a copy of the NTG
32 %% document classes distribution. You may however distribute the NTG
33 %% document classes distribution without such generated files.
34 %%
35 %% The list of all files belonging to the NTG document classes
36 %% distribution is given in the file `manifest.txt'.
37 %%
38 %% The list of derived (unpacked) files belonging to the distribution
39 %% and covered by LPPL is defined by the unpacking scripts (with
40 %% extension .ins) which are part of the distribution.
41 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
42 \ProvidesClass{boek3}%
43 [2025/12/29 v2.1h
44 NTG LaTeX document class]
45 \newcommand*\@ptsize{}
46
47 \newif\if@restonecol
48 \newif\if@titlepage
49 \@titlepagetrue
50 \newif\if@openright
51 \newif\if@mainmatter \@mainmattertrue
52 \newif\if@oldtoc
53 \@oldtocfalse
54 \newif\if@allcaps
55 \newif\if@titlecentered
56 \@titlecenteredfalse
57 \newif\if@revlabel
58 \DeclareOption{a4paper}
59 {\setlength\paperheight {297mm}%
60 \setlength\paperwidth {210mm}}
61 \DeclareOption{a5paper}
62 {\setlength\paperheight {210mm}%
63 \setlength\paperwidth {148mm}}
64 \DeclareOption{b5paper}
65 {\setlength\paperheight {250mm}%
66 \setlength\paperwidth {176mm}}
67 \DeclareOption{letterpaper}
68 {\setlength\paperheight {11in}%
69 \setlength\paperwidth {8.5in}}
70 \DeclareOption{legalpaper}
71 {\setlength\paperheight {14in}%
72 \setlength\paperwidth {8.5in}}
73 \DeclareOption{executivepaper}
74 {\setlength\paperheight {10.5in}%
75 \setlength\paperwidth {7.25in}}
76 \DeclareOption{landscape}
77 {\setlength\@tempdima {\paperheight}%
78 \setlength\paperheight {\paperwidth}%
79 \setlength\paperwidth {\@tempdima}}
80 \DeclareOption{10pt}{\renewcommand\@ptsize{0}}
81 \DeclareOption{11pt}{\renewcommand\@ptsize{1}}
82 \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
83 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
84 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
85 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
86 \DeclareOption{final}{\setlength\overfullrule{0pt}}
87 \DeclareOption{titlepage}{\@titlepagetrue}
88 \DeclareOption{notitlepage}{\@titlepagefalse}
89 \DeclareOption{openright}{\@openrighttrue}
90 \DeclareOption{openany}{\@openrightfalse}
91 \DeclareOption{voorwerk}{\@titlepagetrue}
92 \DeclareOption{geenvoorwerk}{\@titlepagefalse}
93 \DeclareOption{oldtoc}{\@oldtoctrue}
94 \DeclareOption{titlecentered}{\@titlecenteredtrue}
95 \DeclareOption{mctitle}{\@allcapsfalse}
96 \DeclareOption{uctitle}{\@allcapstrue}
97 \DeclareOption{onecolumn}{\@twocolumnfalse}
98 \DeclareOption{twocolumn}{\@twocolumntrue}
99 \DeclareOption{leqno}{\input{leqno.clo}}
100 \DeclareOption{fleqn}{\input{fleqn.clo}}
101 \DeclareOption{openbib}{%
102 \AtEndOfPackage{%
103 \renewcommand\@openbib@code{%
104 \advance\leftmargin\bibindent
105 \itemindent -\bibindent
106 \listparindent \itemindent
107 \parsep \z@
108 }%
109 \renewcommand\newblock{\par}}%
110 }
111 \ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,uctitle,openright}
112 \ProcessOptions
113 \input{ntg1\@ptsize.clo}
114 \setlength\lineskip{1\p@}
115 \setlength\normallineskip{1\p@}
116 \renewcommand\baselinestretch{}
117 \newdimen\unitindent
118 {\setbox0\hbox{\normalsize\rmfamily 2.2.2\hskip.5em}
119 \global\unitindent=\wd0}
120 \newdimen\othermargin
121 {\setbox0\hbox{\normalsize (m)\hskip.6em}\global\othermargin=\wd0}
122 \newif\if@needwriteindent
123 \newcommand*\@indentset{%
124 \global\leftmargini=\unitindent
125 \global\@needwriteindenttrue}
126 \newcommand*\@writeindent[1]{\immediate\write\@mainaux
127 {\string\@ifundefined{unitindent}{\string\newdimen\string\unitindent
128 \let\string\@indentset\relax}{}}
129 \immediate\write\@mainaux{\global\string\unitindent=#1\string\relax
130 \string\@indentset \string\relax}}
131 \AtEndDocument{%
132 \if@filesw
133 \if@needwriteindent
134 \@writeindent{\the\unitindent}
135 \fi
136 \fi}
137 \setlength\parskip{.5\baselineskip \@plus .1\baselineskip
138 \@minus .1\baselineskip}
139 \setlength\parindent{\z@}
140 \@lowpenalty 51
141 \@medpenalty 151
142 \@highpenalty 301
143 \setcounter{topnumber}{2}
144 \renewcommand\topfraction{.7}
145 \setcounter{bottomnumber}{1}
146 \renewcommand\bottomfraction{.3}
147 \setcounter{totalnumber}{3}
148 \renewcommand\textfraction{.2}
149 \renewcommand\floatpagefraction{.5}
150 \setcounter{dbltopnumber}{2}
151 \renewcommand\dbltopfraction{.7}
152 \renewcommand\dblfloatpagefraction{.5}
153 \let\Thispagestyle\thispagestyle
154 \newcommand*\@emptypagestyle{empty}
155 \renewcommand*\pagestyle[1]{\@nameuse{ps@#1}\def\@currentpagestyle{#1}}
156 \renewcommand*\thispagestyle[1]{%
157 \ifx\@currentpagestyle\@emptypagestyle
158 \else
159 \global\@specialpagetrue
160 \gdef\@specialstyle{#1}%
161 \fi}
162 \renewcommand*\ps@plain{%
163 \let\@oddhead\@empty\let\@evenhead\@empty
164 \def\@oddfoot{\hfil\PageFont\thepage}%
165 \if@twoside
166 \def\@evenfoot{\PageFont\thepage\hfil}%
167 \else
168 \let\@evenfoot\@oddfoot
169 \fi
170 \let\@mkboth\@gobbletwo}
171 \if@twoside
172 \def\ps@headings{%
173 \let\@oddfoot\@empty\let\@evenfoot\@empty
174 \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}%
175 \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}%
176 \let\@mkboth\markboth
177 \def\chaptermark##1{%
178 \markboth {\MakeUppercase{\ifnum \c@secnumdepth >\m@ne
179 \if@mainmatter
180 \@chapapp\ \thechapter. \ %
181 \fi
182 \fi
183 ##1}}{}}%
184 \def\sectionmark##1{%
185 \markright {\MakeUppercase{\ifnum \c@secnumdepth >\z@
186 \thesection. \ \fi
187 ##1}}}}
188 \else
189 \def\ps@headings{%
190 \let\@oddfoot\@empty
191 \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}%
192 \let\@mkboth\markboth
193 \def\chaptermark##1{%
194 \markright {\MakeUppercase{%
195 \ifnum \c@secnumdepth >\m@ne
196 \if@mainmatter
197 \@chapapp\ \thechapter. \ %
198 \fi
199 \fi
200 ##1}}}}
201 \fi
202 \def\ps@myheadings{%
203 \let\@oddfoot\@empty\let\@evenfoot\@empty
204 \def\@evenhead{{\PageFont\thepage}\hfil\MarkFont\leftmark}%
205 \def\@oddhead{{\MarkFont\rightmark}\hfil\PageFont\thepage}%
206 \let\@mkboth\@gobbletwo
207 \let\chaptermark\@gobble
208 \let\sectionmark\@gobble
209 }
210 \newcommand*\PageFont{\rmfamily}
211 \newcommand*\MarkFont{\slshape}
212 \newcommand*\RunningFonts[2]{%
213 \renewcommand*\PageFont{#1}\renewcommand*\MarkFont{#2}}
214 \newcommand*\TitleFont{\bfseries}
215 \renewcommand*\TitleFont{\rmfamily}
216 \newcommand*\maketitle{%
217 \begin{titlepage}%
218 \let\footnotesize\small
219 \let\footnoterule\relax
220 \let \footnote \thanks
221 \long\def\@makefntext##1{\parindent\z@
222 \def\labelitemi{\textendash}\@revlabeltrue
223 \leavevmode\@textsuperscript{\@thefnmark}\kern1em\relax ##1}
224 \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
225 \if@compatibility\setcounter{page}{0}\fi
226 \null\vfil
227 \vskip 60\p@
228 \begin{center}%
229 \TitleFont
230 {\LARGE \def\\{\penalty -\@M}
231 \if@allcaps
232 \expandafter\uc@nothanks\@title\thanks\relax
233 \else
234 \@title
235 \fi\par}%
236 \vskip 3em%
237 {\large
238 \lineskip .75em \parindent\z@
239 \begin{tabular}[t]{c}%
240 \if@allcaps
241 \expandafter\uc@authornothanks\@author\and\relax
242 \else
243 \@author
244 \fi
245 \end{tabular}\par}%
246 \vskip 1.5em%
247 {\large
248 \if@allcaps
249 \uppercase\expandafter{\@date}%
250 \else
251 \@date
252 \fi\par}%
253 \end{center}\par
254 \@thanks
255 \vfil\null
256 \end{titlepage}%
257 \setcounter{footnote}{0}%
258 \global\let\thanks\relax
259 \global\let\maketitle\relax
260 \global\let\@thanks\@empty
261 \global\let\@author\@empty
262 \global\let\@title\@empty
263 \global\let\@date\@empty
264 \global\let\title\relax
265 \global\let\author\relax
266 \global\let\date\relax
267 \global\let\and\relax
268 }
269 \def\uc@nothanks#1\thanks{\uppercase{#1}\futurelet\@tempa\uc@tx}
270 \def\uc@authornothanks#1\and{\uc@nothanks#1\thanks\relax
271 \futurelet\@tempa\uc@ax}
272 \def\uc@ax{%
273 \ifx\@tempa\relax
274 \else
275 \\ \andname \\ \expandafter\uc@authornothanks
276 \fi}
277 \def\uc@tx{\ifx\@tempa\relax
278 \else \expandafter\uc@ty \fi}
279 \def\uc@ty#1{\thanks{#1}\uc@nothanks}
280 \newcommand*\head@style{%
281 \interlinepenalty \@M
282 \hyphenpenalty=\@M \exhyphenpenalty=\@M
283 \rightskip=0cm plus .7\hsize\relax}
284 \def\@sect#1#2#3#4#5#6[#7]#8{%
285 \ifnum #2>\c@secnumdepth
286 \let\@svsec\@empty
287 \else
288 \refstepcounter{#1}%
289 \begingroup
290 \setbox\@tempboxa=\hbox{#6\relax
291 \csname the#1\endcsname
292 \hskip.5em}
293 \ifdim\wd\@tempboxa>\unitindent
294 \global\unitindent=\wd\@tempboxa
295 \@indentset
296 \fi
297 \endgroup
298 \protected@edef\@svsec{\@seccntformat{#1}\relax}%
299 \fi
300 \@tempskipa #5\relax
301 \ifdim \@tempskipa>\z@
302 \begingroup
303 #6{%
304 \@hangfrom{\hskip #3\relax\@svsec}\head@style #8\endgraf}%
305 \endgroup
306 \csname #1mark\endcsname{#7}%
307 \addcontentsline{toc}{#1}{%
308 \ifnum #2>\c@secnumdepth
309 \else
310 \protect\numberline{\csname the#1\endcsname}%
311 \fi
312 #7}%
313 \else
314 \def\@svsechd{#6\hskip #3\relax
315 \@svsec #8\csname #1mark\endcsname{#7}%
316 \addcontentsline{toc}{#1}{%
317 \ifnum #2>\c@secnumdepth
318 \else
319 \protect\numberline{\csname the#1\endcsname}%
320 \fi
321 #7}}%
322 \fi
323 \@xsect{#5}}
324 \def\@seccntformat#1{%
325 \hb@xt@\unitindent{\csname the#1\endcsname \hfil}%
326 }
327 \def\@ssect#1#2#3#4#5{\@tempskipa #3\relax
328 \ifdim \@tempskipa>\z@
329 \begingroup
330 #4{%
331 \@hangfrom{\hskip #1}\head@style #5\endgraf}%
332 \endgroup
333 \else
334 \def\@svsechd{#4\hskip #1\relax #5}%
335 \fi
336 \@xsect{#3}}
337 \newcommand*\chaptermark[1]{}
338 \setcounter{secnumdepth}{2}
339 \newcounter {part}
340 \newcounter {chapter}
341 \newcounter {section}[chapter]
342 \newcounter {subsection}[section]
343 \newcounter {subsubsection}[subsection]
344 \newcounter {paragraph}[subsubsection]
345 \newcounter {subparagraph}[paragraph]
346 \renewcommand*\thepart{\@Roman\c@part}
347 \renewcommand*\thechapter{\@arabic\c@chapter}
348 \renewcommand*\thesection{\thechapter.\@arabic\c@section}
349 \renewcommand*\thesubsection{\thesection.\@arabic\c@subsection}
350 \renewcommand*\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
351 \renewcommand*\theparagraph{\thesubsubsection.\@arabic\c@paragraph}
352 \renewcommand*\thesubparagraph{\theparagraph.\@arabic\c@subparagraph}
353 \newcommand*\@chapapp{\chaptername}
354 \newcommand*\frontmatter{%
355 \cleardoublepage
356 \@mainmatterfalse
357 \pagenumbering{roman}}
358 \newcommand*\mainmatter{%
359 \cleardoublepage
360 \@mainmattertrue
361 \pagenumbering{arabic}}
362 \newcommand*\backmatter{%
363 \if@openright\cleardoublepage\else\clearpage\fi
364 \@mainmatterfalse}
365 \newcommand*\part{%
366 \cleardoublepage
367 \thispagestyle{empty}%
368 \if@twocolumn
369 \onecolumn
370 \@tempswatrue
371 \else
372 \@tempswafalse
373 \fi
374 \null\vfil
375 \secdef\@part\@spart}
376 \newcommand*\PartFont{\bfseries}
377 \def\@part[#1]#2{%
378 \ifnum \c@secnumdepth >-2\relax
379 \refstepcounter{part}%
380 \addcontentsline{toc}{part}{\protect\numberline{\thepart}{#1}}%
381 \else
382 \addcontentsline{toc}{part}{\toc@case{#1}}%
383 \fi
384 \markboth{}{}%
385 {\centering
386 \interlinepenalty \@M
387 \normalfont
388 \ifnum \c@secnumdepth >-2\relax
389 \Large\PartFont
390 \edef\@tempa{\noexpand\MakeUppercase{\partname}}\@tempa
391 \nobreakspace\thepart
392 \par
393 \vskip 20\p@
394 \fi
395 \Large \PartFont \MakeUppercase{#2}\par}%
396 \@endpart}
397 \def\@spart#1{%
398 {\centering
399 \interlinepenalty \@M
400 \normalfont
401 \Large \PartFont #1\par}%
402 \@endpart}
403 \def\@endpart{\vfil\newpage
404 \if@openright
405 \null
406 \thispagestyle{empty}%
407 \newpage
408 \fi
409 \if@tempswa
410 \twocolumn
411 \fi}
412 \newcommand*\chapter{\if@openright\cleardoublepage\else\clearpage\fi
413 \thispagestyle{plain}%
414 \global\@topnum\z@
415 \@afterindentfalse
416 \secdef\@chapter\@schapter}
417 \def\@chapter[#1]#2{%
418 \ifnum \c@secnumdepth >\m@ne
419 \if@mainmatter
420 \refstepcounter{chapter}%
421 \typeout{\@chapapp\space\thechapter.}%
422 \addcontentsline{toc}{chapter}%
423 {\protect\numberline{\thechapter}#1}%
424 \else
425 \addcontentsline{toc}{chapter}{#1}%
426 \fi
427 \else
428 \addcontentsline{toc}{chapter}{#1}%
429 \fi
430 \chaptermark{#1}%
431 \addtocontents{lof}{\protect\addvspace{10\p@}}%
432 \addtocontents{lot}{\protect\addvspace{10\p@}}%
433 \if@twocolumn
434 \@topnewpage[\@makechapterhead{#2}]%
435 \else
436 \@makechapterhead{#2}%
437 \@afterheading
438 \fi}
439 \newcommand*\ChapFont{\bfseries}
440 \def\@makechapterhead#1{%
441 \vspace*{50\p@ \@plus 20\p@}%
442 {\setlength\parindent{\z@}%
443 \setlength\parskip {\z@}%
444 \head@style \normalfont
445 \ifnum \c@secnumdepth >\m@ne
446 \if@mainmatter
447 \Large\ChapFont \@chapapp{} \thechapter
448 \par\nobreak
449 \vskip 20\p@
450 \fi
451 \fi
452 \Large \ChapFont #1\par
453 \nobreak
454 \vskip 40\p@
455 }}
456 \def\@schapter#1{\if@twocolumn
457 \@topnewpage[\@makeschapterhead{#1}]%
458 \else
459 \@makeschapterhead{#1}%
460 \@afterheading
461 \fi}
462 \def\@makeschapterhead#1{%
463 \vspace*{50\p@\@plus 20\p@}%
464 {\setlength\parindent{\z@}%
465 \setlength\parskip{\z@}%
466 \head@style
467 \normalfont
468 \Large \ChapFont #1\par
469 \nobreak
470 \vskip 40\p@
471 }}
472 \newcommand*\section{%
473 \@startsection {section}{1}{\z@}%
474 {-2\baselineskip\@plus -1\baselineskip \@minus -.5\baselineskip}%
475 {.01\baselineskip}%
476 {\normalfont\large\SectFont}}
477 \newcommand*\SectFont{\bfseries}
478 \newcommand*\subsection{%
479 \@startsection{subsection}{2}{\z@}%
480 {-1\baselineskip\@plus -.5\baselineskip \@minus -.25\baselineskip}%
481 {.01\baselineskip}%
482 {\normalfont\normalsize\SSectFont}}
483 \newcommand*\SSectFont{\bfseries}
484 \newcommand*\subsubsection{%
485 \@startsection{subsubsection}{3}{\z@}%
486 {-1\baselineskip plus -.5\baselineskip minus -.25\baselineskip}%
487 {.01\baselineskip}%
488 {\normalfont\normalsize\SSSectFont}}
489 \newcommand*\SSSectFont{\slshape}
490 \newcommand*\paragraph{%
491 \@startsection{paragraph}{4}{\z@}%
492 {3.25ex \@plus1ex \@minus.2ex}%
493 {-1em}%
494 {\normalfont\normalsize\ParaFont}}
495 \newcommand*\ParaFont{\slshape}
496 \newcommand*\subparagraph{%
497 \@startsection{subparagraph}{5}{\parindent}%
498 {3.25ex \@plus1ex \@minus .2ex}%
499 {-1em}%
500 {\normalfont\normalsize\SParaFont}}
501 \newcommand*\SParaFont{\slshape}
502 \newcommand*\HeadingFonts[8]{%
503 \renewcommand*\TitleFont{#1}%
504 \renewcommand*\PartFont{#2}%
505 \renewcommand*\ChapFont{#3}%
506 \renewcommand*\SectFont{#4}%
507 \renewcommand*\SSectFont{#5}%
508 \renewcommand*\SSSectFont{#6}%
509 \renewcommand*\ParaFont{#7}%
510 \renewcommand*\SParaFont{#8}}
511 \setlength\leftmargini {\unitindent}
512 \setlength\leftmarginii {\othermargin}
513 \setlength\leftmarginiii{\othermargin}
514 \setlength\leftmarginiv {\othermargin}
515 \setlength\leftmarginv {\othermargin}
516 \setlength\leftmarginvi {1em}
517 \setlength\leftmargin {\leftmargini}
518 \setlength \labelsep {5\p@}
519 \setlength \labelwidth{\leftmargini}
520 \addtolength\labelwidth{-\labelsep}
521 \setlength\partopsep{\z@}
522 \setlength\topsep{\z@}
523 \@beginparpenalty -\@lowpenalty
524 \@endparpenalty -\@lowpenalty
525 \@itempenalty -\@lowpenalty
526 \def\@listi{%
527 \leftmargin\unitindent
528 \labelsep.5em%
529 \labelwidth\leftmargin
530 \advance\labelwidth-\labelsep
531 \parsep \z@
532 \topsep -.5\parskip \@plus\p@
533 \itemsep 0\p@ \@plus1\p@}
534 \let\@listI\@listi
535 \@listi
536 \def\@listii {\leftmargin\leftmarginii
537 \labelsep .5em%
538 \labelwidth\leftmarginii
539 \advance\labelwidth-\labelsep
540 \topsep -.5\parskip\@plus\p@
541 \parsep \z@
542 \itemsep \z@ \@plus\p@}
543 \def\@listiii{\leftmargin\leftmarginiii
544 \labelsep .5em%
545 \labelwidth\leftmarginiii
546 \advance\labelwidth-\labelsep
547 \topsep -.5\parskip\@plus\p@
548 \parsep \z@
549 \partopsep \z@ \@plus\p@
550 \itemsep \z@ \@plus\p@}
551 \def\@listiv {\leftmargin\leftmarginiv
552 \labelsep .5em%
553 \labelwidth\leftmarginiv%
554 \advance\labelwidth-\labelsep
555 \topsep -.5\parskip\@plus\p@
556 \parsep \z@
557 \itemsep \z@ \@plus\p@}
558 \def\@listv {\leftmargin\leftmarginv
559 \labelsep .5em%
560 \labelwidth\leftmarginv
561 \advance\labelwidth-\labelsep%
562 \topsep -.5\parskip\@plus\p@
563 \parsep \z@
564 \itemsep \z@ \@plus\p@}
565 \def\@listvi {\leftmargin\leftmarginvi
566 \labelsep .5em
567 \labelwidth\leftmarginvi
568 \advance\labelwidth{-\labelsep}%
569 \topsep -.5\parskip\@plus\p@
570 \parsep \z@
571 \itemsep \z@ \@plus\p@}
572 \renewcommand*\theenumi{\@arabic\c@enumi}
573 \renewcommand*\theenumii{\@alph\c@enumii}
574 \renewcommand*\theenumiii{\@roman\c@enumiii}
575 \renewcommand*\theenumiv{\@Alph\c@enumiv}
576 \newcommand*\labelenumi{\theenumi.}
577 \newcommand*\labelenumii{(\theenumii)}
578 \newcommand*\labelenumiii{\theenumiii.}
579 \newcommand*\labelenumiv{\theenumiv.}
580 \renewcommand*\p@enumii{\theenumi}
581 \renewcommand*\p@enumiii{\theenumi(\theenumii)}
582 \renewcommand*\p@enumiv{\p@enumiii\theenumiii}
583 \renewenvironment{enumerate}{%
584 \ifnum \@enumdepth >\thr@@
585 \@toodeep
586 \else
587 \advance\@enumdepth \@ne
588 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
589 \expandafter
590 \list
591 \csname label\@enumctr\endcsname
592 {\usecounter{\@enumctr}%
593 \if@revlabel
594 \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}%
595 \else
596 \def\makelabel##1{##1\hfil}
597 \fi
598 }%
599 \fi}
600 {\global\@ignoretrue \endlist}
601 \newcommand\labelitemi {\labelitemfont \textbullet}
602 \newcommand\labelitemii {\labelitemfont \bfseries \textendash}
603 \newcommand\labelitemiii{\labelitemfont \textasteriskcentered}
604 \newcommand\labelitemiv {\labelitemfont \textperiodcentered}
605 \newcommand\labelitemfont{\normalfont}
606 \renewenvironment{itemize}{%
607 \ifnum \@itemdepth >\thr@@
608 \@toodeep
609 \else
610 \advance\@itemdepth \@ne
611 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
612 \expandafter
613 \list
614 \csname\@itemitem\endcsname
615 {%
616 \if@revlabel
617 \def\makelabel##1{\hskip .5\unitindent{##1\hfil}}\else
618 \def\makelabel##1{##1\hfil}
619 \fi
620 }%
621 \fi}
622 {\global\@ignoretrue \endlist}
623 \newenvironment{description}
624 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
625 \let\makelabel\descriptionlabel}}
626 {\endlist}
627 \newcommand*\descriptionlabel[1]{\hspace\labelsep
628 \normalfont\bfseries #1}
629 \def\verbatim{%
630 \topsep=-.5\parskip
631 \@verbatim
632 \frenchspacing\@vobeyspaces \@xverbatim}
633 \newenvironment{abstract}{%
634 \titlepage
635 \null\vfil
636 \@beginparpenalty\@lowpenalty
637 \hbox{\SectFont \abstractname}%
638 \@endparpenalty\@M
639 \noindent\ignorespaces}
640 {\par\vfil\null\endtitlepage}
641 \newenvironment{verse}
642 {\let\\\@centercr
643 \list{}{\itemsep\z@
644 \itemindent-1.5em%
645 \listparindent\itemindent
646 \rightmargin\leftmargin
647 \advance\leftmargin1.5em}%
648 \item\relax}
649 {\endlist}
650 \newenvironment{quotation}
651 {\list{}{%
652 \listparindent\z@
653 \listparindent1.5em%
654 \itemindent\listparindent
655 \rightmargin\leftmargin
656 \parsep\z@ \@plus\p@}%
657 \item\relax}
658 {\endlist}
659 \newenvironment{quote}
660 {\list{}{\rightmargin\leftmargin}%
661 \item\relax}
662 {\endlist}
663 \def\@begintheorem#1#2{%
664 \vskip\baselineskip \labelsep=.5em%
665 \trivlist
666 \item[\hskip \labelsep{\bfseries #1\ #2}]\slshape}
667 \def\@opargbegintheorem#1#2#3{%
668 \vskip\baselineskip \labelsep=.5em%
669 \trivlist
670 \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\slshape}
671 \def\@endtheorem{\endtrivlist \vskip\baselineskip}
672 \newenvironment{titlepage}
673 {
674 \cleardoublepage
675 \if@twocolumn
676 \@restonecoltrue\onecolumn
677 \else
678 \@restonecolfalse\newpage
679 \fi
680 \thispagestyle{empty}%
681 \if@compatibility
682 \setcounter{page}\z@
683 \fi}
684 {\if@restonecol\twocolumn \else \newpage \fi
685 }
686 \newcommand*\appendix{\par
687 \setcounter{chapter}{0}%
688 \setcounter{section}{0}%
689 \gdef\@chapapp{\appendixname}%
690 \gdef\thechapter{\@Alph\c@chapter}}
691 \setlength\arraycolsep{5\p@}
692 \setlength\tabcolsep{6\p@}
693 \setlength\arrayrulewidth{.4\p@}
694 \setlength\doublerulesep{2\p@}
695 \setlength\tabbingsep{\labelsep}
696 \def\@minipagerestore{%
697 \parskip=.5\baselineskip \@plus .1\baselineskip
698 \@minus .1\baselineskip}
699 \skip\@mpfootins = \skip\footins
700 \setlength\fboxsep{3\p@}
701 \setlength\fboxrule{.4\p@}
702 \@addtoreset{equation}{chapter}
703 \renewcommand*\theequation{%
704 \ifnum \c@chapter>\z@ \thechapter.\fi\@arabic\c@equation}
705 \newcounter{figure}[chapter]
706 \renewcommand*\thefigure{%
707 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
708 \def\fps@figure{tbp}
709 \def\ftype@figure{1}
710 \def\ext@figure{lof}
711 \def\fnum@figure{\figurename\nobreakspace\thefigure}
712 \newenvironment{figure}
713 {\@float{figure}}
714 {\end@float}
715 \newenvironment{figure*}
716 {\@dblfloat{figure}}
717 {\end@dblfloat}
718 \newcounter{table}[chapter]
719 \renewcommand*\thetable{%
720 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
721 \def\fps@table{tbp}
722 \def\ftype@table{2}
723 \def\ext@table{lot}
724 \def\fnum@table{\tablename\nobreakspace\thetable}
725 \newenvironment{table}
726 {\@float{table}}
727 {\end@float}
728 \newenvironment{table*}
729 {\@dblfloat{table}}
730 {\end@dblfloat}
731 \newlength\abovecaptionskip
732 \newlength\belowcaptionskip
733 \setlength\abovecaptionskip{10\p@}
734 \setlength\belowcaptionskip{0\p@}
735 \long\def\@makecaption#1#2{%
736 \vskip\abovecaptionskip
737 \sbox\@tempboxa{{\CaptionLabelFont#1:} \CaptionTextFont#2}%
738 \ifdim \wd\@tempboxa >\hsize
739 {\CaptionLabelFont#1:} \CaptionTextFont#2\par
740 \else
741 \global \@minipagefalse
742 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
743 \fi
744 \vskip\belowcaptionskip}
745 \newcommand*\CaptionLabelFont{\relax}
746 \newcommand*\CaptionTextFont{\relax}
747 \newcommand*\CaptionFonts[2]{%
748 \renewcommand*\CaptionLabelFont{#1}%
749 \renewcommand*\CaptionTextFont{#2}%
750 }
751 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
752 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
753 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
754 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
755 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
756 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax}
757 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax}
758 \DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
759 \DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
760 \DeclareRobustCommand*\em{%
761 \@nomath\em
762 \ifdim\fontdimen\@ne\font>\z@
763 \upshape
764 \else
765 \slshape
766 \fi}
767 \newcommand*\@pnumwidth{1.55em}
768 \newcommand*\@tocrmarg {2.55em}
769 \newcommand*\@dotsep{4.5}
770 \setcounter{tocdepth}{2}
771 \newcommand*\tableofcontents{%
772 \if@twocolumn
773 \@restonecoltrue\onecolumn
774 \else
775 \@restonecolfalse
776 \fi
777 \chapter*{\contentsname}%
778 \@mkboth{\MakeUppercase{\contentsname}}%
779 {\MakeUppercase{\contentsname}}%
780 \@starttoc{toc}%
781 \if@restonecol\twocolumn\fi
782 }
783 \def\@starttoc#1{\begingroup
784 \makeatletter
785 \parskip\z@
786 \@input{\jobname.#1}%
787 \if@filesw
788 \expandafter\newwrite\csname tf@#1\endcsname
789 \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
790 \fi \@nobreakfalse \endgroup}
791 \newcommand*\@regtocline[3]{%
792 \ifnum #1>\c@tocdepth
793 \else
794 \vskip\z@\@plus.2\p@
795 {\hangindent\z@ \@afterindenttrue \interlinepenalty\@M
796 \leftskip\unitindent
797 \rightskip\unitindent\@plus 1fil
798 \parfillskip\z@
799 \@tempdima\unitindent
800 \parindent\z@
801 \leavevmode
802 \hbox{}\hskip -\leftskip\relax
803 \ifnum#1<0\toc@case{#2}\else
804 \toc@font#1 #2\fi\nobreak
805 \hskip 1em \nobreak{\slshape #3}\par
806 }%
807 \fi}
808 \if@oldtoc
809 \newcommand*\toc@font[1]{\relax}
810 \else
811 \newcommand*\toc@font[4]{%
812 \ifx\Hy@toclinkstart#2%
813 \def\@next{#2\toc@font#1#3#4}%
814 \else
815 \def\@next{#2{#3}\toc@fontsel#1#4}%
816 \expandafter\fi\@next}
817 \newcommand*\toc@fontsel[1]{%
818 \ifcase#1\relax
819 \bfseries
820 \or\slshape
821 \or\rmfamily
822 \fi}
823 \AtBeginDocument{%
824 \ifx\hyper@linkstart\undefined
825 \else
826 \let\ORG@hyper@linkstart\hyper@linkstart
827 \protected\def\hyper@linkstart#1#2{%
828 \lowercase{\ORG@hyper@linkstart{#1}{#2}}}
829 \fi}
830 \fi
831 \if@oldtoc
832 \newcommand*\toc@case{\relax}
833 \else
834 \newcommand*\toc@case{\MakeUppercase}
835 \fi
836 \if@oldtoc
837 \newcommand*\l@part[2]{%
838 \ifnum \c@tocdepth >-2\relax
839 \addpenalty{-\@highpenalty}%
840 \addvspace{2.25em \@plus\p@}%
841 \begingroup
842 \setlength\@tempdima{3em}%
843 \parindent \z@ \rightskip \@pnumwidth
844 \parfillskip -\@pnumwidth
845 {\leavevmode
846 \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2%
847 \kern-\p@\kern\p@}}\par
848 \nobreak
849 \global\@nobreaktrue
850 \everypar{\global\@nobreakfalse\everypar{}}%
851 \endgroup
852 \fi}
853 \else
854 \newcommand*\l@part{%
855 \ifnum \c@tocdepth >-2\let\l@@part\relax
856 \addpenalty{-\@highpenalty}%
857 \addvspace{2.25em \@plus \p@}%
858 \def\l@@part{\@regtocline{-1}}%
859 \fi\l@@part}
860 \fi
861 \if@oldtoc
862 \newcommand*\l@chapter[2]{%
863 \addpenalty{-\@highpenalty}%
864 \vskip 1.0em \@plus\p@
865 \setlength\@tempdima{1.5em}%
866 \begingroup
867 \parindent \z@ \rightskip \@pnumwidth
868 \parfillskip -\@pnumwidth
869 \leavevmode \bfseries
870 \advance\leftskip\@tempdima
871 \hskip -\leftskip
872 #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2%
873 \kern-\p@\kern\p@}\par
874 \penalty\@highpenalty
875 \endgroup}
876 \else
877 \newcommand*\l@chapter{\@regtocline{0}}
878 \fi
879 \if@oldtoc
880 \newcommand*\l@section {\@dottedtocline{1}{1.5em}{2.3em}}
881 \else
882 \newcommand*\l@section {\@regtocline{1}}
883 \fi
884 \if@oldtoc
885 \newcommand*\l@subsection {\@dottedtocline{2}{3.8em}{3.2em}}
886 \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
887 \newcommand*\l@paragraph {\@dottedtocline{4}{10em}{5em}}
888 \newcommand*\l@subparagraph {\@dottedtocline{5}{12em}{6em}}
889 \else
890 \newcommand*\l@subsection {\@regtocline{2}}
891 \newcommand*\l@subsubsection{\@regtocline{3}}
892 \newcommand*\l@paragraph {\@regtocline{4}}
893 \newcommand*\l@subparagraph {\@regtocline{5}}
894 \fi
895 \newcommand*\listoffigures{%
896 \if@twocolumn
897 \@restonecoltrue\onecolumn
898 \else
899 \@restonecolfalse
900 \fi
901 \chapter*{\listfigurename}%
902 \@mkboth{\MakeUppercase{\listfigurename}}%
903 {\MakeUppercase{\listfigurename}}%
904 \@starttoc{lof}%
905 \if@restonecol\twocolumn\fi
906 }
907 \if@oldtoc
908 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
909 \else
910 \newcommand*\l@figure{\@regtocline{1}}
911 \fi
912 \newcommand*\listoftables{%
913 \if@twocolumn
914 \@restonecoltrue\onecolumn
915 \else
916 \@restonecolfalse
917 \fi
918 \chapter*{\listtablename}%
919 \@mkboth{\MakeUppercase{\listtablename}}%
920 {\MakeUppercase{\listtablename}}%
921 \@starttoc{lot}%
922 \if@restonecol\twocolumn\fi
923 }
924 \let\l@table\l@figure
925 \newdimen\bibindent
926 \setlength\bibindent{1.5em}
927 \newcommand*\newblock{}
928 \newenvironment{thebibliography}[1]
929 {\chapter*{\bibname}%
930 \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
931 \list{\@biblabel{\@arabic\c@enumiv}}%
932 {\settowidth\labelwidth{\@biblabel{#1}}%
933 \leftmargin\labelwidth
934 \advance\leftmargin\labelsep
935 \@openbib@code
936 \usecounter{enumiv}%
937 \let\p@enumiv\@empty
938 \renewcommand*\theenumiv{\@arabic\c@enumiv}}%
939 \sloppy\clubpenalty4000\widowpenalty4000%
940 \sfcode`\.\@m}
941 {\def\@noitemerr
942 {\@latex@warning{Empty `thebibliography' environment}}%
943 \endlist}
944 \renewcommand\newblock{\hskip.11em\@plus.33em\@minus.07em}
945 \let\@openbib@code\@empty
946 \newenvironment{theindex}{%
947 \if@twocolumn
948 \@restonecolfalse
949 \else
950 \@restonecoltrue
951 \fi
952 \twocolumn[\@makeschapterhead{\indexname}]%
953 \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}%
954 \thispagestyle{plain}\parindent\z@
955 \columnseprule \z@
956 \columnsep 35\p@
957 \parskip\z@ \@plus .3\p@\relax
958 \let\item\@idxitem
959 }{%
960 \if@restonecol\onecolumn\else\clearpage\fi}
961 \newcommand*\@idxitem {\par\hangindent 40\p@}
962 \newcommand*\subitem {\@idxitem\hspace*{20\p@}}
963 \newcommand*\subsubitem{\@idxitem\hspace*{30\p@}}
964 \newcommand*\indexspace{\par\vskip10\p@\@plus5\p@\@minus3\p@\relax}
965 \renewcommand*\footnoterule{%
966 \kern-3\p@
967 \kern.5\baselineskip
968 \hrule\@width\unitindent
969 \kern.4\baselineskip
970 }
971 \@addtoreset{footnote}{chapter}
972 \newcommand*\@makefntext{\@xmakefntext{\normalfont\@thefnmark.}}
973 \newcommand*\@xmakefntext[1]{%
974 \parindent\z@
975 \def\labelitemi{\textendash}\@revlabeltrue
976 {\setbox0\hbox {#1\hskip.5em plus 1fil}
977 \dimen0=2\wd0\relax
978 \ifdim\dimen0>\unitindent
979 \global\unitindent\dimen0\relax
980 \@indentset
981 \fi}
982 \leavevmode\hb@[email protected]\unitindent{#1\hfil}}
983 \newcommand*\contentsname{Contents}
984 \newcommand*\listfigurename{List of Figures}
985 \newcommand*\listtablename{List of Tables}
986 \newcommand*\bibname{Bibliography}
987 \newcommand*\indexname{Index}
988 \newcommand*\figurename{Figure}
989 \newcommand*\tablename{Table}
990 \newcommand*\partname{Part}
991 \newcommand*\chaptername{Chapter}
992 \newcommand*\appendixname{Appendix}
993 \newcommand*\seename{see}
994 \newcommand*\andname{and}
995 \newcommand*\today{}
996 \def\today{\ifcase\month\or
997 January\or February\or March\or April\or May\or June\or
998 July\or August\or September\or October\or November\or December\fi
999 \space\number\day, \number\year}
1000 \setlength\columnsep{10\p@}
1001 \setlength\columnseprule{0\p@}
1002 \pagestyle{headings}
1003 \pagenumbering{arabic} % Arabic page numbers
1004 \if@twocolumn
1005 \twocolumn
1006 \sloppy
1007 \flushbottom
1008 \else
1009 \onecolumn
1010 \fi
1011 \frenchspacing
1012 \endinput
1013 %%
1014 %% End of file `boek3.cls'.