summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/ebsthesis/ebsthesis.dtx
blob: fc6ce3bd97f4781c94f23e00fc748861ec6f3ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
% \iffalse meta-comment
%
%% The ebsthesis document class and ebstools package
%% Copyright (c) 2003 Philipp N. Baecker. All right reserved.
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License distributed from CTAN archives
% in the directory macros/latex/base/lppl.txt; either version 1 of
% the License, or (at your option) any later version.
%
%<*dtx>
\ProvidesFile{ebsthesis.dtx}
             [2003/10/01 v0.9i EBS Thesis Class and Tools Package (PNB)]
%</dtx>
%<driver>\ProvidesFile{ebsthesis.drv}
%<*driver>
\documentclass{ltxdoc}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage{url}
\usepackage{ifthen}
\IfFileExists{hyperref.sty}{%
  \RequirePackage{hyperref}
}{}
\EnableCrossrefs
\RecordChanges
\CodelineIndex
\setcounter{IndexColumns}{2}
\setcounter{StandardModuleDepth}{1}
\newcommand{\class}[1]{\textsf{#1}}
\newcommand{\package}[1]{\textsf{#1}}
\newcommand{\option}[1]{\texttt{#1}}
\newcommand{\file}[1]{\texttt{#1}}
\begin{document}
\DocInput{ebsthesis.dtx}
\PrintChanges
\PrintIndex
\end{document}
%</driver>
% \fi
%
% \CheckSum{837}
%
%%
%% \CharacterTable
%%  {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
%%   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
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%%
%
% \changes{v0.9}{2003/08/09}{First public release}
% \changes{v0.9a}{2003/08/12}{Removed some redundant commands}
% \changes{v0.9b}{2003/08/13}{New summary of contents}
% \changes{v0.9b}{2003/08/13}{Added support for appendices}
% \changes{v0.9b}{2003/08/13}{Added comments}
% \changes{v0.9b}{2003/08/13}{Corrected typo in installation file}
% \changes{v0.9b}{2003/08/13}{Changed appearence of numbering}
% \changes{v0.9b}{2003/08/13}{Added support for parts}
% \changes{v0.9i}{2003/10/01}{Changed section numbering and format}
% \changes{v0.9j}{2003/11/11}{Fixed typo pointed out by André Kudra}
%
% \def\fileversion{v0.9}
% \def\filedate{2003/08/09}
% \def\fileversion{v0.9a}
% \def\filedate{2003/08/12}
% \def\fileversion{v0.9b}
% \def\filedate{2003/08/13}
% \def\fileversion{v0.9c}
% \def\filedate{2003/08/14}
% \def\fileversion{v0.9d}
% \def\filedate{2003/08/15}
% \def\fileversion{v0.9e}
% \def\filedate{2003/08/16}
% \def\fileversion{v0.9f}
% \def\filedate{2003/08/17}
% \def\fileversion{v0.9g}
% \def\filedate{2003/08/20}
% \def\fileversion{v0.9h}
% \def\filedate{2003/09/05}
% \def\fileversion{v0.9i}
% \def\filedate{2003/10/01}
% \def\fileversion{v0.9j}
% \def\filedate{2003/11/11}
%
% \GetFileInfo{ebsthesis.dtx}
% \title{The \class{ebsthesis} document class and \class{ebstools}
%   package\\for use with \LaTeXe\thanks{This file has version number
%     \fileversion, last revised \filedate.  I am grateful for helpful
%     comments I received from Andr\'e Kudra and others.}}
% \author{Philipp N. Baecker\\
%   European Business School\\
%   \url{mailto:philipp.baecker@ebs.edu}}
% \date{\filedate}
% \maketitle
% \begin{abstract}
%   The \class{ebsthesis} class and \class{ebstools} package
%   facilitate the production of camera-ready manuscripts in
%   conformance with the guidelines of Gabler Verlag and typographical
%   rules established by European Business School. If you do not like
%   the output, find somebody else to complain to.
% \end{abstract}
% \tableofcontents
% \section{User Documentation}
% \subsection{Introduction}
% The \class{ebsthesis} class relies heavily on a number of packages.
% Some people will probably object to this and suggest that all the code
% be included into the class itself (as it is the case with the some
% other classes). IMHO, it is against common practice (and against
% common sense, for that matter) to ``reinvent the wheel'' or to copy
% library code that is otherwise maintained and frequently updated
% verbatim into your own programs. Indeed, I assume packages were
% introduced to save you time (that is, for example, better invested
% into one's thesis). Finally, there is usually no need to pass options
% to the required packages other than those used by the class.
% \par
% In addition, since MiK\TeX\ is widely used in my department, it is more
% or less safe (for me) to rely on the availability of these packages.
% For the same reason, I chose to specify fairly recent dates for all
% dependencies, so I can guarantee that the class will function as
% expected, provided an up-to-date Mik\TeX\ distribution (or equivalent)
% is installed on the machine you are using. If you have any suggestions
% for further improvements likely to increase portability I am happy to
% hear from you.
% \subsection{Features}
% \subsubsection{Overview}
% Loosely speaking, the \class{ebsthesis} class currently consists of
% two files: \file{ebsthesis.cls} (the actual document class) and
% \file{ebstools.sty} (a supplementary package). For reasons of
% convenience, I separated all commands not essential to the
% implementation from the class and included them into the package. This
% documentation as well as the class and the package can be produced
% from the main distribution file \file{ebsthesis.dtx} by running
% \file{ebsthesis.ins} through \TeX.
% \subsubsection{An Example}
% \DescribeMacro{\frontmatter}
% \DescribeMacro{\mainmatter}
% \DescribeMacro{\backmatter}
% The commands provided by the class and package are more or less
% self-explanatory. As far as usage is concerned, the class is similar
% to the standard \class{book} class, including commands such as
% \cs{frontmatter}, \cs{mainmatter}, and \cs{backmatter}.\footnote{It is
%   actually derived from the \class{extbook} class, a non-standard
%   extension providing additional font sizes.}
% \par
% To use the \class{ebsthesis} class just include the following lines
% (or something similar) into the preamble of your document.
% \begin{verbatim}
% \documentclass[singlespacing,noheadrules]{ebsthesis}
% \name{Dipl.-Kfm. Philipp N. Baecker}
% \titel{Platform Investment Under Uncertainty}
% \untertitel{Exemplified by an Option-Based Analysis
%   of Business Models in the Biotechnology Industry}
% \geburtsort{Mainz}
% \referenten{%
%   Prof. Ulrich Hommel, Ph.D.
%   \and Prof. Albus Dumbledore
% }
% \einreichungstermin{19. Dezember 2000}
% \pruefungstermin{7. September 2001}
% \erscheinungsjahr{2004}
% \end{verbatim}
% Your document might continue as shown below.
% \begin{verbatim}
% \begin{document}
% \frontmatter
% \maketitle
% \include{geleitwort}
% \include{vorwort}
% \inhaltsuebersicht
% \tableofcontents
% \listoffigures
% \listoftables
% \include{abkuerzungsverzeichnis}
% \symbolverzeichnis
% \mainmatter
% \include{einleitung}
% \include{hauptteil}
% \include{schluss}
% \backmatter
% \include{literaturverzeichnis}
% \include{anhang}
% \end{document}
% \end{verbatim}
% The file \file{geleitwort.tex} commences as follows.
% \begin{verbatim}
% \geleitwort
% Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
% eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
% minim veniam, quis nostrud exercitation ullamco laboris nisi ut
% aliquip ex ea commodo consequat.
% \end{verbatim}
% Below is the beginning of the file \file{vorwort.tex}.
% \begin{verbatim}
% \vorwort
% Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
% dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
% proident, sunt in culpa qui officia deserunt mollit anim id est
% laborum.
% \end{verbatim}
% Following is an example of a file \file{abkuerzungsverzeichnis.tex}.
% \begin{verbatim}
% \abkuerzungsverzeichnis
% \begin{acronym}
%   \acro{ANSI}{American National Standards Institute}
%   \acro{ATLAS}{Automatically Tuned Linear Algebra Software}
%   \acro{CBLAS}{Complex Basic Linear Algebra Subprograms}
%   \acro{FTCS}{Forward Time Centered Space}
%   \acro{GAlib}{Genetic Algorithms Library}
%   \acro{GCC}{GNU Compiler Collection}
%   \acro{GNU}{GNU's Not Unix}
%   \acro{GSL}{GNU Scientific Library}
%   \acro{PRNG}{Pseudo-Random Number Generator}
%   \acro{UNURAN}{Universal Non-Uniform Random Number Generator}
% \end{acronym}
% \end{verbatim}
% The following listing is an example for \file{anhang.tex}.
% \begin{verbatim}
% \appendices
% \listofappendices
% \input{beweise}
% \input{interviews}
% \end{verbatim}
% Obviously, you may choose different names for the included files,
% should you wish to do so.
% \par
% Assuming you are already familar with \LaTeX, it should now be
% straightforward for you to produce a thesis conforming to European
% Business School guidelines.
% \subsubsection{Options}
% \DescribeMacro{headrules}
% \DescribeMacro{noheadrules}
% \DescribeMacro{singlespacing}
% \DescribeMacro{onehalfspacing}
% The example shown above makes use of the \option{singlespacing} and
% \option{noheadrules} options, which, as you might have guessed, turn
% on singlespacing (actually 1.1) and turn off headrules, respectively.
% The corresponding (default) options are \option{onehalfspacing}
% (actually 1.3) and \option{headrules}.
% \par
% \DescribeMacro{tools}
% \DescribeMacro{notools}
% The \package{ebstools} package provides additional functionality I
% found useful in my daily work. As I figured that not everybody
% needs or likes these commands, the package is not loaded by default.
% Specifying the \option{tools} option is equivalent to issuing the
% corresponding \cs{usepackage} command.
% \begin{verbatim}
% \documentclass[singlespacing,noheadrules,tools]{ebsthesis}
% \end{verbatim}
% \par
% \DescribeMacro{mathematica}
% \DescribeMacro{nomathematica}
% If you have Mathematica installed on your machine, you may wish to
% employ the Mathematica fonts (which are especially useful if you would
% like to or are forced to use Times as your body text font). At
% present, the \option{mathematica} option is only available for the
% \package{ebstools} package and cannot be accessed using a class option.
% To activate support for the Mathematica fonts, you have to load the
% \option{ebstools} package separately.
% \begin{verbatim}
% \documentclass[singlespacing,noheadrules]{ebsthesis}
% \usepackage[mathematica]{ebstools}
% \end{verbatim}
% \par
% Bypassing this mechanism and loading the underlying \package{wrisym}
% package directly is strongly disouraged, as the \package{ebstools}
% package defines several commands that potentially conflict with it.
% \par
% \DescribeMacro{fancyfoot}
% \DescribeMacro{nofancyfoot}
% The \class{ebsthesis} class uses the \package{footmisc} package to
% provide hanging indentation for footnotes and stable footnotes that
% can be included in headings and other unusual places (which is not the
% case in standard \LaTeX). While it makes perfect sense to use
% superscript numbers for footnote markers, I find it silly to use
% superscript numbers in the actual footnote text. Since the Chicago
% Manual of Style seems to share my opinion on this important issue, you
% may change the standard layout of footnotes by requesting the
% \option{fancyfoot} option. The default setting is \option{nofancyfoot}
% which leaves the footnote layout untouched.
% \subsubsection{Appendices}
% \DescribeMacro{\appendices}
% \DescribeMacro{\appendicesname}
% \DescribeMacro{\appendixname}
% Similar to the \cs{appendix} command of the base classes, the
% \class{ebsthesis} class provides the command \cs{appendices}. It starts
% a new chapter using the heading \cs{appendicesname}. The following
% sections are labeled using uppercase letters and the prefix
% \cs{appendixname}.
% \par
% \DescribeMacro{\listofappendices}
% The summary and table of contents will contain a single chapter-level
% entry. To generate a list of appendices, issue the command
% \cs{listofappendices} after starting the appendix with the command
% \cs{appendices}.
% \subsubsection{Language Support}
% Support for other languages is activated by loading the babel package.
% The following command activates support for German (reformed). All
% custom headings and names are automatically translated.
% \begin{verbatim}
% \usepackage[ngerman]{babel}
% \end{verbatim}
% \par
% The \class{ebsthesis} class currently supports English (default)
% and German (reformed). Feel free to mail me if you have translated the
% \class{ebsthesis} macros into other languages.
% \subsubsection{Lists of Abbreviations and Symbols}
% The \class{ebsthesis} class relies on the \package{acronym} and
% \package{nomencl} packages for implementing lists of abbreviations and
% symbols. The output is adjusted to better reflect the specific
% requirements. Please consult the relevant manuals for detailed
% information.
% \par
% \DescribeMacro{\acroindent}
% \DescribeMacro{\glossindent}
% The lengths \cs{acroindent} and \cs{glossindent} can be redefined if
% the default indentations do not provide sufficient space for
% abbreviations or symbols. The following commands give you plenty of
% space.
% \begin{verbatim}
% \setlength{\acroindent}{10em}
% \setlength{\glossindent}{6em}
% \end{verbatim}
% \subsubsection{Package Macros}
% \DescribeMacro{\D}
% \DescribeMacro{\E}
% \DescribeMacro{\I}
% You may use the commands \cs{D}, \cs{E}, and \cs{I} to generate the
% differential operator (the equivalent of \cs{partial} for ODEs), Euler's
% number $\mathrm{e}$, and the imaginary unit $\mathrm{i}$, respectively.
% \par
% The output generated by these commands differs depending on whether
% Mathematica fonts are being used.  Together with the
% \option{mathematica} option they produce the strange doublestruck
% symbols typically found in Mathematica notebooks. If you do not like
% them, stick to Computer Modern.
% \par
% \DescribeMacro{\evaluatedat}
% The command
% \cs{evaluatedat}\oarg{superscript}\marg{subscript}\marg{expression}
% enables you to typeset vertical bars used for the frequently used
% ``evaluated at'' notation. The commands
% \begin{verbatim}
% \begin{equation*}
%   \evaluatedat[y=0]{x=0}{\frac{\partial^2 f}{\partial x\partial y}}=1
% \end{equation*}
% \end{verbatim}
% produce
% \begin{equation*}
%   \left.\frac{\partial^2f}{\partial x\partial y}\right\rvert_{x=0}^{y=0}=1.
% \end{equation*}
% \par
% All other macros are still ``under development'' and considered
% experimental. As interfaces and implementation might by subject to
% future changes, use them at your own risk.
% \subsubsection{BibTeX Style}
% Currently, I am developing a Bib\TeX\ style in conformance with the
% Gabler and European Business School guidelines. It will be added as
% soon as it is finished. In the meantime, I strongly recommend using
% the \package{natbib} package and its associated style files.
% \subsection{Known Bugs and Issues}
% For some reason, redefinitions of the \cs{figurename} and
% \cs{tablename} commands are not reflected in the output.
% \par
% Despite my adjustments, chapter headings still do not show up at the
% top of the page but slightly below it.
% \par
% Please let me know if you have a solution to any of these problems.
% \subsection{Final Remarks}
% The \class{ebsthesis} class typesets your thesis on A5 paper. Consult
% the dvips manual to find out how to properly convert, scale, and print
% the resulting files. Another possibility to generate A4 output is
% provided by means of the \package{scale} package. Just add
% \begin{verbatim}
% \usepackage{scale}
% \end{verbatim}
% to the preamble of your document.
% \par
% Feature requests can be send to \texttt{philipp.baecker@ebs.edu}, and I
% will look at them as soon as I get around to it (usually that is very
% soon, as any distraction from my thesis is all too welcome).
% \par
% Since I am not a native speaker, any corrections to the documentation
% are also very much appreciated. Until then, Happy \TeX ing!
% \StopEventually{\relax}
% \section{Code}
% Unless you intend to assist in improving the documentation, debugging,
% or cleaning up the code there is no reason for you to read on. Of
% course you may continue, if you are simply curious how this class has
% been implemented.
% \par
% Class and package both require a recent version of \LaTeXe.
%    \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[2001/06/01]
%    \end{macrocode}
% \subsection{The Class}
% \subsubsection{Options}
% This subsection shows how the class options are defined.
%    \begin{macrocode}
%<*ebsthesis>
\ProvidesClass{ebsthesis}
              [2003/11/11 v0.9j EBS Thesis Class (PNB)]
%    \end{macrocode}
% Declare options and introduce new booleans later used to selectively
% execute class code.
%    \begin{macrocode}
\newif\if@singlespacing
\DeclareOption{onehalfspacing}{\@singlespacingfalse}
\DeclareOption{singlespacing}{\@singlespacingtrue}
\newif\if@headrules
\DeclareOption{headrules}{\@headrulestrue}
\DeclareOption{noheadrules}{\@headrulesfalse}
\newif\if@tools
\DeclareOption{tools}{\@toolstrue}
\DeclareOption{notools}{\@toolsfalse}
\newif\if@fancyfoot
\DeclareOption{fancyfoot}{\@fancyfoottrue}
\DeclareOption{nofancyfoot}{\@fancyfootfalse}
%    \end{macrocode}
% Deactivate the various size options.
%    \begin{macrocode}
\DeclareOption{8pt}{\OptionNotUsed}
\DeclareOption{10pt}{\OptionNotUsed}
\DeclareOption{11pt}{\OptionNotUsed}
\DeclareOption{12pt}{\OptionNotUsed}
\DeclareOption{14pt}{\OptionNotUsed}
\DeclareOption{17pt}{\OptionNotUsed}
\DeclareOption{20pt}{\OptionNotUsed}
%    \end{macrocode}
% Pass all remaining options on to the \class{extbook} class.
%    \begin{macrocode}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{extbook}}
\ExecuteOptions{onehalfspacing,headrules,notools,nomathematica,nofancyfoot}
\ProcessOptions\relax
%    \end{macrocode}
% Load the \class{extbook} class for intermediary font sizes.
%    \begin{macrocode}
\LoadClass[9pt]{extbook}[1999/01/07]
%    \end{macrocode}
% \subsubsection{Customization}
% This subsection shows the customizations specific to the
% \class{ebsthesis} class.
% \begin{macro}{\contentsname}
% \begin{macro}{\figurename}
% \begin{macro}{\tablename}
% Redefine some commands to better correspond to the newly defined
% generic headings.
%    \begin{macrocode}
%% Modified generic headings and names
\renewcommand{\contentsname}{Table of Contents}
\renewcommand{\figurename}{Fig.}
\renewcommand{\tablename}{Table}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \begin{macro}{\abkuerzungsverzeichnisname}
% \begin{macro}{\geleitwortname}
% \begin{macro}{\inhaltsubersichtname}
% \begin{macro}{\symbolverzeichnisname}
% \begin{macro}{\vorwortname}
% Define headings for special chapters. We stick to German and avoid the
% hassle of having to come up with fancy english names.
%    \begin{macrocode}
%% New generic headings and names
\newcommand{\abkuerzungsverzeichnisname}{List of Abbreviations}
\newcommand{\geleitwortname}{Foreword}
\newcommand{\inhaltsubersichtname}{Summary of Contents}
\newcommand{\symbolverzeichnisname}{List of Symbols}
\newcommand{\vorwortname}{Preface}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \begin{macro}{\appendicesname}
% \begin{macro}{\listappendixname}
% \changes{v0.9b}{2003/08/13}{Added generic headings for appendices}
% Define generic headings for appendices.
%    \begin{macrocode}
\newcommand{\appendicesname}{Appendices}
\newcommand{\listappendixname}{List of Appendices}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\captionsenglish}
% \begin{macro}{\extrasenglish}
% \begin{macro}{\captionsngerman}
% \begin{macro}{\extrasngerman}
% \changes{v0.9b}{2003/08/13}{Added babel support for appendix commands}
% Add translation of the above chapter titles to the corresponding hooks
% of the \package{babel} package. Redefinitions of \cs{figurename} and
% \cs{tablename} fail for some reason.
%    \begin{macrocode}
%% Babel support
\AtBeginDocument{%
  \@ifpackageloaded{babel}{%
     \addto\captionsenglish{%
       \renewcommand{\contentsname}{Table of Contents}%
       \renewcommand{\figurename}{Fig.}%
       \renewcommand{\tablename}{Table}%
     }%
     \addto\extrasenglish{%
       \renewcommand{\abkuerzungsverzeichnisname}{List of Abbreviations}%
       \renewcommand{\geleitwortname}{Foreword}%
       \renewcommand{\inhaltsubersichtname}{Summary of Contents}%
       \renewcommand{\symbolverzeichnisname}{List of Symbols}%
       \renewcommand{\vorwortname}{Preface}%
       \renewcommand{\appendicesname}{Appendices}%
       \renewcommand{\listappendixname}{List of Appendices}%
     }
     \addto{\captionsngerman}{%
       \renewcommand{\figurename}{Abb.}%
       \renewcommand{\tablename}{Tab.}%
     }
     \addto{\extrasngerman}{%
       \renewcommand{\abkuerzungsverzeichnisname}{Abkürzungsverzeichnis}%
       \renewcommand{\geleitwortname}{Geleitwort}%
       \renewcommand{\inhaltsubersichtname}{Inhaltsübersicht}%
       \renewcommand{\symbolverzeichnisname}{Symbolverzeichnis}%
       \renewcommand{\vorwortname}{Vorwort}%
       \renewcommand{\appendicesname}{Anhang}%
       \renewcommand{\listappendixname}{Verzeichnis des Anhangs}%
     }%
   }{\relax}%
 }
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% Load the \package{geometry} package and adjust paper size and margins.
%    \begin{macrocode}
%% New paper format and margins
\RequirePackage{geometry}[2002/07/08]
\geometry{%
  a5paper,%
  includeheadfoot,%
  centering,%
  totalwidth=11.5cm,%
  totalheight=18cm}
%    \end{macrocode}
% Load the \package{setspace} package and adjust linespacing according
% to guidelines. If \option{singlespacing} has been requested, adjust
% linespacing for best legibility.
%    \begin{macrocode}
%% New linespacing
\RequirePackage[nodisplayskipstretch]{setspace}[2000/12/01]
\if@singlespacing
\setstretch{1.1}
\else
\setstretch{1.3}
\fi
%    \end{macrocode}
% Load the \package{float} package and define new floatstyles. Tables
% appear with caption on top. Figures appear with caption at the bottom.
%    \begin{macrocode}
%% New figures and tables
\RequirePackage{float}[2001/11/08]
%    \end{macrocode}
% \begin{macro}{\floatc@ebs}
% \changes{v0.9f}{2003/08/17}{Changed caption format}
% Define the caption format.
%    \begin{macrocode}
\newcommand\floatc@ebs[2]{\small{\@fs@cfont #1}\enspace#2\par}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\fs@ebsbottom}
% Define floatstyle with captions on at the bottom.
%    \begin{macrocode}
\newcommand\fs@ebsbottom{%
  \def\@fs@cfont{\bfseries}
  \let\@fs@capt\floatc@ebs%
  \def\@fs@pre{}%
  \def\@fs@mid{\vspace\abovecaptionskip\relax}%
  \def\@fs@post{}%
  \let\@fs@iftopcapt\iffalse}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\fs@ebstop}
% Define floatstyle with captions on top.
%    \begin{macrocode}
\newcommand\fs@ebstop{%
  \def\@fs@cfont{\bfseries}%
  \let\@fs@capt\floatc@ebs%
  \def\@fs@pre{}%
  \def\@fs@mid{\vspace\belowcaptionskip\relax}%
  \def\@fs@post{}%
  \let\@fs@iftopcapt\iftrue}
%    \end{macrocode}
% \end{macro}
% Restyle figures and tables.
%    \begin{macrocode}
\floatstyle{ebsbottom}
\restylefloat{figure}
\floatstyle{ebstop}
\restylefloat{table}
\setlength{\belowcaptionskip}{10pt}
%    \end{macrocode}
% \changes{v0.9h}{2003/09/05}{Changed footnote layout}
% Load the \package{footmisc} package and activate hanging indentation
% for footnotes. Produces awkward-looking output if \cs{par} is used
% within footnotes.
%    \begin{macrocode}
%% New footnotes
\RequirePackage[hang,splitrule,stable]{footmisc}[2003/01/27]
\setlength{\footnotemargin}{\parindent}
\renewcommand{\mpfootnoterule}{\relax}
%    \end{macrocode}
% \begin{macro}{\@makefntext}
% \changes{v0.9g}{2003/08/20}{Added Chicago style footnote option}
% The following is a brutal hack of the modifications performed by the
% \package{footmisc} package. As it might not be compatible with future
% versions of the package, it is optional.
%    \begin{macrocode}
\if@fancyfoot
  \def\@makefntext#1{%
    \ifFN@hangfoot
      \@hangfrom{%
        \ifdim\footnotemargin>0pt
          \hb@xt@\footnotemargin{\hbox{\normalfont\@thefnmark}.\hss}%
        \else
          \@makefnmark
        \fi
      }%
    \else
      \parindent1em
      \noindent
      \ifdim\footnotemargin>0pt
        \hb@xt@ \footnotemargin{\hss\@makefnmark}%
      \else
        \ifdim\footnotemargin=0pt
          \llap{\textsuperscript{\@thefnmark}}%
        \else
          \llap{\hb@xt@ -\footnotemargin{\textsuperscript{\@thefnmark}\hss}}%
        \fi
      \fi
    \fi
    \footnotelayout#1%
  }
\fi
%    \end{macrocode}
% \end{macro}
% Load the \package{titlesec} package and define appropriate formats for
% the part, chapter, and section headings. Use the \package{calc} package
% to move the part and chapter headings to the top of the page. Why is
% there still a small gap?
%    \begin{macrocode}
%% New headings
\RequirePackage[nobottomtitles*,%
                newparttoc,%
                clearempty,%
                pagestyles]{titlesec}[2002/04/07]
                \RequirePackage{calc}[1998/07/07]
%    \end{macrocode}
% \begin{macro}{\part}
% \changes{v0.9b}{2003/08/13}{Added definition for parts}
% Define part format and spacing.
%    \begin{macrocode}
\titleformat{\part}[display]{%
  \thispagestyle{empty}\normalfont\huge\mdseries}{%
  \bfseries\partname~\thepart}{0pt}{}
\titlespacing*{\part}{%
  0pt}{-\headheight-\headsep}{1.5ex plus .2ex}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\chapter}
% Define chapter format and spacing.
%    \begin{macrocode}
\titleformat{\chapter}{%
  \normalfont\Large\bfseries}{%
  \thechapter}{1em}{}
\titlespacing*{\chapter}{%
  0pt}{-\headheight-\headsep}{1.5ex plus .2ex}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\section}
% Define section format and spacing.
%    \begin{macrocode}
\titleformat{\section}{%
  \normalfont\large\bfseries}{%
  \thesection}{1em}{}
\titlespacing*{\section}{%
  0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\subsection}
% Define subsection format and spacing.
%    \begin{macrocode}
\titleformat{\subsection}{%
  \normalfont\normalsize\mdseries\itshape}{%
  \upshape\thesubsection}{1em}{}
\titlespacing*{\subsection}{%
  0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\subsection}
% Define subsubsection format and spacing.
%    \begin{macrocode}
\titleformat{\subsubsection}{%
  \normalfont\normalsize\mdseries\upshape}{%
  \thesubsubsection}{1em}{}
\titlespacing*{\subsubsection}{%
  0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\paragraph}
% Define paragraph format and spacing.
%    \begin{macrocode}
\titleformat{\paragraph}{%
  \normalfont\normalsize\mdseries\itshape}{%
  \upshape\theparagraph}{1em}{}
\titlespacing*{\paragraph}{%
  0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\subparagraph}
% Define subparagraph format and spacing.
%    \begin{macrocode}
\titleformat{\subparagraph}{%
  \normalfont\normalsize\mdseries\upshape}{%
  \thesubparagraph}{1em}{}
\titlespacing*{\subparagraph}{%
  0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
%    \end{macrocode}
% \end{macro}
% Include numbers for all levels.
%    \begin{macrocode}
%% New numbering
\setcounter{secnumdepth}{3}
%    \end{macrocode}
% Define new pagestyles with custom headers and footers. Plain pages
% have no header and page numbers at the bottom. All other pages have
% running heads with chapter/section number and title. Produce headrule
% unless the \option{noheadrules} option has been requested.
%    \begin{macrocode}
%% New headers and footers
\renewpagestyle{plain}[\small]{
  \sethead[][][]%
          {}{}{}
  \setfoot[\usepage][][]%
          {}{}{\usepage}
}
%    \end{macrocode}
% \begin{macro}{\headrulewidth}
% \changes{v0.9b}{2003/08/13}{Added length for width of headrule}
% Define width of headrule.
%    \begin{macrocode}
\if@headrules
\newlength{\headrulewidth}
\setlength{\headrulewidth}{0.05em}
\fi
%    \end{macrocode}
% \end{macro}
% \changes{v0.9h}{2003/09/05}{Changed headers}
% Use newly defined width to specify pagestyle.
%    \begin{macrocode}
\newpagestyle{ebs}[\small]{
  \if@headrules
  \headrule
  \setheadrule{\headrulewidth}
  \fi
  \sethead[\usepage][][\ifthechapter{\thechapter\quad}{}\textit{\chaptertitle}]%
          {\ifthesection{\thesection\quad}{}\textit{\sectiontitle}}{}{\usepage}
  \setfoot[][][]%
          {}{}{}
}
\pagestyle{ebs}
%    \end{macrocode}
% Load \package{titletoc} package for partial TOCs.
%    \begin{macrocode}
\RequirePackage{titletoc}[2002/03/27]
%    \end{macrocode}
% \begin{macro}{\titlecontents}
% \changes{v0.9e}{2003/08/16}{Customized table of contents for parts}
% Customize appearance of part entries in table of contents.
%    \begin{macrocode}
%% New part TOC entry
\titlecontents{part}[0pt]{%
  \addvspace{10pt}\filright}{%
  \textbf{\partname\space\thecontentslabel:\enspace}}{}{}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\listofappendices}
% \changes{v0.9b}{2003/08/13}{Added command for list of appendices}
% \changes{v0.9e}{2003/08/16}{Fixed appendix headers}
% Define command for the list of appendices.
%    \begin{macrocode}
%% Appendix
\newcommand{\listofappendices}{%
  \section*{\listappendixname\sectionmark{\listappendixname}}
  \printcontents[appendix]{1}{1}{\setcounter{tocdepth}{3}}
}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\appendix}
% \changes{v0.9b}{2003/08/13}{Redefined old appendix command}
% Redefine |\appendix| to issue a warning and call |\appendices|.
%    \begin{macrocode}
\renewcommand{\appendix}{%
  \ClassWarningNoLine{ebsthesis}{%
    Use \noexpand\appendices to start the appendix}
  \appendices}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\appendices}
% \changes{v0.9b}{2003/08/13}{Added command for appendices}
% \changes{v0.9e}{2003/08/16}{Fixed appendix headers}
% Start the appendix. Found the header hack with \cs{ttl@toclabelfalse}
% and \cs{ttl@setifthe} by trial and error. Any better way to
% make \cs{ifthechapter} yield false?
%    \begin{macrocode}
\newcommand{\appendices}{%
  \ttl@toclabelfalse
  \ttl@setifthe{chapter}
  \setcounter{chapter}{0}
  \setcounter{section}{0}
  \renewcommand{\chaptername}{\appendixname}
  \renewcommand{\thesection}{\Alph{section}}
  \chapter*{\appendicesname\chaptermark{\appendicesname}}
  \addcontentsline{toc}{chapter}{\appendicesname}
  \titleformat{\section}{%
    \normalfont\large\bfseries}{%
    \chaptertitlename~\thesection}{1em}{}
  \stopcontents[main]
  \startcontents[appendix]
}
%    \end{macrocode}
% \end{macro}
% Define various commands for information to go on titlepage. Some
% command have defaults. All of them are quite mnemonic.
% \begin{macro}{\thegrad}
% \begin{macro}{\grad}
% The degree saught.
%    \begin{macrocode}
%% New titlepage
\newcommand{\thegrad}{Doctor rerum politicarum}
\newcommand{\grad}[1]{%
  \renewcommand{\thegrad}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\thetitel}
% \begin{macro}{\titel}
% The title.
%    \begin{macrocode}
\newcommand{\thetitel}{%
  \ClassWarningNoLine{ebsthesis}{%
    Kein \noexpand\titel angegeben}}
\newcommand{\titel}[1]{%
  \renewcommand{\thetitel}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\theuntertitel}
% \begin{macro}{\untertitel}
% The subtitle.
%    \begin{macrocode}
\newcommand{\theuntertitel}{}
\newcommand{\untertitel}[1]{%
  \renewcommand{\theuntertitel}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\thefachbereich}
% \begin{macro}{\fachbereich}
% The department.
%    \begin{macrocode}
\newcommand{\thefachbereich}{Betriebswirtschaftslehre}
\newcommand{\fachbereich}[1]{%
  \renewcommand{\thefachbereich}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\thehochschule}
% \begin{macro}{\hochschule}
% The institution of higher education.
%    \begin{macrocode}
\newcommand{\thehochschule}{%
  European Business School}
\newcommand{\hochschule}[1]{%
  \renewcommand{\thehochschule}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\thename}
% \begin{macro}{\name}
% The student's name.
%    \begin{macrocode}
\newcommand{\thename}{%
  \ClassWarningNoLine{ebsthesis}{%
    Kein \noexpand\name angegeben}}
\newcommand{\name}[1]{%
  \renewcommand{\thename}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\thegeburtsort}
% \begin{macro}{\geburtsort}
% The place of birth.
%    \begin{macrocode}
\newcommand{\thegeburtsort}{%
  \ClassWarningNoLine{ebsthesis}{%
    Kein \noexpand\geburtsort angegeben}}
\newcommand{\geburtsort}[1]{%
  \renewcommand{\thegeburtsort}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\thereferenten}
% \begin{macro}{\referenten}
% The thesis committee.
%    \begin{macrocode}
\newcommand{\thereferenten}{%
  \ClassWarningNoLine{ebsthesis}{%
    Keine \noexpand\referenten angegeben}}
\newcommand{\referenten}[1]{%
  \renewcommand{\thereferenten}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\theeinreichungstermin}
% \begin{macro}{\einreichungstermin}
% The filing date.
%    \begin{macrocode}
\newcommand{\theeinreichungstermin}{%
  \ClassWarningNoLine{ebsthesis}{%
    Kein \noexpand\einreichungstermin angegeben}}
\newcommand{\einreichungstermin}[1]{%
  \renewcommand{\theeinreichungstermin}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\thepruefungstermin}
% \begin{macro}{\pruefungstermin}
% The examination date.
%    \begin{macrocode}
\newcommand{\thepruefungstermin}{%
  \ClassWarningNoLine{ebsthesis}{%
    Kein \noexpand\pruefungstermin angegeben}}
\newcommand{\pruefungstermin}[1]{%
  \renewcommand{\thepruefungstermin}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\theerscheinungsort}
% \begin{macro}{\erscheinungsort}
% The place of publication.
%    \begin{macrocode}
\newcommand{\theerscheinungsort}{Wiesbaden}
\newcommand{\erscheinungsort}[1]{%
  \renewcommand{\theerscheinungsort}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\theerscheinungsjahr}
% \begin{macro}{\erscheinungsjahr}
% The date of publication.
%    \begin{macrocode}
\newcommand{\theerscheinungsjahr}{%
  \ClassWarningNoLine{ebsthesis}{%
    Kein \noexpand\erscheinungsjahr angegeben}}
\newcommand{\erscheinungsjahr}[1]{%
  \renewcommand{\theerscheinungsjahr}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\thehochschulkennziffer}
% \begin{macro}{\hochschulkennziffer}
% The university's identification number.
%    \begin{macrocode}
\newcommand{\thehochschulkennziffer}{154}
\newcommand{\hochschulkennziffer}[1]{%
  \renewcommand{\thehochschulkennziffer}{#1}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\maketitle}
% \changes{v0.9e}{2003/08/16}{Changed font size to match part headings}
% Redefine \cs{maketitle} to include the required information. Load
% the \package{array} package for adjusting the table spacing.
%    \begin{macrocode}
\RequirePackage{array}[1998/05/13]
\renewcommand{\maketitle}{%
%    \end{macrocode}
% Redefine the separator to allow for tabular appearence.
%    \begin{macrocode}
  \renewcommand{\and}{\tabularnewline &}
  \begin{titlepage}
    \begin{singlespacing}
      \begin{center}
        {\Large\bfseries Dissertation}\\
        zur Erlangung des akademischen Grades\\
        \thegrad\par
        \vspace{\stretch{1}}
        {\huge\bfseries\thetitel\par\mdseries\theuntertitel\par}
%    \end{macrocode}
% Use the golden ratio to adjust proportions.
%    \begin{macrocode}
        \vspace{\stretch{1.618033988}}
%    \end{macrocode}
% Print the remaing information specified.
%    \begin{macrocode}
        \begin{tabular}{@{}>{\bfseries}ll@{}}
          Fachbereich:&\thefachbereich\tabularnewline
          Hochschule:&\thehochschule\tabularnewline
          Name:&\thename\tabularnewline
          Geburtsort:&\thegeburtsort\tabularnewline
          Referenten:&\thereferenten\tabularnewline
          Einreichungstermin:&\theeinreichungstermin\tabularnewline
          Prüfungstermin:&\thepruefungstermin\tabularnewline
          Erscheinungsort:&\theerscheinungsort\tabularnewline
          Erscheinungsjahr:&\theerscheinungsjahr\tabularnewline
          Hochschulkennziffer:&\thehochschulkennziffer\tabularnewline
        \end{tabular}
      \end{center}
    \end{singlespacing}
  \end{titlepage}
%    \end{macrocode}
% \changes{v0.9b}{2003/08/13}{Added start of main TOC section}
% Start the main TOC section.
%    \begin{macrocode}
  \startcontents[main]
}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\inhaltsuebersicht}
% \changes{v0.9b}{2003/08/13}{Removed dependency}
% \changes{v0.9d}{2003/08/15}{Reduced depth of summary of contents}
% \changes{v0.9e}{2003/08/16}{Redefined command to include parts}
% Provide a command for the summary of contents.
%    \begin{macrocode}
%% Summary and table of contents
\newcommand{\inhaltsuebersicht}{%
  \chapter*{\inhaltsubersichtname\chaptermark{\inhaltsubersichtname}}
  \printcontents[main]{0}{-1}{\setcounter{tocdepth}{1}}
}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\tableofcontents}
% \changes{v0.9b}{2003/08/13}{Use different package for table of contents}
% \changes{v0.9e}{2003/08/16}{Redefined command to include parts}
% Redefine |\tableofcontents| to exclude the appendix details.
%    \begin{macrocode}
\renewcommand{\tableofcontents}{%
  \chapter*{\contentsname\chaptermark{\contentsname}}
  \printcontents[main]{0}{-1}{\setcounter{tocdepth}{3}}
}
%    \end{macrocode}
% \end{macro}
% Adjust some internal commands that affect page composition.
%    \begin{macrocode}
%% Page composition
\setcounter{topnumber}{3}
\setcounter{bottomnumber}{2}
\setcounter{totalnumber}{4}
\renewcommand{\topfraction}{0.85}
\renewcommand{\bottomfraction}{0.5}
\renewcommand{\textfraction}{0.15}
\renewcommand{\floatpagefraction}{0.7}
\interfootnotelinepenalty=10000
\clubpenalty=10000
\widowpenalty=10000
\displaywidowpenalty=10000
%    \end{macrocode}
% \begin{macro}{\frontmatter}
% \changes{v0.9b}{2003/08/13}{Added start of main TOC section}
% Use uppercase roman numerals in frontmatter.
%    \begin{macrocode}
\renewcommand{\frontmatter}{%
  \cleardoublepage
  \@mainmatterfalse
  \pagenumbering{Roman}
}
%    \end{macrocode}
% \end{macro}
% Load \package{tocbibind} to include index and various lists in table of
% contents. Exclude the table of contents itself.
%    \begin{macrocode}
\RequirePackage[nottoc]{tocbibind}[2003/02/04]
%    \end{macrocode}
% \begin{macro}{\geleitwort}
% \begin{macro}{\vorwort}
% Define commands for foreword and preface. Do not include them into the
% table of contents.
%    \begin{macrocode}
%% Preface and Foreword
\newcommand{\geleitwort}{%
  \chapter*{\geleitwortname\chaptermark{\geleitwortname}}
}
\newcommand{\vorwort}{%
  \chapter*{\vorwortname\chaptermark{\vorwortname}}
}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\symbolverzeichnis}
% \begin{macro}{\symbolverzeichnisname}
% \begin{macro}{\glossindent}
% Load \package{nomencl} package for the list of symbols. Use the
% \package{mdwlist} package to adjust the layout. Indentation is
% determined by \cs{glossindent}.
%    \begin{macrocode}
%% List of Symbols
\RequirePackage{nomencl}[2000/12/03]
\RequirePackage{mdwlist}[1996/05/02]
\newcommand{\symbolverzeichnis}{\printglossary}
\renewcommand{\nomname}{\symbolverzeichnisname}
\newlength{\glossindent}
\setlength{\glossindent}{3em}
\def\theglossary{%
  \chapter*{\nomname\chaptermark{\nomname}}
  \addcontentsline{toc}{chapter}{\nomname}
  \nompreamble
  \addvspace{10pt}
  \begin{basedescript}{%
      \desclabelwidth{\glossindent}
      \desclabelstyle{\nextlinelabel}
      \renewcommand{\makelabel}[1]{##1}
      \parskip\z@\itemsep\z@
    }
}
\def\endtheglossary{%
  \end{basedescript}
  \nompostamble
}
\makeglossary
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \begin{macro}{\abkuerzungsverzeichnis}
% Provide a command for the list of abbreviations.
%    \begin{macrocode}
%% List of Abbreviations
\newcommand{\abkuerzungsverzeichnis}{%
  \chapter*{\abkuerzungsverzeichnisname\chaptermark{%
      \abkuerzungsverzeichnisname}}
  \addcontentsline{toc}{chapter}{\abkuerzungsverzeichnisname}
  \addvspace{10pt}%
}
%    \end{macrocode}
% \end{macro}
% Load \package{acronym} package.
%    \begin{macrocode}
\RequirePackage{acronym}[2000/05/21]
%    \end{macrocode}
% \begin{macro}{\acroindent}
% Define indentation of explanatory text.
%    \begin{macrocode}
\newlength{\acroindent}
\setlength{\acroindent}{6em}
%    \end{macrocode}
% \end{macro}
% Redefine the \texttt{acronym} environment to use custom indentation
% and plain labels.
%    \begin{macrocode}
\renewenvironment{acronym}{%
  \begin{basedescript}{%
      \desclabelwidth{\acroindent}
      \desclabelstyle{\nextlinelabel}
      \renewcommand{\makelabel}[1]{##1}
      \parskip\z@\itemsep\z@
    }
    \providecommand*{\acro}[1]{\AC@dblargafter{##1}\AC@acro}%
  }{%
  \end{basedescript}%
}
%    \end{macrocode}
% \changes{v0.9c}{2003/08/14}{Changed alignment of equations}
% Load \package{amsmath} package. Place equation numbers on the left.
%    \begin{macrocode}
%% Advanced mathematics functions and equation alignment
\RequirePackage[leqno,centertags]{amsmath}[2000/07/18]
%    \end{macrocode}
% Load \package{ebstools} package if the \option{tools} option has been
% requested and provide additional functionality.
%    \begin{macrocode}
\if@tools
\RequirePackage{ebstools}[2003/11/11]
\fi
%</ebsthesis>
%    \end{macrocode}
% \subsection{The Package}
% \subsubsection{Options}
% This subsection shows how the package options are defined.
%    \begin{macrocode}
%<*ebstools>
\ProvidesPackage{ebstools}%
                [2003/11/11 v0.9j EBS Tools (PNB)]
%    \end{macrocode}
% Declare options and introduce booleans.
%    \begin{macrocode}
\newif\if@mathematica
\DeclareOption{mathematica}{\@mathematicatrue}
\DeclareOption{nomathematica}{\@mathematicafalse}
%    \end{macrocode}
% Do not load mathematica fonts by default.
%    \begin{macrocode}
\ExecuteOptions{nomathematica}
\ProcessOptions\relax
%    \end{macrocode}
% \subsubsection{Customization}
% This section describes the \package{ebstools} package in detail.
% \par
% Load the \package{wrisym} package if the \option{mathematica} option
% has been requested. Define some frequently used mathematical symbols
% and constants.
%    \begin{macrocode}
\if@mathematica
%% We are using Mathematica fonts
\RequirePackage{wrisym}[1999/04/20]
%    \end{macrocode}
% \begin{macro}{\D}
% Define differential operator for Mathematica fonts.
%    \begin{macrocode}
\newcommand{\D}{\DifferentialD}
%    \end{macrocode}
% \end{macro}
%    \begin{macrocode}
\else
%    \end{macrocode}
% \begin{macro}{\E}
% \begin{macro}{\D}
% \begin{macro}{\I}
% Define Euler's number, the differential operator, and imaginary unit
% for Computer Modern.
%    \begin{macrocode}
%% We are using Computer Modern fonts
\newcommand{\E}{\mathrm{e}}
\DeclareMathSymbol{\D}{\mathord}{operators}{`d}
\newcommand{\I}{\mathrm{i}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \begin{macro}{\MathLogo}
% \changes{v0.9b}{2003/08/13}{Added mathematica logo}
% Define Mathematica logo for Computer Modern.
%    \begin{macrocode}
\providecommand{\MathLogo}{\emph{Mathematica}}
\fi
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\expect}
% \begin{macro}{\Var}
% \begin{macro}{\Cov}
% Define operators useful in statistics.
%    \begin{macrocode}
%% Statistical operators
\DeclareMathOperator{\expect}{E}
\DeclareMathOperator{\Var}{Var}
\DeclareMathOperator{\Cov}{Cov}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \begin{macro}{\order}
% Define ``order'' operator.
%    \begin{macrocode}
%% Order
\DeclareMathOperator{\order}{O}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\Nset}
% \begin{macro}{\Zset}
% \begin{macro}{\Qset}
% \begin{macro}{\Rset}
% \begin{macro}{\Cset}
% \begin{macro}{\Hset}
% \changes{v0.9b}{2003/08/13}{Added additional commands for sets}
% Define commands for sets similar to Elsevier macros.
%    \begin{macrocode}
%% Sets
\newcommand{\Nset}{\mathbf{N}}
\newcommand{\Zset}{\mathbf{Z}}
\newcommand{\Qset}{\mathbf{Q}}
\newcommand{\Rset}{\mathbf{R}}
\newcommand{\Cset}{\mathbf{C}}
\newcommand{\Hset}{\mathbf{H}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \begin{macro}{\abs}
% \begin{macro}{\sign}
% Define additional operators.
%    \begin{macrocode}
%% Absolute value and sign
\providecommand{\abs}[1]{\left\lvert#1\right\rvert}
\DeclareMathOperator{\sign}{sign}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\evaluatedat}
% Define a command for vertical bars used for the ``evaluated at''
% notation.
%    \begin{macrocode}
%% Evaluated at
\RequirePackage{ifthen}[2001/05/26]
\newcommand{\evaluatedat}[3][]{%
  \left.#3\right\rvert_{#2}\ifthenelse{\equal{#1}{}}{\relax}{^#1}}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\eg}
% \begin{macro}{\ie}
% Define convenient commands for common English abbreviations.
%    \begin{macrocode}
%% Common (English) abbreviations
\newcommand{\eg}{e.g.}
\newcommand{\ie}{i.e.}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\dh}
% \begin{macro}{\zB}
% \begin{macro}{\idR}
% \begin{macro}{\mE}
% \begin{macro}{\uU}
% \begin{macro}{\cp}
% \changes{v0.9b}{2003/08/13}{Added German abbreviations}
% Define convenient commands for common German abbreviations.
%    \begin{macrocode}
%% Common (German) abbreviations
%% \renewcommand{\dh}{d.\,h.}
\newcommand{\zB}{z.\,B.}
\newcommand{\idR}{i.\,d.\,R.}
\newcommand{\mE}{m.\,E.}
\newcommand{\uU}{u.\,U.}
\newcommand{\cp}{c.\,p.}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \begin{macro}{\theoremname}
% \begin{macro}{\lemmaname}
% \begin{macro}{\propositionname}
% \begin{macro}{\corollaryname}
% \begin{macro}{\definitionname}
% \begin{macro}{\conjecturename}
% \begin{macro}{\examplename}
% \begin{macro}{\remarkname}
% \begin{macro}{\casename}
% Provide theorem headers.
%    \begin{macrocode}
%% Theorems
\newcommand{\theoremname}{Theorem}
\newcommand{\lemmaname}{Lemma}
\newcommand{\propositionname}{Proposition}
\newcommand{\corollaryname}{Corollary}
\newcommand{\definitionname}{Definition}
\newcommand{\conjecturename}{Conjecture}
\newcommand{\examplename}{Example}
\newcommand{\remarkname}{Remark}
\newcommand{\casename}{Case}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \begin{macro}{\extrasngerman}
% \changes{v0.9c}{2003/08/14}{Added translations for theorems}
% Add custom names appropriate hooks of the \package{babel} package.
%    \begin{macrocode}
%% Babel support for theorems
\AtBeginDocument{%
  \@ifpackageloaded{babel}{%
     \addto\extrasenglish{%
       \renewcommand{\theoremname}{Theorem}%
       \renewcommand{\lemmaname}{Lemma}%
       \renewcommand{\propositionname}{Proposition}%
       \renewcommand{\corollaryname}{Corollary}%
       \renewcommand{\definitionname}{Definition}%
       \renewcommand{\conjecturename}{Conjecture}%
       \renewcommand{\examplename}{Example}%
       \renewcommand{\remarkname}{Remark}%
       \renewcommand{\casename}{Case}%
     }
     \addto{\extrasngerman}{%
       \renewcommand{\theoremname}{Theorem}%
       \renewcommand{\lemmaname}{Lemma}%
       \renewcommand{\propositionname}{Satz}%
       \renewcommand{\corollaryname}{Korollar}%
       \renewcommand{\definitionname}{Definition}%
       \renewcommand{\conjecturename}{Vermutung}%
       \renewcommand{\examplename}{Beispiel}%
       \renewcommand{\remarkname}{Anmerkung}%
       \renewcommand{\casename}{Fall}%
     }%
   }{\relax}%
 }
%    \end{macrocode}
% \end{macro}
% \begin{macro}{thm}
% \begin{macro}{lem}
% \begin{macro}{prop}
% \begin{macro}{cor}
% \begin{macro}{defn}
% \begin{macro}{conj}
% \begin{macro}{exmp}
% \begin{macro}{rem}
% \begin{macro}{case}
% Load \package{amsthm} package and define theorems as suggested in the
% \package{amsthm} documentation.
%    \begin{macrocode}
\RequirePackage{amsthm}[2000/10/26]
\theoremstyle{plain}% default
\newtheorem{thm}{\theoremname}[chapter]
\newtheorem{lem}[thm]{\lemmaname}
\newtheorem{prop}[thm]{\propositionname}
\newtheorem{cor}{\corollaryname}[chapter]
\theoremstyle{definition}
\newtheorem{defn}{\definitionname}[chapter]
\newtheorem{conj}{\conjecturename}[chapter]
\newtheorem{exmp}{\examplename}[chapter]
\theoremstyle{remark}
\newtheorem*{rem}{\remarkname}
\newtheorem{case}{\casename}
%</ebstools>
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \Finale
\endinput