Debian Codegraph @

texmf-dist/source/latex/ebsthesis/ebsthesis.dtx

raw
1 % \iffalse meta-comment
2 %
3 %% The ebsthesis document class
4 %% Copyright (c) 2006 Philipp N. Baecker. All right reserved.
5 %
6 % This program can be redistributed and/or modified under the terms
7 % of the LaTeX Project Public License distributed from CTAN archives
8 % in the directory macros/latex/base/lppl.txt; either version 1 of
9 % the License, or (at your option) any later version.
10 %
11 %<*dtx>
12 \ProvidesFile{ebsthesis.dtx}
13 [2006/12/31 v1.0 EBS Thesis Class (PNB)]
14 %</dtx>
15 %<driver>\ProvidesFile{ebsthesis.drv}
16 %<*driver>
17 \documentclass{ltxdoc}
18 \usepackage{amsmath}
19 \usepackage[T1]{fontenc}
20 \usepackage{url}
21 \usepackage{ifthen}
22 \IfFileExists{hyperref.sty}{%
23 \RequirePackage{hyperref}
24 }{}
25 \EnableCrossrefs
26 \RecordChanges
27 \CodelineIndex
28 \setcounter{IndexColumns}{2}
29 \setcounter{StandardModuleDepth}{1}
30 \newcommand{\class}[1]{\textsf{#1}}
31 \newcommand{\package}[1]{\textsf{#1}}
32 \newcommand{\option}[1]{\texttt{#1}}
33 \newcommand{\file}[1]{\texttt{#1}}
34 \begin{document}
35 \DocInput{ebsthesis.dtx}
36 \PrintChanges
37 % \PrintIndex
38 \end{document}
39 %</driver>
40 % \fi
41 %
42 % \CheckSum{1195}
43 %
44 %%
45 %% \CharacterTable
46 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
47 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
48 %% Digits \0\1\2\3\4\5\6\7\8\9
49 %% Exclamation \! Double quote \" Hash (number) \#
50 %% Dollar \$ Percent \% Ampersand \&
51 %% Acute accent \' Left paren \( Right paren \)
52 %% Asterisk \* Plus \+ Comma \,
53 %% Minus \- Point \. Solidus \/
54 %% Colon \: Semicolon \; Less than \<
55 %% Equals \= Greater than \> Question mark \?
56 %% Commercial at \@ Left bracket \[ Backslash \\
57 %% Right bracket \] Circumflex \^ Underscore \_
58 %% Grave accent \` Left brace \{ Vertical bar \|
59 %% Right brace \} Tilde \~}
60 %%
61 %
62 % \changes{v1.0}{2003/08/09}{Final version}
63 %
64 % \def\fileversion{v1.0}
65 % \def\filedate{2006/12/31}
66 %
67 % \GetFileInfo{ebsthesis.dtx} \title{The \class{ebsthesis} document
68 % class\\for use with \LaTeXe\thanks{This file has version number
69 % \fileversion, last revised \filedate. I am grateful for helpful
70 % comments I received from Andr\'e Kudra and others.}}
71 % \author{Philipp N. Baecker\\
72 % European Business School\\
73 % \url{mailto:[email protected]}} \date{\filedate}
74 % \maketitle
75 % \begin{abstract}
76 % The \class{ebsthesis} class facilitates the production of
77 % camera-ready manuscripts in conformance with the guidelines of
78 % Gabler Verlag and typographical rules established by European
79 % Business School.
80 % \end{abstract}
81 % \tableofcontents
82 % \section{User Documentation}
83 % This final release is incompatible with earlier versions.
84 % I apologize for not providing decent documentation.
85 % \StopEventually{\relax}
86 % \section{Code}
87 % \begin{macrocode}
88 %<*ebsthesis>
89 \NeedsTeXFormat{LaTeX2e}[2003/12/01]
90 \ProvidesClass{ebsthesis}%
91 [2006/12/31 v1.0 EBS Thesis Class (PNB)]
92 \newif\if@gabler
93 \DeclareOption{gabler}{\@gablertrue}
94 \DeclareOption{grundregeln}{\@gablerfalse}
95 \newif\if@singlespacing
96 \DeclareOption{singlespacing}{\@singlespacingtrue}
97 \DeclareOption{onehalfspacing}{\@singlespacingfalse}
98 \newif\if@headrules
99 \DeclareOption{headrules}{\@headrulestrue}
100 \DeclareOption{noheadrules}{\@headrulesfalse}
101 \newif\if@tools
102 \DeclareOption{tools}{\@toolstrue}
103 \DeclareOption{notools}{\@toolsfalse}
104 \newif\if@fancyfoot
105 \DeclareOption{fancyfoot}{\@fancyfoottrue}
106 \DeclareOption{nofancyfoot}{\@fancyfootfalse}
107 \newif\if@indentcaptions
108 \DeclareOption{indentcaptions}{\@indentcaptionstrue}
109 \DeclareOption{noindentcaptions}{\@indentcaptionsfalse}
110 \newif\if@mathematica
111 \DeclareOption{mathematica}{\@mathematicatrue}
112 \DeclareOption{nomathematica}{\@mathematicafalse}
113 \DeclareOption{8pt}{\OptionNotUsed}
114 \DeclareOption{9pt}{\OptionNotUsed}
115 \DeclareOption{10pt}{\OptionNotUsed}
116 \DeclareOption{11pt}{\OptionNotUsed}
117 \DeclareOption{12pt}{\OptionNotUsed}
118 \DeclareOption{14pt}{\OptionNotUsed}
119 \DeclareOption{17pt}{\OptionNotUsed}
120 \DeclareOption{20pt}{\OptionNotUsed}
121 \DeclareOption{oneside}{\OptionNotUsed}
122 \DeclareOption{twoside}{\OptionNotUsed}
123 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{extbook}}
124 \ExecuteOptions{%
125 grundregeln,%
126 onehalfspacing,%
127 noheadrules,%
128 notools,%
129 nofancyfoot,%
130 noindentcaptions,%
131 nomathematica%
132 }
133 \ProcessOptions\relax
134 \if@gabler
135 \PassOptionsToClass{a5paper,9pt,twoside}{extbook}
136 \else
137 \PassOptionsToClass{a4paper,12pt,oneside}{extbook}
138 \fi
139 \LoadClass{extbook}[1999/01/07]
140 % Modified generic headings and names
141 \renewcommand{\contentsname}{Table of Contents}
142 \renewcommand{\figurename}{Fig.}
143 \renewcommand{\tablename}{Table}
144 % New generic headings and names
145 \newcommand{\abkuerzungsverzeichnisname}{List of Abbreviations}
146 \newcommand{\appendicesname}{Appendices}
147 \newcommand{\geleitwortname}{Foreword}
148 \newcommand{\inhaltsuebersichtname}{Summary of Contents}
149 \newcommand{\listappendixname}{List of Appendices}
150 \newcommand{\symbolverzeichnisname}{List of Symbols}
151 \newcommand{\vorwortname}{Preface}
152 % Babel support
153 \AtBeginDocument{%
154 \@ifpackageloaded{babel}{%
155 \addto{\captionsenglish}{%
156 \renewcommand{\contentsname}{Table of Contents}%
157 \renewcommand{\figurename}{Fig.}%
158 \renewcommand{\tablename}{Table}%
159 }%
160 \addto{\extrasenglish}{%
161 \renewcommand{\abkuerzungsverzeichnisname}{List of Abbreviations}%
162 \renewcommand{\appendicesname}{Appendices}%
163 \renewcommand{\geleitwortname}{Foreword}%
164 \renewcommand{\inhaltsuebersichtname}{Summary of Contents}%
165 \renewcommand{\listappendixname}{List of Appendices}%
166 \renewcommand{\symbolverzeichnisname}{List of Symbols}%
167 \renewcommand{\vorwortname}{Preface}%
168 }%
169 \addto{\captionsngerman}{%
170 \renewcommand{\figurename}{Abb.}%
171 \renewcommand{\tablename}{Tab.}%
172 }%
173 \addto{\extrasngerman}{%
174 \renewcommand{\abkuerzungsverzeichnisname}{Abk\"urzungsverzeichnis}%
175 \renewcommand{\appendicesname}{Anhang}%
176 \renewcommand{\geleitwortname}{Geleitwort}%
177 \renewcommand{\inhaltsuebersichtname}{Inhalts\"ubersicht}%
178 \renewcommand{\listappendixname}{Verzeichnis des Anhangs}%
179 \renewcommand{\symbolverzeichnisname}{Symbolverzeichnis}%
180 \renewcommand{\vorwortname}{Vorwort}%
181 }%
182 }{\relax}%
183 }
184 % New paper format and margins
185 \RequirePackage{geometry}[2002/07/08]
186 \if@gabler
187 \geometry{%
188 totalwidth=11.5cm,%
189 totalheight=18cm,%
190 includeheadfoot,%
191 centering,%
192 mag=1414
193 }
194 \else
195 \geometry{%
196 left=4cm,%
197 right=2cm,%
198 top=3cm,%
199 bottom=2cm,%
200 headsep=1cm,%
201 footnotesep=\baselineskip
202 }
203 \fi
204 % New linespacing
205 \RequirePackage[nodisplayskipstretch]{setspace}[2000/12/01]
206 \if@gabler
207 \renewcommand{\singlespacing}{\setstretch{1.1}%
208 \vskip \baselineskip}
209 \renewcommand{\onehalfspacing}{\setstretch{1.3}%
210 \vskip \baselineskip}
211 \newcommand*{\ebsindent}{\relax}
212 \else
213 \renewcommand{\singlespacing}{\setstretch{1.0}%
214 \vskip \baselineskip}
215 \renewcommand{\onehalfspacing}{\setstretch{1.5}%
216 \vskip \baselineskip}
217 \newcommand*{\ebsindent}{\addvspace{\medskipamount}\noindent}
218 \fi
219 \if@singlespacing
220 \singlespacing
221 \else
222 \onehalfspacing
223 \fi
224 % New figures and tables
225 \RequirePackage{rotfloat}[2004/01/04]
226 \RequirePackage{caption}[2004/07/16]
227 \DeclareCaptionLabelSeparator{period-enspace}{.\enspace}
228 \DeclareCaptionLabelFormat{tight}{#1\,#2}
229 \captionsetup{%
230 % margin=0.05\columnwidth,
231 font=small,
232 labelfont=bf,%
233 labelsep=period-enspace%
234 }
235 \captionsetup[figure]{%
236 labelformat=tight%
237 }
238 \captionsetup[table]{%
239 position=top%
240 }
241 \if@indentcaptions
242 \captionsetup{%
243 format=hang%
244 }
245 \fi
246 % New footnotes
247 \RequirePackage{ragged2e}[2003/03/25]
248 \RequirePackage[ragged,%
249 bottom,%
250 hang,%
251 splitrule,%
252 stable,%
253 multiple]{footmisc}[2004/05/02]
254 \renewcommand{\mpfootnoterule}{\relax}
255 \RequirePackage{remreset}
256 \@removefromreset{footnote}{chapter}
257 \if@fancyfoot
258 \long\def\@makefntext#1{%
259 \bgroup
260 \setbox\@tempboxa\hbox{%
261 \ifdim\footnotemargin>0pt
262 \hb@xt@\footnotemargin{\rlap\normalfont%
263 \@thefnmark.\hss}%
264 \else
265 \rlap\normalfont\@thefnmark.
266 \fi
267 }%
268 \leftmargin\wd\@tempboxa
269 \rightmargin\z@
270 \linewidth \columnwidth
271 \advance \linewidth -\leftmargin
272 \parshape \@ne \leftmargin \linewidth
273 \footnotesize
274 \parskip\hangfootparskip\relax
275 \parindent\hangfootparindent\relax
276 \@setpar{{\@@par}}%
277 \leavevmode
278 \llap{\box\@tempboxa}%
279 \footnotelayout#1%
280 \par\egroup%
281 }
282 \fi
283 % New headings
284 \RequirePackage[nobottomtitles*,
285 newparttoc,
286 clearempty,
287 toctitles,
288 newlinetospace,
289 pagestyles]{titlesec}[2005/01/22]
290 \RequirePackage{calc}[1998/07/07]
291 \titleformat{\part}[display]{%
292 \thispagestyle{empty}\normalfont\huge\mdseries\singlespacing\filright}{%
293 \bfseries\partname~\thepart}{0pt}{}
294 \titlespacing*{\part}{%
295 0pt}{-\headheight-\headsep}{1.15ex plus .1ex}
296 \titleformat{\chapter}{%
297 \normalfont\LARGE\bfseries\singlespacing\filright}{%
298 \thechapter}{1em}{}
299 \titlespacing*{\chapter}{%
300 0pt}{-\headheight-\headsep}{1.15ex plus .1ex}
301 \titleformat{\section}{%
302 \normalfont\Large\bfseries\singlespacing\filright}{%
303 \thesection}{1em}{}
304 \titlespacing*{\section}{%
305 0pt}{1.75ex plus .5ex minus .1ex}{1.15ex plus .1ex}
306 \titleformat{\subsection}{%
307 \normalfont\large\bfseries\singlespacing\filright}{%
308 \thesubsection}{1em}{}
309 \titlespacing*{\subsection}{%
310 0pt}{1.625ex plus .5ex minus .1ex}{.75ex plus .1ex}
311 \titleformat{\subsubsection}{%
312 \normalfont\normalsize\bfseries\filright}{%
313 \thesubsubsection}{1em}{}
314 \titlespacing*{\subsubsection}{%
315 0pt}{1.625ex plus .5ex minus .1ex}{.75ex plus .1ex}
316 \titleformat{\paragraph}{%
317 \normalfont\normalsize\mdseries\itshape\filright}{%
318 \upshape\theparagraph}{1em}{}
319 \titlespacing*{\paragraph}{%
320 0pt}{1.625ex plus .5ex minus .1ex}{.75ex plus .1ex}
321 \titleformat{\subparagraph}{%
322 \normalfont\normalsize\mdseries\itshape\filright}{%
323 \upshape\thesubparagraph.}{1em}{}
324 \titlespacing*{\subparagraph}{%
325 0pt}{1.625ex plus .5ex minus .1ex}{.75ex plus .1ex}
326 \renewcommand{\thesubparagraph}{\alph{subparagraph}}
327 \titleclass{\subsubparagraph}{straight}[\subparagraph]
328 \newcounter{subsubparagraph}[subparagraph]
329 \renewcommand{\thesubsubparagraph}{\roman{subsubparagraph}}
330 \titleformat{\subsubparagraph}{%
331 \normalfont\normalsize\mdseries\filright}{%
332 \thesubsubparagraph.}{1em}{}
333 \titlespacing*{\subsubparagraph}{%
334 0pt}{1.625ex plus .5ex minus .1ex}{.75ex plus .1ex}
335 \setcounter{secnumdepth}{6}
336 % New headers and footers
337 \if@headrules
338 \newlength{\headrulewidth}
339 \setlength{\headrulewidth}{0.05em}
340 \fi
341 \renewpagestyle{plain}[\small]{%
342 \if@gabler
343 \sethead[][][]%
344 {}{}{}
345 \setfoot[\usepage][][]%
346 {}{}{\usepage}
347 \else
348 \if@headrules
349 \headrule
350 \setheadrule{\headrulewidth}
351 \fi
352 \sethead[][--\,\usepage\,--][]%
353 {}{--\,\usepage\,--}{}
354 \setfoot[][][]%
355 {}{}{}
356 \fi%
357 }
358 \newpagestyle{ebs}[\small]{%
359 \if@headrules
360 \headrule
361 \setheadrule{\headrulewidth}
362 \fi
363 \if@gabler
364 \sethead[\usepage][][\ifthechapter{\thechapter\quad}{}\textit{\chaptertitle}]%
365 {\ifthesection{\thesection\quad}{}\textit{\sectiontitle}}{}{\usepage}
366 \else
367 \sethead[][--\,\usepage\,--][]%
368 {}{--\,\usepage\,--}{}
369 \fi
370 \setfoot[][][]%
371 {}{}{}%
372 }
373 \pagestyle{ebs}
374 \RequirePackage{titletoc}[2005/01/22]
375 % New part TOC entry
376 \titlecontents{part}[0pt]{%
377 \addvspace{10pt}\filright}{%
378 \textbf{\partname\space\textsc{\MakeLowercase{\thecontentslabel}}:\enspace}}{}{}
379 \newlength{\digitlength}
380 \settowidth{\digitlength}{9.}
381 \newlength{\pnumwidth@roman}
382 \settowidth{\pnumwidth@roman}{XVIII}
383 \newlength{\pnumwidth@arabic}
384 \settowidth{\pnumwidth@arabic}{999}
385 \addtolength{\pnumwidth@arabic}{0.25em}
386 \contentsmargin{\pnumwidth@arabic}
387 \titlecontents{chapter}[2\digitlength]{\addvspace{5pt}\bfseries\contentsmargin{\pnumwidth@roman}}{\contentslabel{2\digitlength}}{\hspace*{-2\digitlength}}{\titlerule*[0.75em]{}\contentspage}
388 \dottedcontents{section}[5\digitlength]{}{3\digitlength}{0.75em}
389 \dottedcontents{subsection}[9\digitlength]{}{4\digitlength}{0.75em}
390 \dottedcontents{subsubsection}[14\digitlength]{}{5\digitlength}{0.75em}
391 \dottedcontents{paragraph}[20\digitlength]{}{6\digitlength}{0.75em}
392 \dottedcontents{subparagraph}[27\digitlength]{}{7\digitlength}{0.75em}
393 \dottedcontents{subsubparagraph}[35\digitlength]{}{8\digitlength}{0.75em}
394 % Appendix
395 \newcommand{\listofappendices}{%
396 \section*{\listappendixname\sectionmark{\listappendixname}}
397 \printcontents[appendix]{1}{1}{\setcounter{tocdepth}{4}}
398 \titlecontents{section}[2\digitlength]{\addvspace{5pt}\bfseries\contentsmargin{\pnumwidth@roman}}{\contentslabel{2\digitlength}}{\hspace*{-2\digitlength}}{\titlerule*[0.75em]{}\contentspage}
399 \dottedcontents{subsection}[5\digitlength]{}{3\digitlength}{0.75em}
400 \dottedcontents{subsubsection}[9\digitlength]{}{4\digitlength}{0.75em}
401 \dottedcontents{paragraph}[14\digitlength]{}{5\digitlength}{0.75em}
402 \dottedcontents{subparagraph}[20\digitlength]{}{6\digitlength}{0.75em}
403 \dottedcontents{subsubparagraph}[27\digitlength]{}{7\digitlength}{0.75em}
404 }
405 \renewcommand{\appendix}{%
406 \ClassWarningNoLine{ebsthesis}{%
407 Use \noexpand\startappendices and \noexpand\stopappendices instead of \noexpand\appendix}
408 }
409 \newcommand{\startappendices}{%
410 \ttl@toclabelfalse
411 \ttl@setifthe{chapter}
412 \setcounter{chapter}{0}
413 \setcounter{section}{0}
414 \renewcommand{\chaptername}{\appendixname}
415 \renewcommand{\thesection}{\Alph{section}}
416 \numberwithin{equation}{section}
417 \numberwithin{figure}{section}
418 \numberwithin{table}{section}
419 \numberwithin{thm}{section}
420 \numberwithin{cor}{section}
421 \numberwithin{defn}{section}
422 \numberwithin{conj}{section}
423 \numberwithin{exmp}{section}
424 \chapter*{\appendicesname\chaptermark{\appendicesname}}
425 \addcontentsline{toc}{chapter}{\appendicesname}
426 \titleformat{\section}{%
427 \normalfont\large\bfseries}{%
428 \chaptertitlename~\thesection}{1em}{}
429 \titlespacing*{\section}{%
430 0pt}{1.625ex plus .5ex minus .1ex}{.75ex plus .1ex}
431 \titleformat{\subsection}{%
432 \normalfont\normalsize\bfseries}{%
433 \thesubsection}{1em}{}
434 \titlespacing*{\subsection}{%
435 0pt}{1.625ex plus .5ex minus .1ex}{.75ex plus .1ex}
436 \titleformat{\subsubsection}{%
437 \normalfont\normalsize\mdseries\itshape}{%
438 \upshape\thesubsubsection}{1em}{}
439 \titlespacing*{\subsubsection}{%
440 0pt}{1.625ex plus .5ex minus .1ex}{.75ex plus .1ex}
441 \stopcontents[main]%
442 \resumecontents[appendix]%
443 \stoplist[main]{lof}%
444 \resumelist[appendix]{lof}%
445 \stoplist[main]{lot}%
446 \resumelist[appendix]{lot}%
447 }
448 \newcommand{\stopappendices}{%
449 \stopcontents[appendix]%
450 \resumecontents[main]%
451 }
452 % New titlepage
453 \newcommand{\thegrad}{Doctor rerum politicarum}
454 \newcommand*{\grad}[1]{%
455 \renewcommand{\thegrad}{#1}}
456 \newcommand{\thetitel}{%
457 \ClassWarningNoLine{ebsthesis}{%
458 Kein \noexpand\titel angegeben}}
459 \newcommand*{\titel}[1]{%
460 \renewcommand{\thetitel}{#1}}
461 \newcommand{\theuntertitel}{}
462 \newcommand*{\untertitel}[1]{%
463 \renewcommand{\theuntertitel}{#1}}
464 \newcommand{\thefachbereich}{Betriebswirtschaftslehre}
465 \newcommand*{\fachbereich}[1]{%
466 \renewcommand{\thefachbereich}{#1}}
467 \newcommand{\thehochschule}{%
468 European Business School}
469 \newcommand*{\hochschule}[1]{%
470 \renewcommand{\thehochschule}{#1}}
471 \newcommand{\thekandidat}{%
472 \ClassWarningNoLine{ebsthesis}{%
473 Kein \noexpand\kandidat angegeben}}
474 \newcommand*{\kandidat}[1]{%
475 \renewcommand{\thekandidat}{#1}}
476 \renewcommand*{\author}[1]{%
477 \renewcommand{\thekandidat}{#1}}
478 \newcommand{\thegeburtsort}{%
479 \ClassWarningNoLine{ebsthesis}{%
480 Kein \noexpand\geburtsort angegeben}}
481 \newcommand*{\geburtsort}[1]{%
482 \renewcommand{\thegeburtsort}{#1}}
483 \newcommand{\thereferenten}{%
484 \ClassWarningNoLine{ebsthesis}{%
485 Keine \noexpand\referenten angegeben}}
486 \newcommand*{\referenten}[1]{%
487 \renewcommand{\thereferenten}{#1}}
488 \newcommand{\theeinreichungstermin}{%
489 \ClassWarningNoLine{ebsthesis}{%
490 Kein \noexpand\einreichungstermin angegeben}}
491 \newcommand*{\einreichungstermin}[1]{%
492 \renewcommand{\theeinreichungstermin}{#1}}
493 \newcommand{\thepruefungstermin}{%
494 \ClassWarningNoLine{ebsthesis}{%
495 Kein \noexpand\pruefungstermin angegeben}}
496 \newcommand*{\pruefungstermin}[1]{%
497 \renewcommand{\thepruefungstermin}{#1}}
498 \newcommand{\thehochschulsignatur}{1540}
499 \newcommand*{\hochschulsignatur}[1]{%
500 \renewcommand{\thehochschulsignatur}{#1}}
501 \RequirePackage{array}[2003/12/17]
502 \renewcommand{\maketitle}{%
503 \renewcommand{\and}{\tabularnewline &}
504 \begin{titlepage}
505 \begin{singlespacing}
506 \begin{center}
507 {\Large\bfseries Dissertation}\\
508 zur Erlangung des akademischen Grades\\
509 \thegrad\par
510 \vspace{\stretch{1000}}
511 {\LARGE\bfseries\thetitel\par\medskip\Large\mdseries\theuntertitel\par}
512 \vspace{\stretch{1618}}
513 \begin{tabular}{@{}>{\bfseries}ll@{}}
514 Fachbereich:&\thefachbereich\tabularnewline
515 Hochschule:&\thehochschule\tabularnewline
516 Hochschulsignatur:&\thehochschulsignatur\tabularnewline
517 Kandidat:&\thekandidat\tabularnewline
518 Geburtsort:&\thegeburtsort\tabularnewline
519 Referenten:&\thereferenten\tabularnewline
520 Einreichungstermin:&\theeinreichungstermin\tabularnewline
521 Pr\"ufungstermin:&\thepruefungstermin\tabularnewline
522 \end{tabular}
523 \end{center}
524 \end{singlespacing}
525 \end{titlepage}
526 \startcontents[main]%
527 \startcontents[appendix]%
528 \stopcontents[appendix]%
529 \startlist[main]{lof}%
530 \startlist[appendix]{lof}%
531 \stoplist[appendix]{lof}%
532 \startlist[main]{lot}%
533 \startlist[appendix]{lot}%
534 \stoplist[appendix]{lot}%
535 }
536 % Summary and table of contents
537 \newcommand{\inhaltsuebersicht}{%
538 \chapter*{\inhaltsuebersichtname\chaptermark{\inhaltsuebersichtname}}
539 \printcontents[main]{0}{-1}{\setcounter{tocdepth}{1}}%
540 }
541 \renewcommand{\tableofcontents}{%
542 \chapter*{\contentsname\chaptermark{\contentsname}}
543 \printcontents[main]{0}{-1}{\setcounter{tocdepth}{4}}%
544 }
545 % Page composition
546 \setcounter{topnumber}{3}
547 \setcounter{bottomnumber}{2}
548 \setcounter{totalnumber}{4}
549 \renewcommand{\topfraction}{0.85}
550 \renewcommand{\bottomfraction}{0.5}
551 \renewcommand{\textfraction}{0.15}
552 \renewcommand{\floatpagefraction}{0.7}
553 \interfootnotelinepenalty=10000
554 \clubpenalty=10000
555 \widowpenalty=10000
556 \displaywidowpenalty=10000
557 \renewcommand{\frontmatter}{%
558 \cleardoublepage
559 \@mainmatterfalse
560 \pagenumbering{Roman}%
561 }
562 % \newcounter{frontmatterpages}
563 \renewcommand{\mainmatter}{%
564 \cleardoublepage
565 \@mainmattertrue
566 % \setcounter{frontmatterpages}{\value{page}}%
567 \pagenumbering{arabic}%
568 }
569 \renewcommand{\backmatter}{%
570 \if@openright
571 \cleardoublepage
572 \else
573 \clearpage
574 \fi
575 \@mainmatterfalse
576 % \pagenumbering{Roman}%
577 % \setcounter{page}{\value{frontmatterpages}}%
578 }
579 \RequirePackage[nottoc]{tocbibind}[2003/03/13]
580 % Foreword and Preface
581 \newcommand{\geleitwort}{%
582 \chapter*{\geleitwortname\chaptermark{\geleitwortname}}%
583 }
584 \newcommand{\vorwort}{%
585 \chapter*{\vorwortname\chaptermark{\vorwortname}}%
586 }
587 % List of Symbols
588 \RequirePackage[noprefix]{nomencl}[2005/03/31]
589 \RequirePackage{mdwlist}[1996/05/02]
590 \newcommand{\symbolverzeichnis}{\printnomenclature}
591 \renewcommand{\nomname}{\symbolverzeichnisname}
592 \newlength{\nomindent}
593 \setlength{\nomindent}{3em}
594 \def\thenomenclature{%
595 \chapter*{\nomname\chaptermark{\nomname}}
596 \addcontentsline{toc}{chapter}{\nomname}
597 \nompreamble
598 \addvspace{10pt}
599 \begin{basedescript}{%
600 \desclabelwidth{\nomindent}
601 \desclabelstyle{\nextlinelabel}
602 \renewcommand*{\makelabel}[1]{##1}
603 \parskip\z@\itemsep\z@%
604 }%
605 }
606 \def\endthenomenclature{%
607 \end{basedescript}
608 \nompostamble%
609 }
610 \makenomenclature
611 % List of Abbreviations
612 \newcommand{\abkuerzungsverzeichnis}{%
613 \chapter*{\abkuerzungsverzeichnisname\chaptermark{%
614 \abkuerzungsverzeichnisname}}
615 \addcontentsline{toc}{chapter}{\abkuerzungsverzeichnisname}
616 \addvspace{10pt}%
617 }
618 % \RequirePackage[printonlyused]{acronym}[2004/11/10]
619 \RequirePackage{acronym}[2004/11/10]
620 \renewcommand*{\acsfont}[1]{\textsc{\MakeLowercase{#1}}}
621 \newlength{\acroindent}
622 \setlength{\acroindent}{6em}
623 \renewenvironment{acronym}[1][1]{%
624 \providecommand*{\acro}{\AC@acro}%
625 \long\def\acroextra##1{##1}%
626 \ifx1#1
627 \global\expandafter\let\csname ac@des@mark\endcsname\AC@used
628 \begin{basedescript}{%
629 \desclabelwidth{\acroindent}
630 \desclabelstyle{\nextlinelabel}
631 \renewcommand*{\makelabel}[1]{##1}
632 \parskip\z@\itemsep\z@%
633 }
634 \else
635 \begin{AC@deflist}{#1}%
636 \fi%
637 }%
638 {%
639 \ifx\AC@populated\AC@used\else
640 \item[]\relax
641 \fi
642 \expandafter\ifx\csname ac@des@mark\endcsname\AC@used
643 \end{basedescript}%
644 \else
645 \end{AC@deflist}%
646 \fi}
647 % Advanced mathematics functions and equation alignment
648 \RequirePackage[tbtags]{amsmath}[2000/07/18]
649 \RequirePackage[all]{onlyamsmath}[2001/10/04]
650 % Scaling factor for graphics
651 \if@gabler
652 \newcommand{\graphicsmag}{1.0000}
653 \newcommand{\smallgraphicsmag}{0.7500}
654 \newcommand{\tinygraphicsmag}{0.5625}
655 \else
656 \newcommand{\graphicsmag}{1.3333}
657 \newcommand{\smallgraphicsmag}{1.0000}
658 \newcommand{\tinygraphicsmag}{0.7500}
659 \fi
660 % Comments
661 \RequirePackage{comment}
662 \if@gabler
663 \includecomment{gabler}
664 \excludecomment{grundregeln}
665 \else
666 \includecomment{grundregeln}
667 \excludecomment{gabler}
668 \fi
669 % Support for Mathematica fonts
670 \if@mathematica
671 % We are using Mathematica fonts
672 \RequirePackage{wrisym}[1999/04/20]
673 \newcommand{\D}{\DifferentialD}
674 \else
675 % We are using Computer Modern fonts
676 \RequirePackage{amssymb}[2002/01/22]
677 \RequirePackage{dsfont}[1995/08/01]
678 \renewcommand{\mathbb}[1]{\mathds{#1}}
679 \DeclareMathSymbol{\D}{\mathord}{operators}{`d}
680 \newcommand{\E}{\mathrm{e}}
681 \newcommand{\I}{\mathrm{i}}
682 \newcommand{\MathLogo}{\emph{Mathematica}}
683 \fi
684 \if@tools
685 % Statistics
686 \DeclareRobustCommand\expect{%
687 \@ifnextchar[{\ebs@expect}{\ebs@expect[]}%
688 }
689 \def\ebs@expectop{\mathbf{E}}
690 \def\ebs@expect{%
691 \@ifnextchar[{\ebs@@expect}{\ebs@@expect[]}%
692 }
693 \def\ebs@@expect[#1]{%
694 \@ifnextchar[{\ebs@@@expect[#1]}{\ebs@@@expect[][#1]}%
695 }
696 \def\ebs@@@expect[#1][#2]#3{%
697 \@expectx[#1][#2]{#3}%
698 }
699 \def\@expectx[#1][#2]#3{%
700 \ifx\relax#1\relax
701 \ifx\relax#2\relax
702 \ebs@expectop\!\left[#3\right]
703 \else
704 \ebs@expectop\!\left[#3\,\middle|\,#2\right]
705 \fi
706 \else
707 \ifx\relax#2\relax
708 \ebs@expectop_{#1}\!\left[#3\right]
709 \else
710 \ebs@expectop_{#1}\!\left[#3\,\middle|\,#2\right]
711 \fi
712 \fi
713 }
714 \newcommand{\indic}[1]{\mathbf{1}_{#1}}
715 \newcommand{\var}[1]{\mathbf{V}\!\left[#1\right]}
716 \newcommand{\Var}{\mathrm{Var}}
717 \newcommand{\Cov}{\mathrm{Cov}}
718 \newcommand{\normal}{\mathrm{N}}
719 % Order
720 \newcommand{\order}[1]{\mathrm{O}\!\left(#1\right)}
721 % Sets
722 \newcommand{\Cset}{\mathbf{C}}
723 \newcommand{\Hset}{\mathbf{H}}
724 \newcommand{\Nset}{\mathbf{N}}
725 \newcommand{\Qset}{\mathbf{Q}}
726 \newcommand{\Rset}{\mathbf{R}}
727 \newcommand{\Zset}{\mathbf{Z}}
728 % Absolute value and sign
729 \providecommand{\abs}[1]{\left\lvert#1\right\rvert}
730 \DeclareMathOperator{\sign}{sign}
731 % Evaluated at
732 \RequirePackage{ifthen}[2001/05/26]
733 \newcommand{\evaluatedat}[3][]{%
734 \left.#3\right\rvert_{#2}\ifthenelse{\equal{#1}{}}{\relax}{^{#1}}}
735 % Other mathematical expressions
736 \DeclareMathOperator*{\argmax}{argmax}
737 % Common (English) abbreviations
738 \newcommand{\eg}{e.g.}
739 \newcommand{\ie}{i.e.}
740 \newcommand{\iid}{i.i.d.}
741 % Common (German) abbreviations
742 % \renewcommand{\dh}{d.\,h.}
743 \newcommand{\cp}{c.\,p.}
744 \newcommand{\idR}{i.\,d.\,R.}
745 \newcommand{\mE}{m.\,E.}
746 \newcommand{\uU}{u.\,U.}
747 \newcommand{\zB}{z.\,B.}
748 % Theorems
749 \newcommand{\theoremname}{Theorem}
750 \newcommand{\lemmaname}{Lemma}
751 \newcommand{\propositionname}{Proposition}
752 \newcommand{\corollaryname}{Corollary}
753 \newcommand{\definitionname}{Definition}
754 \newcommand{\conjecturename}{Conjecture}
755 \newcommand{\examplename}{Example}
756 \newcommand{\remarkname}{Remark}
757 % \newcommand{\notename}{Note}
758 \newcommand{\casename}{Case}
759 % Babel support for theorems
760 \AtBeginDocument{%
761 \@ifpackageloaded{babel}{%
762 \addto\extrasenglish{%
763 \renewcommand{\theoremname}{Theorem}
764 \renewcommand{\lemmaname}{Lemma}
765 \renewcommand{\propositionname}{Proposition}
766 \renewcommand{\corollaryname}{Corollary}
767 \renewcommand{\definitionname}{Definition}
768 \renewcommand{\conjecturename}{Conjecture}
769 \renewcommand{\examplename}{Example}
770 \renewcommand{\remarkname}{Remark}
771 % \renewcommand{\notename}{Note}
772 \renewcommand{\casename}{Case}%
773 }
774 \addto{\extrasngerman}{%
775 \renewcommand{\theoremname}{Theorem}
776 \renewcommand{\lemmaname}{Lemma}
777 \renewcommand{\propositionname}{Satz}
778 \renewcommand{\corollaryname}{Korollar}
779 \renewcommand{\definitionname}{Definition}
780 \renewcommand{\conjecturename}{Vermutung}
781 \renewcommand{\examplename}{Beispiel}
782 \renewcommand{\remarkname}{Bemerkung}
783 % \renewcommand{\notename}{Anmerkung}
784 \renewcommand{\casename}{Fall}%
785 }%
786 }{\relax}%
787 }
788 \RequirePackage{amsthm}[2004/08/06]
789 \theoremstyle{plain}
790 \newtheorem{thm}{\theoremname}[chapter]
791 \newtheorem{lem}[thm]{\lemmaname}
792 \newtheorem{prop}[thm]{\propositionname}
793 \newtheorem{cor}{\corollaryname}[chapter]
794 \theoremstyle{definition}
795 \newtheorem{defn}{\definitionname}[chapter]
796 \newtheorem{conj}{\conjecturename}[chapter]
797 \newtheorem{exmp}{\examplename}[chapter]
798 \theoremstyle{remark}
799 \newtheorem*{rem}{\remarkname}
800 % \newtheorem*{note}{\notename}
801 \newtheorem{case}{\casename}
802 \fi
803 \endinput
804 %</ebsthesis>
805 % \end{macrocode}
806 % \Finale
807 \endinput