Debian Codegraph @

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

raw
1 % \iffalse meta-comment
2 %
3 % File: se2thesis.dtx Copyright (C) 2022--2024 Stephan Lukasczyk
4 %
5 % It may be distributed and/or modified under the conditions of the
6 % LaTeX Project Public License (LPPL), either version 1.3c of this
7 % license or (at your option) any later version. The latest version
8 % of this license is in the file
9 %
10 % https://www.latex-project.org/lppl.txt
11 %
12 % This file is part of the "se2thesis bundle" (The Work in LPPL)
13 % and all files in that bundle must be distributed together.
14 %
15 % The released version of this bundle is available from CTAN.
16 %
17 % ----------------------------------------------------------------------
18 %
19 % The development version of the bundle can be found at
20 %
21 % https://github.com/se2p/se2thesis
22 %
23 % for those people who are interested.
24 %
25 % ----------------------------------------------------------------------
26 %
27 %<*driver>
28 \documentclass{l3doc}
29 % The next line is needed so that \GetFileInfo will be able to pick up
30 % version data.
31 \usepackage{se2colors}
32 \begin{document}
33 \DocInput{\jobname.dtx}
34 \end{document}
35 %</driver>
36 % \fi
37 %
38 % \GetFileInfo{se2colors.sty}
39 %
40 % \title{^^A
41 % \pkg{se2thesis}---Overall set up^^A
42 % \thanks{This file describes \fileversion, last revised \filedate.}^^A
43 % }
44 %
45 % \author{^^A
46 % Stephan Lukasczyk^^A
47 % \thanks{^^A
48 % E-Mail: \href{mailto:[email protected]}{[email protected]}^^A
49 % }^^A
50 % }
51 %
52 % \begin{documentation}
53 %
54 % \section{Introduction}\label{sec:doc-intro}
55 %
56 % The University of Passau does not provide a common thesis template
57 % to its students.
58 % For theses, written at the Chair of Software Engineering~II,
59 % many students chose between two templates that were provided by different
60 % people from the chair;
61 % other students chose from the large variety of templates available from the
62 % internet, causing each thesis looking differently.
63 %
64 % The author of this package provided a template,
65 % which he initially created for his bachelor's and master's thesis,
66 % that was recommended and used by many students.
67 % The implementation of that template, however, was very hacky and required
68 % some changes over time.
69 % This lead to the idea of creating a new template from scratch,
70 % that shall be used by all our students for their various types of theses,
71 % from bachelor to PhD level.
72 % The result is the \pkg{se2thesis} bundle.
73 %
74 % The bundle itself consists of several \LaTeX{} classes and packages
75 % that also allow reuse of various parts of it.
76 % Its main class is the \pkg{se2thesis} document class,
77 % an extension of the \KOMAScript{} |scrbook| document class.
78 % The packages \pkg{se2colors} and \pkg{se2fonts} provide necessary
79 % colour and font settings for the \pkg{se2thesis} class;
80 % the \pkg{se2packages} allows to load several recommended packages~(see
81 % \cref{sec:doc-se2packages}) with our recommended,
82 % predefined settings.
83 % They are available as separate packages, however, to allow their reuse for
84 % other classes, packages, and projects, as well.
85 %
86 % \subsection{Installation}\label{sec:doc-intro-install}
87 %
88 % The \pkg{se2thesis} bundle is available from \CTAN\footnote{
89 % \href{https://ctan.org/pkg/se2thesis}{ctan.org/pkg/se2thesis}
90 % }.
91 % It is part of both \MiKTeX{} and \TeXLive.
92 % You can find its development version from GitHub\footnote{
93 % \href{https://github.com/se2p/se2thesis}{github.com/se2p/se2thesis}
94 % }.
95 % The easiest way of installing it is through your \TeX{} distribution;
96 % please check your distribution's documentation on this.
97 % Note that it might be necessary to update your \TeX{} distribution
98 % because they might not provide you updates;
99 % for example, there is a new version of \TeXLive{} every year
100 % which needs to be installed separately.
101 % If you have installed an older version of \pkg{se2thesis}
102 % consider updating it to the latest version available from \CTAN{}
103 % through your distribution.
104 %
105 % For manual installation, we recommend to clone the Git repository
106 % and run the \texttt{l3build} tool that we also use for building the bundle.
107 % Running |l3build ctan| builds the source files and compiles the documentation.
108 % This creates a folder |build| containing these artefacts;
109 % |build/doc| contains the documentation,
110 % |build/local| the source files.
111 % See the documentation of \texttt{l3build} and your \TeX{} distribution
112 % on how to install them manually.
113 % Please note that \texttt{l3build} also provides a |l3build install| target
114 % to install the bundle files to your local texmf tree.
115 %
116 % The “Island of \TeX{}” project provides Docker images of \TeXLive\footnote{%
117 % \href{https://islandoftex.gitlab.io/community/projects/docker/}{islandoftex.gitlab.io/community/projects/docker/}
118 % }.
119 % If you do not want to install/update \TeXLive{} on your system
120 % you might want to consider their \texttt{latest} image,
121 % which contains a recent \TeXLive{} 2023 build.
122 % They build their images weekly,
123 % thus also recent releases of \pkg{se2thesis} will be part of the image
124 % soon after their release date.
125 %
126 % \subsection{Availability on Overleaf}\label{sec:doc-intro-overleaf}
127 %
128 % Since April 3, 2024, the \pkg{se2thesis} document template is also available
129 % from Overleaf. The document that is in Overleafs gallery is based on the
130 % example document that comes with this package. Any Overleaf user can just
131 % create a new thesis document based on the template by clicking the respective
132 % button on Overleaf's gallery page.
133 %
134 % The gallery entry for \pkg{se2thesis} is available from
135 % \href{https://www.overleaf.com/latex/templates/se2thesis-a-thesis-class-for-the-chair-of-software-engineering-ii-at-the-university-of-passau-germany/fpymkmxmbgpc}{https://www.overleaf.com/latex/templates/se2thesis-a-thesis-class-for-the-chair-of-software-engineering-ii-at-the-university-of-passau-germany/fpymkmxmbgpc}.%
136 %
137 % \emph{Important remark:} Currently, the Overleaf template does not support
138 % \LuaLaTeX{} but requires builds with \pdfLaTeX. The reason is that Overleaf
139 % does not yet ship \TeXLive~2024, but only \TeXLive~2023, which does not
140 % provide the respective font package~(notably \pkg{inconsolata-nerd-font}).
141 % Until the latest \TeXLive{} will be available from Overleaf, one can only use
142 % the \pdfLaTeX{} mode, which has some drawbacks on the fonts, but works fine
143 % otherwise. From the Overleaf blog, we assume that \TeXLive~2024 might be
144 % available from some time in autumn 2024. We will update this documentation
145 % accordingly, as soon as the new version is available.
146 %
147 %\subsection{Availability in MonsterWriter}\label{sec:doc-intro-mosterwriter}
148 %
149 % Since October 2024, \pkg{se2thesis} is also part of \textsc{MonsterWriter},
150 % a graphical tool that assists students to write academic papers. The
151 % \textsc{MonsterWriter} GUI allows to focus on the content of a work and allows
152 % to export it in various common publisher styles and formats.
153 %
154 % The \textsc{MonsterWriter} website
155 % \href{https://www.monsterwriter.com}{monsterwriter.com} provides more details
156 % on the tool, and a YouTube video
157 % (\href{https://youtube.com/watch?v=BWOumwmh18g}{youtu.be/BWOumwmh18g})
158 % demonstrates some of the features of their \pkg{se2thesis} integration.
159 %
160 % \subsection{General Macros}\label{sec:doc-intro-macros}
161 %
162 % They all have in common one macro, \cs{IfFormatAtLeastTF};
163 % this macro is part of the latest \LaTeX{} kernel.
164 % However, not all users might have upgraded their \TeX{} installation
165 % to a level using a recently-enough kernel version.
166 % Therefore, every class and package of this bundle will conditionally
167 % define the following macro:
168 %
169 % \begin{function}{\IfFormatAtLeastTF}
170 % \begin{syntax}
171 % \cmd{\IfFormatAtLeastTF} \marg{version} \marg{then block} \marg{else-block}
172 % \end{syntax}
173 % Checks whether the used \LaTeX{} format is at least the one from the
174 % given date value.
175 % The date needs to be specified either in YYYY/MM/DD or in YYYY-MM-DD
176 % format.
177 % \end{function}
178 %
179 % \section{License}\label{sec:doc-license}
180 %
181 % Permission is granted to copy, distribute, and/or modify this software under
182 % the terms of the \LaTeX{} Project Public License~(LPPL), version~1.3c or
183 % later~(\href{https://www.latex-project.org/lppl.txt}{https://www.latex-project.org/lppl.txt}).
184 % The software has the status \enquote{maintained}.
185 %
186 % \section{The \cls{se2thesis} class}\label{sec:doc-se2thesis}
187 %
188 % The \cls{se2thesis} class is the central component of this bundle.
189 % It provides a wide variety of settings, mostly regarding the title page~(see
190 % \cref{sec:doc-se2thesis-title}) and the type area~(see
191 % \cref{sec:doc-se2thesis-typearea}).
192 %
193 % We aim to keep the \cls{se2thesis} class relatively small, especially
194 % considering packages that we load.
195 % Currently, the class itself loads the \pkg{se2colors}~(see
196 % \cref{sec:doc-se2colors}) and \pkg{se2fonts}~(see \cref{sec:doc-se2fonts})
197 % packages.
198 % The following packages and classes are loaded:
199 % \pkg{expl3}, \pkg{l3keys2e} in case one uses a \LaTeX{} kernel from before
200 % 2022--06--01, \pkg{graphicx}, \pkg{translations}, \KOMAScript, \pkg{xcolor},
201 % \pkg{ifthen}, as well as \pkg{fontspec}, \pkg{unicode-math},
202 % \pkg{inconsolata-nerd-font} and \pkg{libertinus-otf} if one uses \LuaTeX{};
203 % for \pdfLaTeX{} we load \pkg{fontenc}, \pkg{libertinus-type1}, and
204 % \pkg{inconsolata} instead of the latter three.
205 % Furthermore, we load \pkg{microtype};
206 % when using \LuaTeX{}, we also load \pkg{lua-widow-control} and \pkg{selnolig}.
207 %
208 % However, we recommend to use a couple of further packages, together with some
209 % further options to those package. We describe these settings in
210 % \cref{sec:doc-se2packages}.
211 % Please consider looking at this section when starting to write your document.
212 %
213 % Before we start with a detailed documentation of the class, we explain one
214 % helper macro that can be used to check whether a package has been loaded.
215 % \begin{function}[pTF, updated = 2022-09-27]{\slcd_package_if_loaded:n}
216 % \begin{syntax}
217 % |\slcd_package_if_loaded:nTF| \Arg{package name} \Arg{true code} \Arg{false code}
218 % \end{syntax}
219 % Checks whether a package has been loaded and conditionally executes code.
220 % \end{function}
221 %
222 % \subsection{Load-time options}\label{sec:doc-se2thesis-options}
223 %
224 % The \pkg{se2thesis} class defines several load-time options, all of them
225 % optional, on top of the options provided by the \KOMAScript{} document
226 % classes.
227 % \begin{function}{class}
228 % \begin{syntax}
229 % |class| = \meta{choice}
230 % \end{syntax}
231 % Set the base document class.
232 % Values are \cls{scrreprt} or \cls{scrbook}.
233 % \emph{Note:} you cannot use \cls{scrartcl} because it does not provide
234 % the required |chapter| sectioning.
235 % Default is |scrbook|.
236 %
237 % Please note that if you want to have the bibliography numbered or use an
238 % appendix with alpha-numbering (A, B, \dots), you want to explicitly use
239 % |scrreprt| as the base class; for some (currently unknown) reason this does
240 % not work with the default |scrbook|.
241 % \end{function}
242 % \begin{function}{paper}
243 % \begin{syntax}
244 % |paper| = \meta{choice}
245 % \end{syntax}
246 % Set the paper format.
247 % Possible values are |a4| or |b5|.
248 % Default is |a4|.
249 % \end{function}
250 %
251 % \begin{function}{logofile}
252 % \begin{syntax}
253 % |logofile| = \marg{path-to-file}
254 % \end{syntax}
255 % Defines the path to the University's logo for the title page.
256 % \end{function}
257 %
258 % \begin{function}{thesistype}
259 % \begin{syntax}
260 % |thesistype| = \meta{choice}
261 % \end{syntax}
262 % Defines the type of the thesis.
263 % Possible values are:
264 % |bachelor| for a bachelor's thesis, |bachelorproposal| for a proposal to
265 % a bachelor's thesis, |master| for a master's thesis, |masterproposal| for
266 % a proposal to a master's thesis, |phdproposal| for a proposal to a PhD thesis,
267 % |phd| for a PhD thesis in the natural sciences, |phdeng| for a PhD thesis
268 % in engineering, and |phdphil| for a PhD thesis in natural philosophy.
269 % \end{function}
270 %
271 % \begin{function}{colormode}
272 % \begin{syntax}
273 % |colormode| = \meta{choice}
274 % \end{syntax}
275 % Select the color scheme used by the automatically loaded \pkg{se2colors}
276 % package, see \cref{sec:doc-se2colors} for a description.
277 % \end{function}
278 %
279 %
280 % \subsection{The title page}\label{sec:doc-se2thesis-title}
281 %
282 % Designing a title package for a thesis can be complicated.
283 % There might be some requirements that are not obvious to the user, especially
284 % considering the positioning of elements.
285 % The University of Passau, for example, requires the logo to be positioned on
286 % the top right of a page;
287 % theses—especially PhD theses that shall be published through the University's
288 % library system—could be rejected from publication by the library until this is
289 % fixed.
290 %
291 % We thus redeclare the standard \cs{maketitle} macro from \KOMAScript{} and
292 % customise it to our needs.
293 % \begin{variable}{\@maketitle}
294 % \begin{syntax}
295 % \cmd{\@maketitle}
296 % \end{syntax}
297 % We override the definition of the \cmd{\@maketitle} macro for our needs.
298 % \end{variable}
299 % In addition to the macros provided by the \KOMAScript{} classes
300 % for the title-page values (e.g. \cs{author}, \cs{title},
301 % we provide some further macros that can be used.
302 % Setting values to these macros is optional in any case,
303 % if they are not set, the corresponding value is not put to the title page.
304 %
305 % \begin{function}{\version}
306 % \begin{syntax}
307 % \cmd{\version} \marg{version}
308 % \end{syntax}
309 % Specify the version of the document. This can, for example, be a |git| hash
310 % of the current version.
311 % \end{function}
312 %
313 % \begin{function}{\degreeprogramme}
314 % \begin{syntax}
315 % \cmd{\degreeprogramme} \marg{programme-name}
316 % \end{syntax}
317 % Specify the degree programme the thesis is meant to be accepted in.
318 % Possible values are, among others, \enquote{Informatik} if you are writing
319 % your thesis in German, or \enquote{Computer Science} if you are writing the
320 % thesis in English.
321 % \end{function}
322 %
323 % \begin{function}{\matrnumber}
324 % \begin{syntax}
325 % \cmd{\matrnumber} \marg{matriculation-number}
326 % \end{syntax}
327 % Specify the matriculation number of the student writing the thesis.
328 % This is required for bachelor's and master's theses.
329 % \end{function}
330 %
331 % \begin{function}{\supervisor, \cosupervisor}
332 % \begin{syntax}
333 % \cmd{\supervisor} \marg{name}
334 % \cmd{\cosupervisor} \marg{name}
335 % \end{syntax}
336 % Specify the name of your supervisor and co-supervisor.
337 % Both people usually are professors.
338 % \end{function}
339 %
340 % \begin{function}{\advisor, \coadvisor}
341 % \begin{syntax}
342 % \cmd{\advisor} \marg{name}
343 % \cmd{\coadvisor} \marg{name}
344 % \end{syntax}
345 % Specify the name of your advisor and co-advisor.
346 % Both people usually are PhD students or postdocs.
347 % \end{function}
348 %
349 % \begin{function}{\department, \institute}
350 % \begin{syntax}
351 % \cmd{\department} \marg{name}
352 % \cmd{\institute} \oarg{short-name} \marg{name}
353 % \end{syntax}
354 % Specify the department and institute.
355 % The department is, for example, \enquote{Faculty of Computer Science and
356 % Mathematics}, the institute, for example, \enquote{Chair of Software
357 % Engineering~II}.
358 % If the \cs{department} value is not specify, we use \enquote{Faculty of
359 % Computer Science} as the default value for English theses and
360 % \enquote{Fakultät für Informatik und Mathematik} as the default value of
361 % German theses.
362 % \end{function}
363 %
364 % \begin{function}{\external}
365 % \begin{syntax}
366 % \cmd{\external} \marg{name}
367 % \end{syntax}
368 % Specify the name of an external referee.
369 % \end{function}
370 %
371 % \begin{function}{\location}
372 % \begin{syntax}
373 % \cmd{\location} \marg{name-of-town}
374 % \end{syntax}
375 % Specify the name of your residence town for the signature field.
376 % \end{function}
377 %
378 % To define the path to the logo graphics we require a different workflow:
379 % We do not bundle logo graphics with this package due to legal restrictions.
380 % They can be downloaded from the University's website; please note that the
381 % website for downloading the logo graphics is only accessible from within the
382 % University's campus network or a VPN connection.
383 % To specify the path to the logo graphics, we provide a load-time option to the
384 % \cls{se2thesis} class called |logofile|~(see \cref{sec:doc-se2thesis-options}).
385 %
386 % When printing the thesis in two-side mode—which we recommend—the back of the
387 % title page again denotes author and title on the bottom.
388 % \begin{variable}{\@lowertitleback}
389 % \begin{syntax}
390 % \cmd{\l@lowertitleback}
391 % \end{syntax}
392 % Override this internal macro of \KOMAScript{} to print this information on
393 % the back side of the title page.
394 % \end{variable}
395 %
396 % Additionally, we provide some interal rewritings to standard macros from
397 % \KOMAScript{} that allow to automatically split authors using the \cmd{\and}
398 % command.
399 % \begin{variable}{\author, \@author}
400 % \begin{syntax}
401 % \cmd{\author} \marg{author}
402 % \end{syntax}
403 % We rewrite the definitions of \cmd{\author} and \cmd{\@author} to do this
404 % splitting automatically.
405 % Additionally, this also adds a correctly translated version of \enquote{and}
406 % between the author names if required.
407 % \end{variable}
408 %
409 % \subsection{Type-area settings}\label{sec:doc-se2thesis-typearea}
410 %
411 % The \cls{se2thesis} class manipulates the type area compared to the default
412 % settings of the \KOMAScript{} classes.
413 % Our settings are inspired by the \pkg{classicthesis} package, which itself is
414 % inspired by the style used by famous statistician Edward Tufte.
415 % We provide predefined settings for DIN-A4, DIN-A5, and DIN-B5 papers.
416 % If you need settings for other paper sizes, please open an issue on this
417 % package's GitHub repository
418 % (\href{https://github.com/se2p/se2thesis}{https://github.com/se2p/se2thesis})
419 % and we will happily include those settings in a future release of this bundle.
420 %
421 % Additionally, we are setting the page footer in a way that it contains the
422 % page numbers in the outer margin and the headmarks split from the page numbers
423 % by a vertical bar.
424 %
425 % \subsection{Abstract for the thesis}\label{sec:doc-se2thesis-abstract}
426 %
427 % Each thesis shall come with an abstract that summarises its content.
428 % The abstract should be written in the language the thesis is written in.
429 % Additionally, there is the requirement to provide a German abstract if the
430 % thesis is written in a foreign language.
431 % \begin{function}{\abstract}
432 % \begin{syntax}
433 % \cmd{\abstract}
434 % \end{syntax}
435 % We ensure that the \cmd{\abstract} command is defined for all document
436 % classes.
437 % \end{function}
438 %
439 % \DescribeEnv{abstract}
440 % To typeset an abstract, we provide an environment called \env{abstract}.
441 % The environment takes an optional argument that specifies the language that is
442 % used in this abstract.
443 % Setting the abstract's language will cause its title to change to the
444 % respective language;
445 % additionally, hyphenation is also changed for that language.
446 % \begin{verbatim}
447 % \begin{abstract}[language]
448 % Your abstract text.
449 % \end{abstract}
450 % \end{verbatim}
451 %
452 % \subsection{Acknowledgements}\label{sec:doc-se2thesis-acknowledgements}
453 %
454 % \DescribeEnv{acknowledgements}
455 % We provide the \env{acknowledgements} environment to typeset acknowledgements
456 % for your thesis.
457 % Using this environment is optional.
458 % Usually, bachelor's and master's thesis do not contain such an acknowledgements
459 % section, however, there is no general rule to this.
460 % \begin{verbatim}
461 % \begin{acknowledgements}[language]
462 % Your acknowledgements.
463 % \end{acknowledgements}
464 % \end{verbatim}
465 %
466 % \subsection{Document structuring}\label{sec:doc-se2thesis-structuring}
467 %
468 % A larger work, such as a thesis, is usually structured in three large blocks:
469 % a frontmatter that provides all the overview, such as abstract, table of
470 % contents, etc.,
471 % a mainmatter that contains all the actual content,
472 % and a backmatter for appendices.
473 % \cls{se2thesis} ensures that the following macros are defined because they are
474 % not provided by all \KOMAScript{} classes.
475 % \begin{function}{\frontmatter, \mainmatter, \backmatter}
476 % \begin{syntax}
477 % \cmd{\frontmatter}
478 % \cmd{\mainmatter}
479 % \cmd{\backmatter}
480 % \end{syntax}
481 % Switches between frontmatter, mainmatter, and backmatter.
482 % Most notably, the frontmatter will have roman page numbers, while the other
483 % two will have arabic page numbers.
484 % \end{function}
485 %
486 % \subsection{Authorship declaration}\label{sec:doc-se2thesis-authorship}
487 %
488 % The University of Passau requires its students to provide an authorship
489 % declaration as part of their thesis for submission.
490 % They provide a template form, which would not fit the style of the
491 % \cls{se2thesis} class.
492 % Thus, we provide the \cmd{\authorshipDeclaration} macro to typeset such
493 % a declaration.
494 % It uses the original~(German) text of the declaration and fills in the values
495 % that are specified by the \cmd{\author} and \cmd{\location} macros.
496 % \begin{function}{\authorshipDeclaration}
497 % \begin{syntax}
498 % \cmd{\authorshipDeclaration}
499 % \end{syntax}
500 % Print the authorship declaration text.
501 % \end{function}
502 % \emph{Please note:} the authorship declaration will always be printed in
503 % German, no matter what the language of the thesis is.
504 % This happens due to legal requirements.
505 % In order to make this work, you have to load the \pkg{babel} or
506 % \pkg{polyglossia} package in a way that it also supports German hyphenation.
507 % For example, use
508 % \begin{verbatim}
509 % \usepackage[ngerman,main=UKenglish]{babel}
510 % \end{verbatim}
511 % for a thesis with \emph{traditional English}\footnote{
512 % there is a nice, probably photoshopped, picture of a Steam setup dialogue
513 % stating that American English is a \enquote{simplified version} of British
514 % English, see
515 % \href{https://jakubmarian.com/is-american-english-simplified-and-british-english-traditional/}{https://jakubmarian.com/is-american-english-simplified-and-british-english-traditional/}.
516 % } as its main language and support for German.
517 %
518 % \begin{function}{\signatureBox}
519 % \begin{syntax}
520 % \cmd{\signatureBox} \oarg{width} \marg{signature-name}
521 % \end{syntax}
522 % A helper macro to print the signature box for the authorship declaration.
523 % The optional argument \oarg{width} allows to specify a custom width for the
524 % signature line.
525 % The default is 5\,cm.
526 % The mandatory argument \marg{signature-name} specifies the name of the
527 % signee, which will be typeset below the signature line.
528 % \end{function}
529 %
530 % \subsection{Research Questions and findings summaries}\label{sec:doc-se2thesis-summaries}
531 %
532 % Most theses written at our Chair will require the student to provide some
533 % empirical evaluation of their work to shed insights whether their proposed
534 % ideas are actually useful.
535 % For an empirical study, one needs to specify research questions and maybe also
536 % hypotheses.
537 % The \cls{se2thesis} class supports this by providing environments for this.
538 %
539 % \DescribeEnv{resq}
540 % The \env{resq} environment shall be used to specify a research question.
541 %
542 % \DescribeEnv{hyp}
543 % The \env{hyp} environment shall be used to specify a hypothesis.
544 %
545 % \DescribeEnv{summary}
546 % After describing the results, we recommend to give an explicit summary of the
547 % findings for a research question or hypothesis.
548 % This summary shall be given in one or two sentences.
549 % The \env{summary} environment provides a convenient way for this;
550 % it will be typeset in a highlighted box that is easy to spot and also allows
551 % readers of the work to quickly grasp the main findings.
552 % \begin{verbatim}
553 % \begin{summary}{label-reference}
554 % The summary text itself.
555 % \end{summary}
556 % \end{verbatim}
557 % The environment expects as a parameter a label, for example, to a research
558 % question;
559 % however, this can also be arbitrary text.
560 %
561 % \subsection{Language Support and Hyphenation}\label{sec:doct-se2thesis-lang}
562 %
563 % The study regulations of the University of Passau require students to write
564 % their thesis in either German or English. For both cases it is recommended
565 % to load a package for the correct hyphenation patters. Usually, one can
566 % either choose between the \pkg{babel} and \pkg{polyglossia} package. For a
567 % detailed discussion in the differences and which to choose, please use the
568 % search engine of your choice.
569 %
570 % For this documentation we stick with the \pkg{babel} package, which is often
571 % considered to be the standard package.
572 %
573 % If you write your thesis in German, load \pkg{babel} in your preamble like
574 % follows
575 % \begin{verbatim}
576 % \usepackage[ngerman]{babel}
577 % \end{verbatim}
578 % For a thesis in English, you have to also load the German variant plus the
579 % English one as the default (see \cref{sec:doc-se2thesis-authorship} for an
580 % explanation)
581 % \begin{verbatim}
582 % \usepackage[ngerman,main=UKenglish]{babel}
583 % \end{verbatim}
584 %
585 % Note that by default, \LaTeX{} does not provide hyphenation for compound
586 % words, which is explained in the \TeX{} Book~\cite[p.~454]{Knu86} and a
587 % StackExchange post\footnote{\href{https://tex.stackexchange.com/a/63234/14622}{https://tex.stackexchange.com/a/63234/14622}}. The \pkg{babel} package
588 % provides a way (called shorthands) for German, which allows to reenable
589 % hyphenation for compound words (as they are common on German). These
590 % shorthands are by default not available for English, but they can easily be
591 % added by adding
592 % \begin{verbatim}
593 % \useshorthands{"}
594 % \addto\extrasUKenglish{\languageshorthands{ngerman}}
595 % \end{verbatim}
596 % after loading \pkg{babel} with the aforementioned \cmd{\usepackage}
597 % macro\footnote{see https://tex.stackexchange.com/a/298844/14622}.
598 %
599 % \emph{Please note:} loading the \pkg{hyphenat} package is strongly discouraged
600 % by the \pkg{se2thesis} maintainer because it conflicts with the \env{hyp}
601 % environment provided by \pkg{se2thesis} (see \cref{sec:doc-se2thesis-summaries}).
602 %
603 % \end{documentation}
604 %
605 % \clearpage
606 %
607 % \begin{implementation}
608 %
609 % \section{Global helpers}\label{sec:impl-global}
610 %
611 % These helpers might be useful for many exported packages and classes,
612 % thus we keep them on the global level of this implementation.
613 %
614 % \begin{macrocode}
615 %<*init>
616 % \end{macrocode}
617 %
618 % Load only the essential support (\pkg{expl3}) \enquote{up-front}, and only
619 % if required.
620 % \begin{macrocode}
621 \@ifundefined{ExplLoaderFileDate}
622 { \RequirePackage{expl3} }
623 {}
624 % \end{macrocode}
625 %
626 % Make sure that the version of \pkg{l3kernel} in use is sufficiently new.
627 % We use \cs{ExplFileDate} as \cs{@ifpackagelater} does not work for
628 % pre-loaded \pkg{expl3} in the absence of the package.
629 % \begin{macrocode}
630 \@ifl@t@r\ExplLoaderFileDate{2020-01-09}
631 {}
632 {%
633 \PackageError{se2colors}{Support package expl3 too old}
634 {%
635 You need to update your installation of the bundles 'l3kernel' and
636 'l3packages'.\MessageBreak
637 Loading~se2colors~will~abort!%
638 }%
639 \endinput
640 }%
641 % \end{macrocode}
642 %
643 % \begin{macro}{\IfFormatAtLeastTF}
644 % This macro is not present in older kernels, thus we use the \LaTeXe{}
645 % mechanism as this is correct for this case.
646 % \begin{macrocode}
647 \providecommand \IfFormatAtLeastTF { \@ifl@t@r \fmtversion }
648 % \end{macrocode}
649 % \end{macro}
650 %
651 % \begin{macrocode}
652 %</init>
653 % \end{macrocode}
654 %
655 % \section{The \cls{se2thesis} implementation}\label{sec:impl-se2thesis}
656 %
657 % Start the \pkg{DocStrip} guards.
658 % \begin{macrocode}
659 %<*class>
660 % \end{macrocode}
661 %
662 % Identify the internal prefix (\LaTeX3 \pkg{DocStrip} convention): only
663 % internal material in this \emph{submodule} should be used directly.
664 % \begin{macrocode}
665 %<@@=slcd>
666 % \end{macrocode}
667 %
668 % Identify the class and give the overall version number.
669 % \begin{macrocode}
670 \ProvidesExplClass {se2thesis} {2026-04-03} {4.4.1}
671 {A thesis class for the Chair of Software Engineering II}
672 % \end{macrocode}
673 %
674 % \begin{macro}
675 % {
676 % \slcd_package_if_loaded:nTF,
677 % \slcd_package_if_loaded:nT,
678 % \slcd_package_if_loaded:nF,
679 % \slcd_package_if_loaded_p:n
680 % }
681 % Defines various \LaTeX3{} variants for the internal \cmd{\@ifpackageloaded}
682 % macro to check whether a package has been loaded.
683 % \begin{macrocode}
684 \prg_new_conditional:Nnn \slcd_package_if_loaded:n { p, T, F, TF }
685 {
686 \use:c { @ifpackageloaded }
687 { #1 }
688 { \prg_return_true: }
689 { \prg_return_false: }
690 }
691 % \end{macrocode}
692 % \end{macro}
693 %
694 % Load required packages early.
695 % \begin{macrocode}
696 \RequirePackage{graphicx}
697 \RequirePackage{translations}
698 \LoadDictionary{se2translations}
699 \DeclareTranslationFallback{version-of-date}{%
700 Version~\l_@@_version_tl\ of~\@date
701 }
702 \DeclareTranslation{German}{version-of-date}{%
703 Version~\l_@@_version_tl\ vom~\@date
704 }
705 \DeclareTranslation{English}{version-of-date}{%
706 Version~\l_@@_version_tl\ of~\@date
707 }
708 % \end{macrocode}
709 %
710 % \subsection{Define Variables}
711 %
712 % The following variables are necessary for the argument handling.
713 % \begin{macro}{\l_@@_paper_int}
714 % A variable to store the key of the page size selected by the user.
715 % \begin{macrocode}
716 \int_new:N \l_@@_paper_int
717 % \end{macrocode}
718 % \end{macro}
719 %
720 % We also need properties to store class options that are not for us,
721 % thus shall be handled by the underlying base class.
722 % \begin{macro}
723 % {
724 % \l_@@_base_class_tl,
725 % \l_@@_clsopts_prop,
726 % \l_@@_unknown_clsopts_prop
727 % }
728 % Store the known and the unknown class options.
729 % The latter will be forwarded to the base class later.
730 % \begin{macrocode}
731 \tl_new:N \l_@@_base_class_tl
732 \prop_new:N \l_@@_clsopts_prop
733 \prop_new:N \l_@@_unknown_clsopts_prop
734 % \end{macrocode}
735 % \end{macro}
736 %
737 % Define internal variables to hold the values of the fields of the title
738 % page.
739 % \begin{macro}
740 % {
741 % \l_@@_version_tl,
742 % \l_@@_degreeprogramme_tl,
743 % \l_@@_matrnumber_tl,
744 % \l_@@_supervisor_tl,
745 % \l_@@_cosupervisor_tl,
746 % \l_@@_advisor_tl,
747 % \l_@@_coadvisor_tl,
748 % \l_@@_department_tl,
749 % \l_@@_institute_tl,
750 % \l_@@_external_tl,
751 % \l_@@_logofile_tl,
752 % \l_@@_signature_tl,
753 % \l_@@_location_tl
754 % }
755 % \begin{macrocode}
756 \tl_new:N \l_@@_version_tl
757 \tl_new:N \l_@@_degreeprogramme_tl
758 \tl_new:N \l_@@_matrnumber_tl
759 \tl_new:N \l_@@_supervisor_tl
760 \tl_new:N \l_@@_cosupervisor_tl
761 \tl_new:N \l_@@_advisor_tl
762 \tl_new:N \l_@@_coadvisor_tl
763 \tl_new:N \l_@@_department_tl
764 \tl_new:N \l_@@_institute_tl
765 \tl_new:N \l_@@_external_tl
766 \tl_new:N \l_@@_logofile_tl
767 \tl_new:N \l_@@_signature_tl
768 \tl_new:N \l_@@_location_tl
769 % \end{macrocode}
770 % \end{macro}
771 %
772 % Define several dimensions for the \pkg{typearea} package to define the
773 % package style.
774 % \begin{macro}
775 % {
776 % \l_@@_marginspace_dim,
777 % \l_@@_headmarkspace_dim,
778 % \l_@@_rulespace_dim,
779 % \l_@@_pagemark_minipage_dim,
780 % \l_@@_ruleraise_dim,
781 % \l_@@_rulewidth_dim,
782 % \l_@@_rulethickness_dim
783 % }
784 % \begin{macrocode}
785 \dim_new:N \l_@@_marginspace_dim
786 \dim_new:N \l_@@_headmarkspace_dim
787 \dim_new:N \l_@@_rulespace_dim
788 \dim_new:N \l_@@_pagemark_minipage_dim
789 \dim_new:N \l_@@_ruleraise_dim
790 \dim_new:N \l_@@_rulewidth_dim
791 \dim_new:N \l_@@_rulethickness_dim
792 \dim_gset:Nn \l_@@_marginspace_dim { -1.85cm }
793 \dim_gset:Nn \l_@@_headmarkspace_dim { 0.75cm }
794 \dim_gset:Nn \l_@@_rulespace_dim { 10pt }
795 \dim_gset:Nn \l_@@_pagemark_minipage_dim { 1.5cm }
796 \dim_gset:Nn \l_@@_ruleraise_dim { -5pt }
797 \dim_gset:Nn \l_@@_rulewidth_dim { 1.25pt }
798 \dim_gset:Nn \l_@@_rulethickness_dim { 15pt }
799 % \end{macrocode}
800 % \end{macro}
801 %
802 % \subsection{Load-time options}
803 %
804 % We define the key-value interface for the class.
805 % \begin{macro}
806 % {
807 % \l_@@_base_class_tl,
808 % \l_@@_unknown_clsopts_prop,
809 % \l_@@_paper_int,
810 % \l_@@_thesis_type_tl,
811 % \l_@@_licensetype_tl,
812 % \l_@@_licensemodifier_tl,
813 % \l_@@_licenseversion_tl,
814 % \l_@@_colormode_tl,
815 % }
816 % \begin{macrocode}
817 \keys_define:nn { seiithesis }
818 {
819 class .choice:,
820 class / report .meta:n = {class=scrreprt},
821 class / scrreprt .code:n = \tl_gset:Nn \l_@@_base_class_tl {scrreprt},
822 class / book .meta:n = {class=scrbook},
823 class / scrbook .code:n = \tl_gset:Nn \l_@@_base_class_tl {scrbook},
824 class .initial:n = scrbook,
825
826 paper .choices:nn = {a4,b5}{
827 \int_gset_eq:NN \l_@@_paper_int \l_keys_choice_int
828 },
829 paper .initial:n = a4,
830
831 logofile .tl_gset:N = \l_@@_logofile_tl,
832 logofile .initial:n =,
833
834 thesistype .choice:,
835 thesistype / bachelor .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {bachelor},
836 thesistype / bachelorproposal .code:n = {
837 \tl_gset:Nn \l_@@_thesis_type_tl {bachelorproposal}
838 },
839 thesistype / master .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {master},
840 thesistype / masterproposal .code:n = {
841 \tl_gset:Nn \l_@@_thesis_type_tl {masterproposal}
842 },
843 thesistype / phd .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {phd},
844 thesistype / phdeng .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {phdeng},
845 thesistype / phdphil .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {phdphil},
846 thesistype / phdproposal .code:n = {
847 \tl_gset:Nn \l_@@_thesis_type_tl {phdproposal}
848 },
849 thesistype .initial:n = master,
850
851 colormode .choices:nn = {4C,CMYK,cmyk,RGB,rgb,BW,bw,gray}{
852 \tl_gset_eq:NN \l_@@_colormode_tl \l_keys_choice_tl
853 },
854 colormode .initial:n = cmyk,
855
856 unknown .code:n = {
857 \prop_gput:NVn \l_@@_unknown_clsopts_prop \l_keys_key_str {#1}
858 },
859 }
860 % \end{macrocode}
861 % \end{macro}
862 %
863 % Handle the options
864 % \begin{macrocode}
865 \IfFormatAtLeastTF { 2022-06-01 }
866 { \ProcessKeyOptions [ seiithesis ] }
867 {
868 \RequirePackage{ l3keys2e }
869 \ProcessKeysOptions { seiithesis }
870 }
871 % \end{macrocode}
872 %
873 % Handle the known options for base class
874 % \begin{macrocode}
875 \prop_map_inline:Nn \l_@@_clsopts_prop
876 {
877 \tl_if_empty:nTF {#2}
878 { \PassOptionsToClass {#1} {\l_@@_base_class_tl} }
879 {
880 \clist_map_inline:nn {#2}
881 { \PassOptionsToClass {#1=##1} {\l_@@_base_class_tl} }
882 }
883 }
884 % \end{macrocode}
885 %
886 % Load the base class
887 % \begin{macrocode}
888 \LoadClass{\l_@@_base_class_tl}
889 % \end{macrocode}
890 %
891 % Attempt to handle the unknown options
892 % \begin{macrocode}
893 \prop_map_inline:Nn \l_@@_unknown_clsopts_prop
894 {
895 \cs_if_exist:cT {KV@KOMA.\l_@@_base_class_tl.cls@#1}
896 {
897 \tl_if_empty:nTF {#2}
898 { \KOMAoptions{#1} }
899 { \KOMAoption{#1}{#2}}
900 }
901 }
902 % \end{macrocode}
903 %
904 % \subsection{Package loading}
905 %
906 % We load some packages with options that depend on options to the
907 % \cls{se2thesis} class.
908 % Thus, we load them here to be able to hand them over the respective values.
909 %
910 % We start with the \pkg{se2colors} and \pkg{se2fonts} packages.
911 % \begin{macrocode}
912 \PassOptionsToPackage{\l_@@_colormode_tl}{se2colors}
913 \RequirePackage{se2colors}
914
915 \RequirePackage{se2fonts}
916 % \end{macrocode}
917 %
918 % \subsection{User macros for the title page}
919 %
920 % In addition to the macros provided by the \KOMAScript{} classes
921 % for the title-page values (e.g. \cs{author}, \cs{title}),
922 % provide these additional macros to the user.
923 % \begin{macro}{\version}
924 % Specify the version of the document, e.g., a |git| hash.
925 % \begin{macrocode}
926 \ProvideDocumentCommand \version { m }
927 {
928 \tl_set:Nn \l_@@_version_tl {#1}
929 }
930 % \end{macrocode}
931 % \end{macro}
932 %
933 % \begin{macro}{\degreeprogramme}
934 % Specify the degree programme the thesis is meant to be accepted in.
935 % \begin{macrocode}
936 \ProvideDocumentCommand \degreeprogramme { m }
937 {
938 \tl_set:Nn \l_@@_degreeprogramme_tl {#1}
939 }
940 % \end{macrocode}
941 % \end{macro}
942 %
943 % \begin{macro}{\matrnumber}
944 % Specify the matriculation number of the student.
945 % \begin{macrocode}
946 \ProvideDocumentCommand \matrnumber { m }
947 {
948 \tl_set:Nn \l_@@_matrnumber_tl {#1}
949 }
950 % \end{macrocode}
951 % \end{macro}
952 %
953 % \begin{macro}{\supervisor, \cosupervisor}
954 % Specify the supervisor and co-supervisor of the thesis, usually a professor.
955 % \begin{macrocode}
956 \ProvideDocumentCommand \supervisor { m }
957 {
958 \tl_set:Nn \l_@@_supervisor_tl {#1}
959 }
960 \ProvideDocumentCommand \cosupervisor { m }
961 {
962 \tl_set:Nn \l_@@_cosupervisor_tl {#1}
963 }
964 % \end{macrocode}
965 % \end{macro}
966 %
967 % \begin{macro}{\advisor, \coadvisor}
968 % Specify the advisor and co-advisor of the thesis, usually a PhD student or
969 % postdoc.
970 % \begin{macrocode}
971 \ProvideDocumentCommand \advisor { m }
972 {
973 \tl_set:Nn \l_@@_advisor_tl {#1}
974 }
975 \ProvideDocumentCommand \coadvisor { m }
976 {
977 \tl_set:Nn \l_@@_coadvisor_tl {#1}
978 }
979 % \end{macrocode}
980 % \end{macro}
981 %
982 % \begin{macro}{\department, \institute}
983 % Specify the university's department and institute you are writing
984 % the thesis for.
985 % \begin{macrocode}
986 \ProvideDocumentCommand \department { m }
987 {
988 \tl_set:Nn \l_@@_department_tl {#1}
989 }
990 \ProvideDocumentCommand \institute { o m }
991 {
992 \tl_set:Nn \l_@@_institute_tl {#2}
993 }
994 % \end{macrocode}
995 % \end{macro}
996 %
997 % \begin{macro}{\external}
998 % Specify an external referee.
999 % \begin{macrocode}
1000 \ProvideDocumentCommand \external { m }
1001 {
1002 \tl_set:Nn \l_@@_external_tl {#1}
1003 }
1004 % \end{macrocode}
1005 % \end{macro}
1006 %
1007 % \begin{macro}{\location}
1008 % Specify the location for the signature field.
1009 % \begin{macrocode}
1010 \ProvideDocumentCommand \location { m }
1011 {
1012 \tl_set:Nn \l_@@_location_tl {#1}
1013 }
1014 % \end{macrocode}
1015 % \end{macro}
1016 %
1017 % \subsection{Define logo, paper size, and paper style}
1018 %
1019 % For the logo on the titlepage, we define further variables to store its height
1020 % and a box to store the logo itself.
1021 % \begin{macro}{\l_@@_logo_height_dim, \l_@@_logo_box}
1022 % \begin{macrocode}
1023 \dim_if_exist:NF \l_@@_logo_height_dim
1024 {
1025 \dim_new:N \l_@@_logo_height_dim
1026 \int_compare:nTF { \l_@@_paper_int=1 }
1027 {
1028 \dim_gset:Nn \l_@@_logo_height_dim { 67.5pt }
1029 } {
1030 \dim_gset:Nn \l_@@_logo_height_dim { 56.8pt }
1031 }
1032 }
1033 \box_if_exist:NF \l_@@_logo_box
1034 {
1035 \box_new:N \l_@@_logo_box
1036 }
1037 \tl_if_empty:NF \l_@@_logofile_tl
1038 {
1039 \hbox_gset:Nn \l_@@_logo_box
1040 {
1041 \includegraphics[%
1042 height=\l_@@_logo_height_dim%
1043 ]{\l_@@_logofile_tl}
1044 }
1045 }
1046 % \end{macrocode}
1047 % \end{macro}
1048 %
1049 % Set the paper size depending on the selected |paper| option.
1050 % \begin{macrocode}
1051 \int_compare:nTF { \l_@@_paper_int=1 }
1052 {
1053 \areaset[current]{350pt}{567pt}
1054 \setlength{\marginparsep}{8.5cm}
1055 \setlength{\marginparsep}{1.5em}
1056 }{
1057 \areaset[current]{350pt}{567pt}
1058 \setlength{\marginparsep}{7.4cm}
1059 \setlength{\marginparsep}{1.5em}
1060 }
1061 % \end{macrocode}
1062 %
1063 % Provide the package style.
1064 % We start by loading the \pkg{scrlayer-scrpage} package with the appropriate
1065 % options and set some basic properties.
1066 % \begin{macrocode}
1067 \PassOptionsToPackage{automark}{scrlayer-scrpage}
1068 \RequirePackage{scrlayer-scrpage}
1069 \clearpairofpagestyles
1070 \setkomafont{pagefoot}{\normalfont\sffamily}
1071 % \end{macrocode}
1072 %
1073 % We can then define the footer for odd pages, which will appear on the right
1074 % side of the page's footer.
1075 % This definition contains first, as an optional argument, the style of a page
1076 % with |pagestyle| set to |empty|, i.e., a page where a new chapter starts, and
1077 % afterwards the style of a regular right-hand side page.
1078 % \begin{macrocode}
1079 \rofoot[{%
1080 \group_begin: \ \group_end:
1081 \footnotesize%
1082 \hspace*{\l_@@_headmarkspace_dim}%
1083 \group_begin:
1084 \color{UPSE2-Blue}%
1085 \rule[\l_@@_ruleraise_dim]{\l_@@_rulewidth_dim}{\l_@@_rulethickness_dim}%
1086 \group_end:
1087 \hspace*{\l_@@_rulespace_dim}%
1088 \begin{minipage}[b]{\l_@@_pagemark_minipage_dim}%
1089 \normalsize\textbf{\pagemark}%
1090 \end{minipage}%
1091 \hspace{\l_@@_marginspace_dim}%
1092 }]{%
1093 \group_begin: \ \group_end:
1094 \footnotesize%
1095 \group_begin:
1096 \color{UPSE2-Blue}\headmark
1097 \group_end:
1098 \hspace*{\l_@@_rulespace_dim}%
1099 \group_begin:
1100 \color{UPSE2-Blue}%
1101 \rule[\l_@@_ruleraise_dim]{\l_@@_rulewidth_dim}{\l_@@_rulethickness_dim}%
1102 \group_end:
1103 \hspace*{\l_@@_rulespace_dim}%
1104 \begin{minipage}[b]{\l_@@_pagemark_minipage_dim}%
1105 \normalsize\textbf{\pagemark}%
1106 \end{minipage}%
1107 \hspace{\l_@@_marginspace_dim}%
1108 }
1109 % \end{macrocode}
1110 %
1111 % Similarly, we define the footer for even pages, which will appear on the left
1112 % side of the page's footer.
1113 % \begin{macrocode}
1114 \lefoot[{%
1115 \null\hspace{\l_@@_marginspace_dim}%
1116 \footnotesize%
1117 \begin{minipage}[b]{\l_@@_pagemark_minipage_dim}%
1118 \raggedleft\normalsize\textbf{\pagemark}%
1119 \end{minipage}%
1120 \footnotesize%
1121 \hspace*{\l_@@_rulespace_dim}%
1122 \group_begin:
1123 \color{UPSE2-Blue}%
1124 \rule[\l_@@_ruleraise_dim]{\l_@@_rulewidth_dim}{\l_@@_rulethickness_dim}%
1125 \group_end:
1126 }]{%
1127 \null\hspace{\l_@@_marginspace_dim}%
1128 \footnotesize%
1129 \begin{minipage}[b]{\l_@@_pagemark_minipage_dim}%
1130 \raggedleft\normalsize\textbf{\pagemark}%
1131 \end{minipage}%
1132 \footnotesize%
1133 \hspace*{\l_@@_rulespace_dim}%
1134 \group_begin:
1135 \color{UPSE2-Blue}%
1136 \rule[\l_@@_ruleraise_dim]{\l_@@_rulewidth_dim}{\l_@@_rulethickness_dim}%
1137 \group_end:
1138 \hspace*{\l_@@_headmarkspace_dim}%
1139 \group_begin:
1140 \color{UPSE2-Blue}\headmark
1141 \group_end:
1142 }
1143 % \end{macrocode}
1144 %
1145 % Finally, set the page style.
1146 % \begin{macrocode}
1147 \pagestyle{scrheadings}
1148 % \end{macrocode}
1149 %
1150 % \subsection{The title page}
1151 %
1152 % We start out by adjusting some \KOMAScript{} fonts.
1153 % \begin{macrocode}
1154 \setkomafont{title}{\Huge}
1155 \setkomafont{subtitle}{\Large}
1156 \setkomafont{subject}{\normalsize}
1157 \setkomafont{author}{\large}
1158 \setkomafont{date}{\normalsize}
1159 \setkomafont{publishers}{\normalsize}
1160 % \end{macrocode}
1161 %
1162 % \begin{macro}{\author, \@author}
1163 % Allow for automated splitting of author's names.
1164 % \begin{macrocode}
1165 \seq_new:N \l_@@_author_seq
1166 \renewcommand*\author[2][]{
1167 \seq_gset_split:Nnn \l_@@_author_seq {\and} {#2}
1168 \tl_if_empty:nTF {#1}
1169 { \tl_set:Nn \l_@@_signature_tl {#2} }
1170 { \tl_set:Nn \l_@@_signature_tl {#1} }
1171 }
1172 \renewcommand*{\@author}{
1173 \group_begin:
1174 \seq_use:Nnnn \l_@@_author_seq {~\GetTranslation{and}~} {,~} {~\&~}
1175 \group_end:
1176 }
1177 % \end{macrocode}
1178 % \end{macro}
1179 %
1180 % Define a new layer using the functionality from \pkg{scrlayer-scrpage} for the
1181 % logo image.
1182 % \begin{macrocode}
1183 \DeclareNewLayer[
1184 mode=picture,
1185 foreground,
1186 hoffset=\paperwidth-\coverpagerightmargin-\box_wd:N \l_@@_logo_box,
1187 voffset=\coverpagetopmargin+1.5in+\ht\strutbox,
1188 width=\box_wd:N \l_@@_logo_box,
1189 height=\box_ht:N \l_@@_logo_box,
1190 contents={\putUL{\box_use:N \l_@@_logo_box}},
1191 ]{title.seii.logo}
1192 \DeclareNewPageStyleByLayers{title.seii}{title.seii.logo}
1193 \renewcommand*{\titlepagestyle}{title.seii}
1194 % \end{macrocode}
1195 %
1196 % Redefine the \cs{maketitle} command.
1197 % The following code is an adapted version of the corresponding \KOMAScript{}
1198 % macro by Markus Kohm.
1199 % \begin{macrocode}
1200 \renewcommand*{\maketitle}[1][1]{
1201 \begin{titlepage}
1202 \setcounter{page}{#1}
1203 \def\thefootnote{\fnsymbol{footnote}}
1204 \edef\titlepage@restore{%
1205 \noexpand\endgroup
1206 \noexpand\global\noexpand\@colht\the\@colht
1207 \noexpand\global\noexpand\@colroom\the\@colroom
1208 \noexpand\global\vsize\the\vsize
1209 \noexpand\global\noexpand\@titlepageiscoverpagefalse
1210 \noexpand\let\noexpand\titlepage@restore\noexpand\relax
1211 }%
1212 \begingroup
1213 \topmargin=\dimexpr \coverpagetopmargin-1in\relax
1214 \oddsidemargin=\dimexpr 0in\relax
1215 \evensidemargin=\dimexpr 0in\relax
1216 \textwidth=\dimexpr \paperwidth-2in\relax
1217 \textheight=\dimexpr
1218 \paperheight-\coverpagetopmargin-\coverpagebottommargin\relax
1219 \headheight=0pt
1220 \headsep=0pt
1221 \footskip=\baselineskip
1222 \@colht=\textheight
1223 \@colroom=\textheight
1224 \vsize=\textheight
1225 \columnwidth=\textwidth
1226 \hsize=\textwidth
1227 \linewidth=\hsize
1228 \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
1229 \thispagestyle{title.seii}
1230 %
1231 \@maketitle
1232 %
1233 \if@twoside
1234 \@tempswatrue
1235 \if@tempswa
1236 \next@tpage
1237 \begin{minipage}[t]{\textwidth}
1238 \@uppertitleback
1239 \end{minipage}
1240 \vfill
1241 \begin{minipage}[b]{\textwidth}
1242 \@lowertitleback
1243 \end{minipage}\par
1244 \@thanks\let\@thanks\@empty
1245 \fi
1246 \fi
1247 \ifx\titlepage@restore\relax\else\clearpage\titlepage@restore\fi
1248 \end{titlepage}
1249 }
1250 % \end{macrocode}
1251 %
1252 % \begin{macro}{\l_@@_title_box}
1253 % Define a box for the title if it does not yet exist.
1254 % \begin{macrocode}
1255 \box_if_exist:NF \l_@@_title_box
1256 {
1257 \box_new:N \l_@@_title_box
1258 }
1259 % \end{macrocode}
1260 % \end{macro}
1261 %
1262 % \begin{macro}{\@maketitle}
1263 % Redeclare the \cs{@maketitle} macro.
1264 % \begin{macrocode}
1265 \renewcommand*{\@maketitle}{%
1266 \group_begin:
1267 \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
1268 \thispagestyle{title.seii}
1269 \hbox_gset:Nn \l_@@_title_box
1270 {
1271 \parbox{\textwidth}{\__@@_print_title:}
1272 }
1273 \null
1274 \skip_vertical:n { 2.5 \box_ht:N \l_@@_logo_box }
1275 \box_use:N \l_@@_title_box
1276 \skip_vertical:n { .5 \box_ht:N \l_@@_logo_box }
1277 \group_end:
1278 \@thanks\let\@thanks\@empty
1279 }
1280 % \end{macrocode}
1281 % \end{macro}
1282 %
1283 % Load the \pkg{ifthen} package.
1284 % \begin{macrocode}
1285 \RequirePackage{ifthen}
1286 % \end{macrocode}
1287 %
1288 % Prints the title formatted appropriately.
1289 % We start with printing the title, optional subtitle, and the author names.
1290 % \begin{macrocode}
1291 \tl_new:N \g_@@_title_tl
1292 \cs_new:Nn \__@@_print_title:
1293 {
1294 \group_begin:
1295 \usekomafont{title}\centering\@title\par
1296 \group_end:
1297 \ifx\@subtitle\@empty\else{%
1298 \medskip\usekomafont{subtitle}\centering\@subtitle\par%
1299 }\fi
1300 \bigskip
1301 \group_begin:
1302 \usekomafont{author}\centering\@author\par
1303 \group_end:
1304 \bigskip
1305 % \end{macrocode}
1306 % The next block generates the text that describes the thesis.
1307 % In case of a PhD thesis, this text is predefined to match the requirements.
1308 % In case of a bachelor's or master's thesis, or a proposal thereof, we generate
1309 % a text based on the values of the |thesistype| load-time option and the
1310 % values of the \cmd{\degreeprogramme}, \cmd{\department}, and
1311 % \cmd{\institute} variables.
1312 % \begin{macrocode}
1313 \tl_set:Nn
1314 \g_@@_title_tl
1315 {
1316 \begin{center}
1317 \tl_if_eq:NnTF \l_@@_thesis_type_tl { phd }
1318 {
1319 Dissertation~ zur~ Erlangung~ des~ Doktorgrades\\
1320 der~ Naturwissenschaften~ (Dr.\,rer.\,nat.)\\
1321 eingereicht~ an~ der~ Fakultät~ für~ Informatik~ und~ Mathematik\\
1322 der~ Universität~ Passau\\
1323 \rule{\textwidth}{.1pt}\\
1324 Dissertation~ submitted~ to\\
1325 the~ Faculty~ of~ Computer~ Science~ and~ Mathematics\\
1326 of~ the~ University~ of~ Passau\\
1327 in~ partial~ fulfillment~ of~ obtaining\\
1328 the~ degree~ of~ a~ Doctor~ of~ Natural~ Sciences
1329 } {
1330 \tl_if_eq:NnTF \l_@@_thesis_type_tl { phdeng }
1331 {
1332 Dissertation~ zur~ Erlangung~ des~ Doktorgrades\\
1333 der~ Ingenieurwissenschaften~ (Dr.-Ing.)\\
1334 eingereicht~ an~ der~ Fakultät~ für~ Informatik~ und~ Mathematik\\
1335 der~ Universität~ Passau\\
1336 \rule{\textwidth}{.1pt}\\
1337 Dissertation~ submitted~ to\\
1338 the~ Faculty~ of~ Computer~ Science~ and~ Mathematics\\
1339 of~ the~ University~ of~ Passau\\
1340 in~ partial~ fulfillment~ of~ obtaining\\
1341 the~ degree~ of~ a~ Doctor~ of~ Engineering
1342 } {
1343 \tl_if_eq:NnTF \l_@@_thesis_type_tl { phdphil }
1344 {
1345 Dissertation~ zur~ Erlangung~ des~ Doktorgrades\\
1346 der~ Naturphilosophie~ (Dr.\,phil.\,nat.)\\
1347 eingereicht~ an~ der~ Fakultät~ für~ Informatik~ und~ Mathematik\\
1348 der~ Universität~ Passau\\
1349 \rule{\textwidth}{.1pt}\\
1350 Dissertation~ submitted~ to\\
1351 the~ Faculty~ of~ Computer~ Science~ and~ Mathematics\\
1352 of~ the~ University~ of~ Passau\\
1353 in~ partial~ fulfillment~ of~ obtaining\\
1354 the~ degree~ of~ a~ Doctor~ of~ Natural~ Philosophy
1355 } {
1356 \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelor }
1357 { \GetTranslation{Bachelor-thesis} }
1358 \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelorproposal }
1359 { \GetTranslation{Bachelor-thesis-proposal} }
1360 \tl_if_eq:NnT \l_@@_thesis_type_tl { master }
1361 { \GetTranslation{Master-thesis} }
1362 \tl_if_eq:NnT \l_@@_thesis_type_tl { masterproposal }
1363 { \GetTranslation{Master-thesis-proposal} }
1364 \tl_if_eq:NnT \l_@@_thesis_type_tl { phdproposal }
1365 { \GetTranslation{PhD-thesis-proposal} }
1366 \tl_if_empty:NF \l_@@_degreeprogramme_tl
1367 {
1368 \ in~\l_@@_degreeprogramme_tl
1369 }
1370 \par
1371 \tl_if_empty:NF \l_@@_department_tl { \l_@@_department_tl \par }
1372 \tl_if_empty:NF \l_@@_institute_tl { \l_@@_institute_tl \par }
1373 }
1374 }
1375 }
1376 \end{center}\par\bigskip
1377 % \end{macrocode}
1378 % Finally, generate a table with information about supervisors, advisors, etc.
1379 % \begin{macrocode}
1380 \begin{center}
1381 \begin{tabular}{@{} l @{\quad} l}
1382 \tl_if_empty:NF \l_@@_matrnumber_tl
1383 {
1384 \GetTranslation{Matrnumber} & \l_@@_matrnumber_tl \\
1385 }
1386 \tl_if_empty:NF \l_@@_supervisor_tl
1387 {
1388 \GetTranslation{Supervisor} & \l_@@_supervisor_tl \\
1389 }
1390 \tl_if_empty:NF \l_@@_cosupervisor_tl
1391 {
1392 \GetTranslation{Co-supervisor} & \l_@@_cosupervisor_tl \\
1393 }
1394 \tl_if_empty:NF \l_@@_advisor_tl
1395 {
1396 \GetTranslation{Advisor} & \l_@@_advisor_tl \\
1397 }
1398 \tl_if_empty:NF \l_@@_coadvisor_tl
1399 {
1400 \GetTranslation{Co-advisor} & \l_@@_coadvisor_tl \\
1401 }
1402 \tl_if_empty:NF \l_@@_external_tl
1403 {
1404 \GetTranslation{External} & \l_@@_external_tl \\
1405 }
1406 \end{tabular}
1407 \end{center}
1408 \par\medskip
1409 % \end{macrocode}
1410 % Last, print the date or the version.
1411 % \begin{macrocode}
1412 \group_begin:
1413 \usekomafont{date}
1414 \centering
1415 \tl_if_empty:NTF \l_@@_version_tl
1416 { \@date }
1417 { \GetTranslation{version-of-date} }
1418 \par\smallskip
1419 \group_end:
1420 }
1421 \exp_args:NNV
1422 \tl_use:N
1423 \g_@@_title_tl
1424 }
1425 % \end{macrocode}
1426 %
1427 % \begin{macro}{\@lowertitleback}
1428 % Afterwards, override the definition of \cs{@lowertitleback}. To prevent
1429 % line breaks in the title (that might be necessary to layout it properly on
1430 % the front title page), we place a group around \cs{@title} and temporarily
1431 % redefine \cmd{\\} to do nothing.
1432 % \begin{macrocode}
1433 \renewcommand*{\@lowertitleback}{%
1434 \group_begin:
1435 \noindent\textbf{\@author}:\\
1436 \group_begin:
1437 \let\\\relax
1438 \emph{\@title}
1439 \group_end:\\
1440 \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelor }
1441 { \GetTranslation{Bachelor-thesis},~ }
1442 \tl_if_eq:NnT \l_@@_thesis_type_tl { master }
1443 { \GetTranslation{Master-thesis},~ }
1444 \tl_if_eq:NnT \l_@@_thesis_type_tl { phd }
1445 { \GetTranslation{PhD-thesis},~ }
1446 \GetTranslation{up},~\the\year.
1447 \group_end:
1448 }
1449 % \end{macrocode}
1450 % \end{macro}
1451 %
1452 % \subsection{Styling of the sectioning commans}
1453 %
1454 % We change the formatting of the chapter, section, and sub-section headings.
1455 % \begin{macrocode}
1456 \addtokomafont{chapterprefix}{\raggedleft\bfseries}
1457 \addtokomafont{chapter}{\mdseries}
1458 \addtokomafont{section}{\large\mdseries}
1459 \addtokomafont{subsection}{\normalsize\mdseries}
1460 \renewcommand*{\chapterformat}{%
1461 \enskip\mbox{%
1462 \scalebox{3}{\color{UPSE2-DarkGray}\thechapter\autodot}%
1463 }%
1464 }
1465 \renewcommand{\chapterlinesformat}[3]{%
1466 \parbox[b]{\textwidth}{\hrulefill#2}\par%
1467 #3\par\bigskip%
1468 \hrule%
1469 }
1470 \RedeclareSectionCommand[afterskip=1.5\baselineskip]{chapter}
1471 \renewcommand*{\chapterlineswithprefixformat}[3]{%
1472 \Ifstr{#1}{chapter}
1473 {#2\textls*[75]{\MakeUppercase{#3}}}% change definition for chapter
1474 {#2#3}% original definition
1475 }%
1476 \renewcommand*{\sectionlinesformat}[4]{%
1477 #3\textls*[75]{\MakeUppercase{#4}}%
1478 }
1479 % \end{macrocode}
1480 %
1481 % Change the loop of a \cmd{\paragraph} to be italic and end with a full stop.
1482 % \begin{macrocode}
1483 \setkomafont{paragraph}{\normalsize\normalfont\itshape}
1484 \AddtoDoHook{heading/endgroup/paragraph}{\headingdot}
1485 \newcommand*{\headingdot}[1]{.}
1486 % \end{macrocode}
1487 %
1488 % Change the width of a dictum
1489 % \begin{macrocode}
1490 \renewcommand*{\dictumwidth}{0.42\linewidth}
1491 % \end{macrocode}
1492 %
1493 % \subsection{Provide an environment for abstracts}
1494 %
1495 % We want to allow abstracts in German and English, which is also a requirement
1496 % when writing a thesis in English.
1497 % First, ensure that the \cmd{\abstract} macro is available for all classes.
1498 % \begin{macro}{\abstract}
1499 % \begin{macrocode}
1500 \providecommand{\abstract}{}
1501 % \end{macrocode}
1502 % \end{macro}
1503 % Then redefine the |abstract| environment such that it provides an optional
1504 % argument for language selection.
1505 % \begin{environment}{abstract}
1506 % Used to typeset an abstract for the thesis.
1507 % The optional argument allows to specify a language.
1508 % As a default the current document language will be used.
1509 % \begin{macrocode}
1510 \RenewDocumentEnvironment { abstract } { o }
1511 {
1512 \group_begin:
1513 \IfNoValueF {#1} { \selectlanguage{#1} }
1514 \scr@ifundefinedorrelax{chapter}{
1515 \Iftocfeature{toc}{leveldown}
1516 {\subsection*}
1517 {\section*}
1518 }{
1519 \let\clearpage\relax
1520 \Iftocfeature{toc}{leveldown}
1521 {\section*}
1522 {\chapter*}
1523 } { \GetTranslation{Abstract} }
1524 } {
1525 \group_end:
1526 }
1527 % \end{macrocode}
1528 % \end{environment}
1529 %
1530 % \subsection{Provide an environment for acknowledgements}
1531 %
1532 % Often, especially in a PhD thesis, one wants to acknowledge the help of
1533 % certain people, for example, supervisors, family, and friends.
1534 % \begin{environment}{acknowledgements}
1535 % Use to typeset the acknowledgements for the thesis.
1536 % \begin{macrocode}
1537 \NewDocumentEnvironment { acknowledgements } { o }
1538 {
1539 \group_begin:
1540 \IfNoValueF {#1} { \selectlanguage{#1} }
1541 \scr@ifundefinedorrelax{chapter}{
1542 \Iftocfeature{toc}{leveldown}
1543 {\subsection*}
1544 {\section*}
1545 }{
1546 \Iftocfeature{toc}{leveldown}
1547 {\section*}
1548 {\chapter*}
1549 } { \GetTranslation{Acknowledgements} }
1550 } {
1551 \group_end:
1552 }
1553 % \end{macrocode}
1554 % \end{environment}
1555 %
1556 % \subsection{Document structuring macros}
1557 %
1558 % Ensure that these macros are defined.
1559 % These are the exact definitions from \KOMAScript.
1560 % \begin{macrocode}
1561 \newif\if@mainmatter\@mainmattertrue
1562 % \end{macrocode}
1563 % \begin{macro}{\frontmatter}
1564 % Starts the frontmatter.
1565 % Most notably, set the page numbers to roman.
1566 % \begin{macrocode}
1567 \providecommand*{\frontmatter}
1568 {
1569 \if@twoside\cleardoubleoddpage\else\clearpage\fi
1570 \@mainmatterfalse
1571 \pagenumbering { roman }
1572 }
1573 % \end{macrocode}
1574 % \end{macro}
1575 % \begin{macro}{\mainmatter, \backmatter}
1576 % Starts the mainmatter or the backmatter.
1577 % Most notably, set the page numbers to arabic.
1578 % \begin{macrocode}
1579 \providecommand*{\mainmatter}
1580 {
1581 \if@twoside\cleardoubleoddpage\else\clearpage\fi
1582 \@mainmattertrue
1583 \pagenumbering { arabic }
1584 }
1585 \providecommand*{\backmatter}
1586 {
1587 \if@twoside\cleardoubleoddpage\else\clearpage\fi
1588 \@mainmatterfalse
1589 }
1590 % \end{macrocode}
1591 % \end{macro}
1592 %
1593 % \subsection{Declaration of authorship}
1594 %
1595 % \begin{macro}{\authorshipDeclaration}
1596 % Provide a command to typeset the authorship declaration.
1597 % \begin{macrocode}
1598 \NewDocumentCommand \authorshipDeclaration { o }
1599 {
1600 \par
1601 \group_begin:
1602 \selectlanguage{ngerman}
1603 \IfNoValueF {#1}
1604 { \tl_gset:Nn \l_@@_location_tl {#1} }
1605
1606 \tl_if_empty:NT \l_@@_location_tl
1607 {
1608 \msg_new:nnn { seiithesis }
1609 { no-location-specified }
1610 {
1611 You~ need~ to~ specify~ a~ location~ for~ the~ authorship~
1612 declaration.~ Either~ via~ the~ location~ macro~ or~ via~ the~
1613 optional~ argument~ of~ the~ authorshipDeclaration~ macro.
1614 }
1615 \msg_warning:nn { seiithesis } { no-location-specified }
1616 }
1617
1618 \scr@ifundefinedorrelax{chapter}{
1619 \Iftocfeature{toc}{leveldown}
1620 {\subsection*}
1621 {\section*}
1622 }{
1623 \Iftocfeature{toc}{leveldown}
1624 {\section*}
1625 {\chapter*}
1626 } { Eigenständigkeitserklärung }
1627
1628 Hiermit~ versichere~ ich,~ \l_@@_signature_tl,
1629 \begin{enumerate}
1630 \item dass~ ich~ die~ vorliegende~ Arbeit~ selbstständig~ und~ ohne~
1631 unzulässige~ Hilfe~ verfasst~ und~ keine~ anderen~ als~ die~
1632 angegebenen~ Quellen~ und~ Hilfsmittel~ benutzt,~ sowie~ die~
1633 wörtlich~ und~ sinngemäß~ übernommenen~ Passagen~ aus~ anderen~
1634 Werken~ kenntlich~ gemacht~ habe.
1635 \item Außerdem~ erkläre~ ich,~ dass~ ich~ der~ Universität~ ein~
1636 einfaches~ Nutzungsrecht~ zum~ Zwecke~ der~ Überprüfung~ mittels~
1637 einer~ Plagiatssoftware~ in~ anonymisierter~ Form~ einräume.
1638 \end{enumerate}\par
1639 \bigskip
1640 \noindent \l_@@_location_tl,~ \@date\hfill
1641 \signatureBox{\l_@@_signature_tl}
1642 \group_end:
1643 \\\strut\cleardoublepage
1644 }
1645 % \end{macrocode}
1646 % \end{macro}
1647 %
1648 % \begin{macro}{\signatureBox}
1649 % Provide a box for the signature.
1650 % \begin{macrocode}
1651 \newcommand*{\signatureBox}[2][5cm]{
1652 \parbox[t]{#1}{
1653 \centering
1654 \rule{\linewidth}{.3pt}\\\makebox[0pt][c]{#2}
1655 }
1656 }
1657 % \end{macrocode}
1658 % \end{macro}
1659 %
1660 % \subsection{Research questions and summary boxes}
1661 %
1662 % We utilise the \pkg{ntheorem} package for defining new theorem environments
1663 % that are used for defining research questions and hypotheses.
1664 % Therefore, start with loading this package.
1665 % \pkg{ntheorem}.
1666 % \begin{macrocode}
1667 \slcd_package_if_loaded:nT { amsmath }
1668 {
1669 \PassOptionsToPackage{amsmath}{ntheorem}
1670 }
1671 \RequirePackage{ntheorem}
1672 \theoremseparator{:}
1673 % \end{macrocode}
1674 %
1675 % \begin{environment}{resq, hyp}
1676 % We can then define the \env{resq} and \env{hyp} environments using the
1677 % \cmd{\newtheorem} macro from \pkg{ntheorem}.
1678 % \begin{macrocode}
1679 \newtheorem{resq}{Research~ Question}
1680 \newtheorem{hyp}{Hypothesis}
1681 % \end{macrocode}
1682 % \end{environment}
1683 %
1684 % For the summary boxes, we utilise the \pkg{tcolorbox} package.
1685 % We start with loading this package.
1686 % \begin{macrocode}
1687 \RequirePackage{tcolorbox}
1688 % \end{macrocode}
1689 %
1690 % \begin{environment}{summary}
1691 % The \env{summary} environment expects a label and has the summary text in
1692 % its content.
1693 % \begin{macrocode}
1694 \ExplSyntaxOff
1695 \NewDocumentEnvironment { summary } { m +b }
1696 {%
1697 \begin{tcolorbox}[%
1698 size=fbox,%
1699 rounded corners=all,%
1700 attach title to upper,%
1701 coltitle=black,%
1702 fonttitle=\bfseries,%
1703 title={Summary #1},
1704 after title={:\ },
1705 ]
1706 #2
1707 } {%
1708 \end{tcolorbox}%
1709 }
1710 \ExplSyntaxOn
1711 % \end{macrocode}
1712 % \end{environment}
1713 % \begin{macro}{\summarybox}
1714 % The \cmd{summarybox} macro simplifies the usage of the \env{summary}
1715 % environment.
1716 % \begin{macrocode}
1717 \NewDocumentCommand { \summarybox } { m m }
1718 {
1719 \begin{summary}{#1} #2 \end{summary}
1720 }
1721 % \end{macrocode}
1722 % \end{macro}
1723 %
1724 %
1725 %
1726 %
1727 %
1728 %
1729 %
1730 %
1731 % \begin{macrocode}
1732 %</class>
1733 % \end{macrocode}
1734 %
1735 % \section{Translations for \cls{se2thesis}}\label{sec:impl-translations}
1736 %
1737 % \begin{macrocode}
1738 %<*translations>
1739 % \end{macrocode}
1740 %
1741 % \subsection{English Translations}\label{sec:impl-translations-english}
1742 %
1743 % \begin{macrocode}
1744 %<*english>
1745 % \end{macrocode}
1746 %
1747 % We provide the following English translations.
1748 %
1749 % \begin{macrocode}
1750 \ProvideDictionaryFor{English}{se2translations}[2026/04/03]
1751 \ProvideDictTranslation{abstract}{abstract}
1752 \ProvideDictTranslation{Abstract}{Abstract}
1753 \ProvideDictTranslation{acknowledgement}{acknowledgement}
1754 \ProvideDictTranslation{Acknowledgement}{Acknowledgement}
1755 \ProvideDictTranslation{acknowledgements}{acknowledgements}
1756 \ProvideDictTranslation{Acknowledgements}{Acknowledgements}
1757 \ProvideDictTranslation{advisor}{advisor}
1758 \ProvideDictTranslation{Advisor}{Advisor}
1759 \ProvideDictTranslation{advisors}{advisors}
1760 \ProvideDictTranslation{Advisors}{Advisors}
1761 \ProvideDictTranslation{co-advisor}{co-advisor}
1762 \ProvideDictTranslation{Co-advisor}{Co-advisor}
1763 \ProvideDictTranslation{co-advisors}{co-advisors}
1764 \ProvideDictTranslation{Co-advisors}{Co-advisors}
1765 \ProvideDictTranslation{matrnumber}{matriculation number}
1766 \ProvideDictTranslation{Matrnumber}{Matriculation number}
1767 \ProvideDictTranslation{supervisor}{supervisor}
1768 \ProvideDictTranslation{Supervisor}{Supervisor}
1769 \ProvideDictTranslation{co-supervisor}{co-supervisor}
1770 \ProvideDictTranslation{Co-supervisor}{Co-supervisor}
1771 \ProvideDictTranslation{external}{external examiner}
1772 \ProvideDictTranslation{External}{External Examiner}
1773 \ProvideDictTranslation{degreeprogramme}{programme}
1774 \ProvideDictTranslation{Degreeprogramme}{Programme}
1775 \ProvideDictTranslation{Bachelor-thesis}{Bachelor's Thesis}
1776 \ProvideDictTranslation{Bachelor-thesis-proposal}{Bachelor's Thesis Proposal}
1777 \ProvideDictTranslation{Master-thesis}{Master's Thesis}
1778 \ProvideDictTranslation{Master-thesis-proposal}{Master's Thesis Proposal}
1779 \ProvideDictTranslation{PhD-thesis}{PhD Thesis}
1780 \ProvideDictTranslation{PhD-thesis-proposal}{PhD Thesis Proposal}
1781 \ProvideDictTranslation{date}{date}
1782 \ProvideDictTranslation{Date}{Date}
1783 \ProvideDictTranslation{university-of-passau}{University of Passau}
1784 \ProvideDictTranslation{up}{University of Passau}
1785 \ProvideDictTranslation{fim}{Faculty of Computer Science and Mathematics}
1786 % \end{macrocode}
1787 %
1788 % \begin{macrocode}
1789 %</english>
1790 % \end{macrocode}
1791 %
1792 % \subsection{German Translations}\label{sec:impl-translations-german}
1793 %
1794 % \begin{macrocode}
1795 %<*german>
1796 % \end{macrocode}
1797 %
1798 % We provide the following German translations.
1799 %
1800 % \begin{macrocode}
1801 \ProvideDictionaryFor{German}{se2translations}[2026/04/03]
1802 \ProvideDictTranslation{abstract}{Zusammenfassung}
1803 \ProvideDictTranslation{Abstract}{Zusammenfassung}
1804 \ProvideDictTranslation{acknowledgement}{Danksagung}
1805 \ProvideDictTranslation{Acknowledgement}{Danksagung}
1806 \ProvideDictTranslation{acknowledgements}{Danksagungen}
1807 \ProvideDictTranslation{Acknowledgements}{Danksagungen}
1808 \ProvideDictTranslation{advisor}{Betreuer}
1809 \ProvideDictTranslation{Advisor}{Betreuer}
1810 \ProvideDictTranslation{advisors}{Betreuer}
1811 \ProvideDictTranslation{Advisors}{Betreuer}
1812 \ProvideDictTranslation{co-advisor}{Mitbetreuer}
1813 \ProvideDictTranslation{Co-advisor}{Mitbetreuer}
1814 \ProvideDictTranslation{co-advisors}{Mitbetreuer}
1815 \ProvideDictTranslation{Co-advisors}{Mitbetreuer}
1816 \ProvideDictTranslation{matrnumber}{Matrikelnummer}
1817 \ProvideDictTranslation{Matrnumber}{Matrikelnummer}
1818 \ProvideDictTranslation{supervisor}{Prüfer}
1819 \ProvideDictTranslation{Supervisor}{Prüfer}
1820 \ProvideDictTranslation{co-supervisor}{Zweitprüfer}
1821 \ProvideDictTranslation{Co-supervisor}{Zweitprüfer}
1822 \ProvideDictTranslation{external}{Externer Gutachter}
1823 \ProvideDictTranslation{External}{Externer Gutachter}
1824 \ProvideDictTranslation{degreeprogramme}{Studiengang}
1825 \ProvideDictTranslation{Degreeprogramme}{Studiengang}
1826 \ProvideDictTranslation{Bachelor-thesis}{Bachelorarbeit}
1827 \ProvideDictTranslation{Bachelor-thesis-proposal}{Bachelorarbeitsproposal}
1828 \ProvideDictTranslation{Master-thesis}{Masterarbeit}
1829 \ProvideDictTranslation{Master-thesis-proposal}{Masterarbeitsproposal}
1830 \ProvideDictTranslation{PhD-thesis}{Dissertation}
1831 \ProvideDictTranslation{PhD-thesis-proposal}{Dissertationsproposal}
1832 \ProvideDictTranslation{date}{Datum}
1833 \ProvideDictTranslation{Date}{Datum}
1834 \ProvideDictTranslation{university-of-passau}{Universität Passau}
1835 \ProvideDictTranslation{up}{Universität Passau}
1836 \ProvideDictTranslation{fim}{Fakultät für Informatik und Mathematik}
1837 % \end{macrocode}
1838 %
1839 % \begin{macrocode}
1840 %</german>
1841 % \end{macrocode}
1842 %
1843 % \begin{macrocode}
1844 %</translations>
1845 % \end{macrocode}
1846 %
1847 % \end{implementation}
1848 %
1849 % \clearpage
1850 %
1851 % \PrintIndex