Debian Codegraph @

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

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