Debian Codegraph @

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

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