summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/uni-titlepage/title-WWUM.def
blob: 3ae3ef4a4b43e7c2ad806914c28720d6a0687f51 (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
%%
%% This is file `title-WWUM.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% uni-titlepage.dtx  (with options: `driver,WWUM')
%% Copyright (c) 2009-2021 by Markus Kohm <komascript(at)gmx.info>
%% 
%% This file was generated from file(s) of uni-titlepage distribution.
%% 
%% ----------------------------------------------------------------------
%% 
%% This work may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, version 1.3c of the license.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%% 
%% This work has the LPPL maintenance status "maintained".
%% 
%% The Current Maintainer and author of this work is Markus Kohm.
%% 
%% This file may only be distributed together with
%% the file `uni-titlepage.dtx'.
%% You may however distribute the file `uni-titlepage.dtx' without this file.
%% 
\ProvidesFile{%
  title%
  -WWUM%
 .def%
}[%
2021/09/01 v0.7
KOMA presents the title page project
]
\begingroup
  \def\PackageNotLoadedError#1{%
    \GenericError{%
      (#1)\@spaces\@spaces\@spaces\@spaces
    }{%
      File `#1' Error: package `uni-titlepage' hasn't been loaded%
    }{%
      This definition file was made to be loaded by package
      `uni-titlepage'.\MessageBreak
      You may not use it without package `uni-titlepage'!\MessageBreak
      See the documentation of package `uni-titlepage' for explanation.%
    }%
  }%
  \ifx\csname uni-titlepage.sty@vers\endcsname\relax
    \PackageNotLoadedError{%
      title-WWUM.def%
    }%
  \fi
\endgroup
\DefineFamilyMember[%
  WWUM%
]{title}
\providecommand*{\presentationinformationWWUM}{%
  \@subject\\
  to the Aquisition of the Academic Degree\\
  \@academicgrade\\
  of the \@sience{} of \@discipline\\
  of the \@faculty{} faculty\\
  of the \@university
}
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\presentationinformationWWUM}{%
  \@subject\\
  to the Aquisition of the Academic Degree\\
  \@academicgrade\\
  of the \@sience{} of \@discipline\\
  of the \@faculty{} faculty\\
  of the \@university
}
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\presentationinformationWWUM}{%
  \@subject\\
  zur Erlangung des \@academicgrade\\
  der \@sience{} im Fachbereich \@discipline\\
  der \@faculty{} Fakult\"at\\
  der \@university
}
\NowButAfterBeginDocument
{%
  \providecaptionname{german,ngerman,austrian,naustrian,
    swissgerman,nswissgerman}{\presentedbyname}{vorgelegt von}%
  \scr@ifundefinedorrelax{captionsgerman}{}{%
    \renewcaptionname{german}{\presentedbyname}{vorgelegt von}%
    \renewcaptionname{german}{\ordinalfemalerefereename}{%
      \ordinalfemalecorrectorname}%
  }%
  \scr@ifundefinedorrelax{captionsngerman}{}{%
    \renewcaptionname{ngerman}{\presentedbyname}{vorgelegt von}%
    \renewcaptionname{ngerman}{\ordinalmalerefereename}{%
      \germanordinalmalecorrectorname}%
    \renewcaptionname{ngerman}{\ordinalfemalerefereename}{%
      \germanordinalfemalecorrectorname}%
  }%
  \scr@ifundefinedorrelax{captionsaustrian}{}{%
    \renewcaptionname{austrian}{\presentedbyname}{vorgelegt von}%
    \renewcaptionname{austrian}{\ordinalmalerefereeename}{%
      \germanordinalmalecorrectorname}%
    \renewcaptionname{austrian}{\ordinalfemalerefereeename}{%
      \germanordinalfemalecorrectorname}%
  }%
  \scr@ifundefinedorrelax{captionsnaustrian}{}{%
    \renewcaptionname{naustrian}{\presentedbyname}{vorgelegt von}%
    \renewcaptionname{naustrian}{\ordinalmalerefereename}{%
      \germanordinalmalecorrectorname}%
    \renewcaptionname{naustrian}{\ordinalfemalerefereename}{%
      \germanordinalfemalecorrectorname}%
  }%
  \scr@ifundefinedorrelax{captionsswissgerman}{}{%
    \renewcaptionname{swissgerman}{\presentedbyname}{vorgelegt von}%
    \renewcaptionname{swissgerman}{\ordinalmalerefereename}{%
      \germanordinalmalecorrectorname}%
    \renewcaptionname{swissgerman}{\ordinalfemalerefereename}{%
      \germanordinalfemalecorrectorname}%
  }%
  \scr@ifundefinedorrelax{captionsnswissgerman}{}{%
    \renewcaptionname{nswissgerman}{\presentedbyname}{vorgelegt von}%
    \renewcaptionname{nswissgerman}{\ordinalmalerefereename}{%
      \germanordinalmalecorrectorname}%
    \renewcaptionname{nswissgerman}{\ordinalfemalerefereename}{%
      \germanordinalfemalecorrectorname}%
  }%
}
\renewcommand*{\inittitle}{%
  \ifx\@university\@empty
    \university{%
      Westf\"alischen Wilhelms-Universit\"at M\"unster%
    }%
  \fi
  \ifx\@place\@empty
    \place{%
      \PackageWarning{uni-titlepage}{Birth place missing.\MessageBreak
        Style `WWUM' needs the birth place of\MessageBreak
        the student}%
    }
  \fi
  \ifx\@titlepagefont\@empty
    \renewcommand*{\@titlepagefont}{\normalfont\large}%
  \fi
}
\renewcommand*{\makemaintitle}{%
  \begin{%
    titlepage}
    \setlength{\parskip}{\z@}%
    \setlength{\parindent}{\z@}%
    \setlength{\parfillskip}{\z@\@plus 1fil}%
    \linespread{1}\selectfont
    \@titlepagefont
    \centering
    \@chair\\
    \vspace{2cm}
    \@title\\
    \vfill
    \presentationinformationWWUM\\
    \vfill
    \presentedbyname\\
    \@author\\
    \ifx\@place\@empty\else\fromplacename{} \@place\\\fi
    --\,\the\year\,--
  \end{%
    titlepage}
}
\renewcommand*{\makemaintitleback}{%
  \begin{titlepage}
    \vspace*{\fill}
    \noindent
    \@tempcnta\z@
    \def\arraystretch{2}%
    \newcommand*{\test@malefemale}[1][m]{%
      \global\advance\@tempcnta by\@ne
      \Ifstr{##1}{f}{\def\fe@male{female}}{\def\fe@male{male}}%
      \csname \fe@male ordinal\endcsname{\@tempcnta}\space
      \csname \fe@male refereename\endcsname: &
      \def\and{\\\test@malefemale}%
    }%
    \begin{tabular}{@{}ll@{}}
      \chairmanname: & \@professor \\
      \expandafter\test@malefemale
      \@referee \\
      \oralexaminationdatename: & \@oralexaminationdate
      \ifx\examinationdatename\@empty\else
        \\\examinationdatename:     &
      \fi
      \\
    \end{tabular}
  \end{titlepage}
}
\renewcommand*{\makepretitle}{%
  \begin{fullsizetitle}
    \@titlepagefont
    \vspace*{.33\vsize}%

    \centering
    \@author\\[1ex]
    \@title\\[1ex]
    \the\year
  \end{fullsizetitle}
}
\renewcommand*{\makepretitleback}{%
  \if@twoside\begin{titlepage}\null\end{titlepage}\fi
}
\endinput
%%
%% End of file `title-WWUM.def'.