|
1 | | -% LEA-thesis DOCUMENT CLASS -- version 0.1 (21.02.22) |
| 1 | +% LEA-thesis DOCUMENT CLASS -- version 1.1 (18.08.23) |
2 | 2 | %% Partitially based on svmono.cls and jku.cls |
3 | 3 | %% |
4 | 4 | \NeedsTeXFormat{LaTeX2e}[1995/12/01] |
5 | | -\ProvidesClass{LEAthesis}[2022/02/21 v01 LEA global LaTeX document class for theses] |
| 5 | +\ProvidesClass{LEAthesis}[2023/08/12 v11 LEA global LaTeX document class for theses] |
6 | 6 |
|
7 | 7 | \LoadClass[12pt,twoside,a4paper]{book} |
8 | 8 |
|
9 | 9 |
|
10 | 10 | \newif\ifdeutsch |
11 | 11 | \newif\ifenglish |
12 | 12 | \newif\ifonline |
| 13 | +\newif\ifdiss |
| 14 | +\newif\iffinal |
13 | 15 |
|
14 | 16 | \DeclareOption{english}{\englishtrue} |
15 | 17 | \DeclareOption{deutsch}{\deutschtrue} |
16 | 18 | \DeclareOption{online}{\onlinetrue} |
| 19 | +\DeclareOption{diss}{\disstrue} |
| 20 | +\DeclareOption{final}{\finaltrue} |
17 | 21 |
|
18 | 22 | \ProcessOptions\relax |
19 | 23 |
|
|
24 | 28 | \DeclareRobustCommand*{\shorttitle}[1]{\gdef\@shorttitle{#1}} |
25 | 29 | \DeclareRobustCommand*{\author}[1]{\gdef\@author{#1}} |
26 | 30 | \DeclareRobustCommand*{\date}[1]{\gdef\@date{#1}} |
27 | | -\DeclareRobustCommand*{\thesistype}[1]{\gdef\@thesistype{#1}} |
28 | | -\DeclareRobustCommand*{\matrnr}[1]{\gdef\@matrnr{#1}} |
| 31 | +\ifdiss\else\DeclareRobustCommand*{\thesistype}[1]{\gdef\@thesistype{#1}}\fi |
| 32 | +\ifdiss\else\DeclareRobustCommand*{\matrnr}[1]{\gdef\@matrnr{#1}}\fi |
29 | 33 | \DeclareRobustCommand*{\supervisora}[1]{\gdef\@supervisora{#1}} |
30 | 34 | \DeclareRobustCommand*{\supervisorb}[1]{\gdef\@supervisorb{#1}} |
31 | | -\DeclareRobustCommand*{\thesisnr}[1]{\gdef\@thesisnr{#1}} |
32 | | -\DeclareRobustCommand*{\filingdate}[1]{\gdef\@filingdate{#1}} |
| 35 | +\ifdiss\else\DeclareRobustCommand*{\thesisnr}[1]{\gdef\@thesisnr{#1}}\fi |
| 36 | +\ifdiss\else\DeclareRobustCommand*{\filingdate}[1]{\gdef\@filingdate{#1}}\fi |
| 37 | +\ifdiss\DeclareRobustCommand*{\birthdate}[1]{\gdef\@birthdate{#1}}\fi |
| 38 | +\ifdiss\DeclareRobustCommand*{\birthplace}[1]{\gdef\@birthplace{#1}}\fi |
| 39 | +\ifdiss\DeclareRobustCommand*{\examdate}[1]{\gdef\@examdate{#1}}\fi |
| 40 | +\ifdiss\DeclareRobustCommand*{\publicationyear}[1]{\gdef\@publicationyear{#1}}\fi |
| 41 | +\ifdiss\DeclareRobustCommand*{\thesisnr}[1]{\gdef\@thesisnr{#1}}\fi |
33 | 42 | % |
34 | 43 |
|
35 | 44 | %% Language phrases |
|
84 | 93 | \def\subclassname{{\it Subject Classifications\/}:}% |
85 | 94 | \def\supervisor{Supervisor}% |
86 | 95 | \def\tablename{Tab.}% |
87 | | - \def\thesisnrname{Thesis Nr.}% |
| 96 | +\def\thesisnrname{Thesis Nr.}% |
88 | 97 | \def\theoremname{Theorem}% |
89 | 98 | \def\titledepartment{Department of Power Electronics and Electrical Drives}% |
90 | 99 | \def\titleinstitute{Institute of Electrical Engineering and Information Technology}% |
|
181 | 190 | \RequirePackage{amscd} % Erstellen einafcher kommutativer Diagramme |
182 | 191 | \RequirePackage{amsbsy} % Darstellung fettgedruckter mathematischer Symbole |
183 | 192 | \RequirePackage{bm} |
| 193 | +\RequirePackage[scaled]{helvet} |
184 | 194 |
|
185 | 195 | \RequirePackage[ |
186 | 196 | free-standing-units, |
@@ -577,7 +587,53 @@ multi-part-units = repeat |
577 | 587 | \footnotesep 9\p@ |
578 | 588 |
|
579 | 589 | %%% Title Page |
580 | | -\def\maketitle{\newpage |
| 590 | +\def\maketitle{ |
| 591 | +\ifdiss{ |
| 592 | +%Title Page Master |
| 593 | +\newpage |
| 594 | +\pagestyle{empty} |
| 595 | +\newgeometry{top=2.5cm,left=2.5cm,right=2.5cm,bottom=2.5cm} |
| 596 | + \null |
| 597 | + \begingroup |
| 598 | +\def\and{\unskip, } |
| 599 | + \parindent=\z@ |
| 600 | + \pretolerance=10000 |
| 601 | + \rightskip=\z@ \@plus 3cm |
| 602 | + %%%%%%%%%% |
| 603 | + \begin{center} |
| 604 | + \includegraphics[width=1.0\textwidth]{Logos/Titelblatt_Kopfzeile-diss} |
| 605 | + %\linespread{1.0} |
| 606 | + \sffamily |
| 607 | + \vfill |
| 608 | + \LARGE\textbf{\\[13mm] \@title \\[15mm]} |
| 609 | + \vfill |
| 610 | + \Large{Der Fakultät für Elektrotechnik, Informatik und Mathematik}\\ |
| 611 | + \Large{der Universität Paderborn}\\[5mm] |
| 612 | + \large{zur Erlangung des akademischen Grades\\[5mm] |
| 613 | + \Large{Doktor der Ingenieurwissenschaften (Dr.-Ing.)}}\\[5mm] |
| 614 | + \iffinal genehmigte\ \else vorgelegte\ \fi Dissertation \\ |
| 615 | + von \\[5mm] |
| 616 | + \Large{\@author} \\[5mm] |
| 617 | + \iffinal{ |
| 618 | + \begin{tabular}[ht]{ll} |
| 619 | + \Large{Erster Gutachter:} & \Large{\@supervisora}\\ |
| 620 | + \Large{Zweiter Gutachter:} & \Large{\@supervisorb}\\[5mm] |
| 621 | + \Large{Tag der mündlichen Prüfung:\ \ } & \Large{\@examdate} |
| 622 | + \end{tabular}\\[12mm] |
| 623 | + |
| 624 | + \Large{Paderborn \@publicationyear} \\[6mm] |
| 625 | + \Large{Diss. EIM-E/\@thesisnr} |
| 626 | + }\else{ |
| 627 | + \Large{geboren am \@birthdate\ in \@birthplace} |
| 628 | + }\fi |
| 629 | +\vfill |
| 630 | + \end{center} |
| 631 | +\endgroup |
| 632 | +\restoregeometry |
| 633 | +\newpage |
| 634 | +}\else{ |
| 635 | +%Title Page Master |
| 636 | +\newpage |
581 | 637 | \pagestyle{empty} |
582 | 638 | \newgeometry{top=2.5cm,left=2.5cm,right=2.5cm,bottom=2.5cm} |
583 | 639 | \null |
@@ -613,9 +669,9 @@ multi-part-units = repeat |
613 | 669 | \endgroup |
614 | 670 | \restoregeometry |
615 | 671 | \newpage |
| 672 | +}\fi |
616 | 673 | } |
617 | 674 |
|
618 | | - |
619 | 675 | %%% Declaration |
620 | 676 | \def\makedeclaration{ |
621 | 677 | \chapter*{\declaration} |
|
0 commit comments