summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-22 23:40:36 +0000
committerKarl Berry <karl@freefriends.org>2014-12-22 23:40:36 +0000
commit4f902263451a27826c05b01add75eba8ad70bcbb (patch)
tree122905b415c3dad65734d26cd0a706f6e13729b4 /Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
parent6a25d658147c100681ee893ce36f28ef9b689995 (diff)
tudscr has fallback for free fonts, so fine, restore
git-svn-id: svn://tug.org/texlive/trunk@35882 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls3454
1 files changed, 3454 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
new file mode 100644
index 00000000000..e95c5944f8d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
@@ -0,0 +1,3454 @@
+%%
+%% This is file `tudscrartcl.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% tudscr-version.dtx (with options: `class,article')
+%% tudscr-base.dtx (with options: `load')
+%% tudscr-fonts.dtx (with options: `class,option')
+%% tudscr-pagestyle.dtx (with options: `class,article,option')
+%% tudscr-layout.dtx (with options: `class,article,option')
+%% tudscr-frontmatter.dtx (with options: `class,article,option')
+%% tudscr-title.dtx (with options: `class,article,option')
+%% tudscr-misc.dtx (with options: `class,article,option')
+%% tudscr-comp.dtx (with options: `class,article,option')
+%% tudscr-base.dtx (with options: `execute')
+%% tudscr-fonts.dtx (with options: `class,body')
+%% tudscr-color.dtx (with options: `class,body')
+%% tudscr-fields.dtx (with options: `class,body')
+%% tudscr-locale.dtx (with options: `class,article,body')
+%% tudscr-pagestyle.dtx (with options: `class,article,body')
+%% tudscr-layout.dtx (with options: `class,article,body')
+%% tudscr-frontmatter.dtx (with options: `class,article,body')
+%% tudscr-title.dtx (with options: `class,article,body')
+%% tudscr-misc.dtx (with options: `class,article,body')
+%% tudscr-comp.dtx (with options: `class,article,body')
+%%
+%% ============================================================================
+%%
+%% TUD-KOMA-Script
+%% Copyright (c) Falk Hanisch <tudscr[at]gmail.com>, 2012-2014
+%%
+%% ============================================================================
+%%
+%% 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 2005/12/01
+%% or later and of this work. This work has the LPPL maintenance status
+%% "author-maintained". The current maintainer and author of this work
+%% is Falk Hanisch.
+%%
+%% ----------------------------------------------------------------------------
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
+%% Version 1.3c, verteilt und/oder veraendert werden. Die neuste Version
+%% dieser Lizenz ist http://www.latex-project.org/lppl.txt und Version 1.3c
+%% ist Teil aller Verteilungen von LaTeX 2005/12/01 oder spaeter und dieses
+%% Werks. Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained",
+%% wird somit allein durch den Autor verwaltet. Der aktuelle Verwalter und
+%% Autor dieses Werkes ist Falk Hanisch.
+%%
+%% ============================================================================
+%%
+%%% From File: tudscr-version.dtx
+\begingroup%
+ \catcode`\@11\relax%
+ \ifx\TUDVersion\undefined%
+ \newcommand*\@TUDVersion[1]{\gdef\TUDVersion{#1}}%
+ \else%
+ \newcommand*\@TUDVersion[1]{%
+ \def\@tempa{#1}%
+ \ifx\TUDVersion\@tempa\else%
+ \@latex@warning@no@line{%
+ \noexpand\TUDVersion\space is `\TUDVersion',\MessageBreak%
+ but `#1' was expected!\MessageBreak%
+ You should not use classes, packages or files from\MessageBreak%
+ different TUD-KOMA-Script-Bundle versions%
+ }%
+ \fi%
+ }%
+ \fi%
+ \@TUDVersion{2014/12/17 v2.02 TUD-KOMA-Script}%
+\endgroup%
+\providecommand*\tudscrmail{tudscr@gmail.com}
+\newcommand*\cls@name{article}
+\newcommand*\scrcls@name{scrartcl}
+\newcommand*\tudcls@name{tudscrartcl}
+\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\ProvidesClass{\tudcls@name}[%
+ 2014/12/17 v2.02 TUD-KOMA-Script
+ document class (\cls@name)%
+]
+\typeout{The Corporate Design of Technische Universitaet Dresden}
+\typeout{Class: \tudcls@name}
+\typeout{Version: \TUDVersion}
+\typeout{Author: Falk Hanisch (\tudscrmail)}
+\typeout{http://latex.wcms-file3.tu-dresden.de/phpBB3/index.php}
+\@ifundefined{TUDScript}{%
+ \DeclareRobustCommand{\TUDScript}{%
+ \ifdin{TUD-KOMA-SCRIPT}{%
+ \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em}\KOMAScript%
+ }\csname xspace\endcsname%
+ }%
+}{}
+%%% From File: tudscr-base.dtx
+\RequirePackage{tudscrbase}[\TUDVersion]
+%%% From File: tudscr-fonts.dtx
+\PreventPackageFromLoading[%
+ \ClassWarning{\tudcls@name}{%
+ The package `tudscrfonts' must not be used with\MessageBreak%
+ a TUD-KOMA-Script class%
+ }
+]{tudscrfonts}
+\newif\if@tud@univers
+\newif\if@tud@dinbold
+\newcommand*\tud@univers{lun}
+\newcommand*\tud@dinbold{0m6}
+\newcommand*\tud@mathenc{OT1}
+\newif\if@tud@fontspec
+\TUD@key@lock{fontspec}[true]{%
+ \TUD@set@ifkey@lock{fontspec}{@tud@fontspec}{#1}%
+}
+\AtEndOfClass{%
+ \TUD@key{fontspec}[]{%
+ \ClassError{\tudcls@name}{Option `fontspec' too late}{%
+ Option `fontspec' can only be set while loading the\MessageBreak%
+ class `\tudcls@name' but you have tried to set it up later.%
+ }%
+ \FamilyKeyStateProcessed%
+ }%
+}
+\AtEndPreamble{%
+ \@expandtwoargs\in@{OT}{\encodingdefault}%
+ \ifin@%
+ \def\tud@mathenc{OT1}%
+ \else%
+ \def\tud@mathenc{T1}%
+ \fi%
+ \if@tud@fontspec%
+ \edef\@tempa{%
+ \lowercase{\noexpand\InputIfFileExists{\tud@mathenc\tud@univers.fd}}%
+ }%
+ \def\@tempb#1{%
+ \ClassInfoNoLine{\tudcls@name}{%
+ `#1' fonts not found for math typesetting%
+ }%
+ }%
+ \else%
+ \edef\@tempa{%
+ \lowercase{\noexpand\InputIfFileExists{\encodingdefault\tud@univers.fd}}%
+ }%
+ \def\@tempb#1{%
+ \ClassWarningNoLine{\tudcls@name}{%
+ `#1' fonts not found. Please use on of the\MessageBreak%
+ installation scripts out of the tudscr-bundle,\MessageBreak%
+ which suits to your OS. A fallback layout is used%
+ }%
+ }%
+ \fi%
+ \@tempa{\@tud@universtrue}{\@tempb{Univers}}%
+ \if@tud@fontspec%
+ \edef\@tempa{%
+ \lowercase{\noexpand\InputIfFileExists{\tud@mathenc\tud@dinbold.fd}}%
+ }%
+ \else%
+ \edef\@tempa{%
+ \lowercase{\noexpand\InputIfFileExists{\encodingdefault\tud@dinbold.fd}}%
+ }%
+ \fi%
+ \@tempa{\@tud@dinboldtrue}{\@tempb{DIN Bold}}%
+ \if@tud@fontspec%
+ \if@tud@univers\if@tud@dinbold%
+ \PassOptionsToPackage{no-math}{fontspec}%
+ \fi\fi%
+ \RequirePackage{fontspec}[2014/06/21]%
+ \fi%
+}
+\RequirePackage{textcase}[2004/10/07]
+\patchcmd{\@uclcnotmath}{\@nonchangecase\ensuremath}{%
+ \@nonchangecase\ensuremath%
+ \def\footnote##1##{\toks@{\noexpand\footnote##1}\@footnote}%
+ \def\@footnote##1{\NoCaseChange{\the\toks@{##1}}}%
+}{}{\tud@patch@wrn{@uclcnotmath}}%
+\newcommand*\tud@cdfont{0}
+\TUD@key{cdfont}[true]{%
+ \TUD@set@numkey{cdfont}{tud@cdfont}{%
+ \TUD@numkey@bool,%
+ {light}{1},{lightfont}{1},{lite}{1},{litefont}{1},{noheavyfont}{1},%
+ {heavy}{2},{heavyfont}{2},%
+ {nodin}{3},{nodinbold}{3},{noDIN}{3},{noDINBold}{3},%
+ {din}{4},{dinbold}{4},{DIN}{4},{DINBold}{4},%
+ {barfont}{5},{litebar}{5},{barlite}{5},{lightbar}{5},{barlight}{5},%
+ {barfontlite}{5},{litebarfont}{5},{barfontlight}{5},{lightbarfont}{5},%
+ {noheavybarfont}{5},{barfontnoheavy}{5},%
+ {heavybar}{6},{barheavy}{6},{barfontheavy}{6},{heavybarfont}{6},%
+ {serifmath}{7},{serif}{7},{nosansmath}{7},{nosans}{7},%
+ {sansmath}{8},{sans}{8},%
+ {upgreek}{9},{uprightgreek}{9},{uprightGreek}{9},%
+ {slgreek}{10},{slantedgreek}{10},{slantedGreek}{10},%
+ {fontspec}{11},{luatex}{11},{lualatex}{11}{xetex}{11},{xelatex}{11},%
+ {nofontspec}{12},{pdftex}{12},{pdflatex}{12}%
+ }{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \ifcase \tud@cdfont\relax%
+ \TUDoptions{cdfonts=false}%
+ \TUD@std@numkey@lock{barfont}{false}%
+ \or%
+ \TUDoptions{cdfonts=true}%
+ \TUDoptions{heavyfont=false}%
+ \TUD@std@numkey@lock{barfont}{true}%
+ \or%
+ \TUDoptions{cdfonts=true}%
+ \TUDoptions{heavyfont=true}%
+ \TUD@std@numkey@lock{barfont}{heavy}%
+ \or%
+ \TUDoptions{din=false}%
+ \or%
+ \TUDoptions{din=true}%
+ \or%
+ \TUDoptions{barfont=true}%
+ \or%
+ \TUDoptions{barfont=heavy}%
+ \or%
+ \TUDoptions{sansmath=false}%
+ \or%
+ \TUDoptions{sansmath=true}%
+ \or%
+ \TUDoptions{slantedgreek=false}%
+ \or%
+ \TUDoptions{slantedgreek=true}%
+ \or%
+ \TUDoptions{fontspec=true}%
+ \or%
+ \TUDoptions{fontspec=false}%
+ \fi%
+ \fi%
+}
+\newif\if@tud@cdfonts
+\TUD@key{cdfonts}[true]{%
+ \TUD@set@ifkey{cdfonts}{@tud@cdfonts}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@tud@cdfonts%
+ \if@atdocument\tud@font@cdfonts\fi%
+ \TUD@std@ifkey@lock{sansmath}{true}%
+ \TUD@std@ifkey@lock{slantedgreek}{true}%
+ \else%
+ \if@atdocument%
+ \tud@cmd@restore{rmdefault}%
+ \tud@cmd@restore{sfdefault}%
+ \tud@cmd@restore{ttdefault}%
+ \tud@cmd@restore{bfdefault}%
+ \tud@cmd@restore{mddefault}%
+ \tud@cmd@restore{itdefault}%
+ \tud@cmd@restore{familydefault}%
+ \tud@cmd@restore{seriesdefault}%
+ \tud@cmd@restore{shapedefault}%
+ \normalfont\selectfont%
+ \fi%
+ \TUD@std@ifkey@lock{sansmath}{false}%
+ \TUD@std@ifkey@lock{slantedgreek}{false}%
+ \fi%
+ \if@atdocument\tud@layout@process\fi%
+ \fi%
+}
+\newif\if@tud@heavyfont
+\TUD@key{heavyfont}[true]{%
+ \TUD@set@ifkey{heavyfont}{@tud@heavyfont}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@atdocument\tud@font@cdfonts\fi%
+ \fi%
+}
+\newcommand*\tud@barfont{0}
+\TUD@key@lock{barfont}[true]{%
+ \TUD@set@numkey@lock{barfont}{tud@barfont}{%
+ \TUD@numkey@bool,%
+ {cd}{1},{cdfont}{1},{cdfonts}{1},{tudfonts}{1},%
+ {light}{1},{lightfont}{1},{lite}{1},{litefont}{1},{noheavyfont}{1},%
+ {heavy}{2},{heavyfont}{2}%
+ }{#1}%
+}
+\newif\if@tud@din\@tud@dintrue
+\TUD@ifkey{din}{@tud@din}
+\newif\if@tud@sansmath
+\TUD@key@lock{sansmath}[true]{%
+ \TUD@set@ifkey@lock{sansmath}{@tud@sansmath}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@atdocument\tud@font@mathfonts\fi%
+ \fi%
+}
+\newif\if@tud@slantedgreek
+\TUD@key@lock{slantedgreek}[true]{%
+ \TUD@set@ifkey@lock{slantedgreek}{@tud@slantedgreek}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@atdocument\tud@font@mathfonts\fi%
+ \fi%
+}
+%%% From File: tudscr-pagestyle.dtx
+\newcommand*\tud@ddc@switch{}
+\edef\tud@ddc@switch{%
+ \TUD@numkey@bool,%
+ {color}{2},{colour}{2},%
+ {colorblack}{3},{colourblack}{3},%
+ {gray}{4},{grey}{4},{cdgray}{4},%
+ {black}{5},%
+ {blue}{6},{cddarkblue}{6},%
+ {white}{7}%
+}
+\newcommand*\tud@ddc@save{}
+\newif\if@tud@ddc@save
+\@tud@ddc@savetrue
+\newcommand*\tud@ddc{0}
+\newif\if@tud@ddc@autoset
+\TUD@key{ddc}[true]{%
+ \TUD@set@numkey{ddc}{tud@ddc}{\tud@ddc@switch}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \tud@ifinpslist{\@nameuse{currentpagestyle}}{\clearpage}{}%
+ \ifcase \tud@ddc\relax%
+ \@tud@ddc@autosetfalse%
+ \else%
+ \@tud@ddc@autosettrue%
+ \fi%
+ \if@atdocument\expandafter\pagestyle\expandafter{\currentpagestyle}\fi%
+ \fi%
+}
+\newcommand*\tud@ddc@head{0}
+\TUD@key{ddchead}[true]{%
+ \if@tud@ddc@save\let\tud@ddc@save\tud@ddc@head\fi%
+ \TUD@set@numkey{ddchead}{tud@ddc@head}{\tud@ddc@switch}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@tud@ddc@save%
+ \begingroup%
+ \let\tud@ddc@head\tud@ddc@save%
+ \tud@ifinpslist{\@nameuse{currentpagestyle}}{\clearpage}{}%
+ \endgroup%
+ \fi%
+ \ifcase \tud@ddc@head\relax\else%
+ \@tud@ddc@savefalse%
+ \TUDoptions{ddc=false}%
+ \TUDoptions{ddcfoot=false}%
+ \@tud@ddc@savetrue%
+ \fi%
+ \fi%
+}
+\newcommand*\tud@ddc@foot{0}
+\TUD@key{ddcfoot}[true]{%
+ \if@tud@ddc@save\let\tud@ddc@save\tud@ddc@foot\fi%
+ \TUD@set@numkey{ddcfoot}{tud@ddc@foot}{\tud@ddc@switch}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@tud@ddc@save%
+ \begingroup%
+ \let\tud@ddc@foot\tud@ddc@save%
+ \tud@ifinpslist{\@nameuse{currentpagestyle}}{\clearpage}{}%
+ \endgroup%
+ \fi%
+ \ifcase \tud@ddc@foot\relax\else%
+ \@tud@ddc@savefalse%
+ \TUDoptions{ddc=false}%
+ \TUDoptions{ddchead=false}%
+ \@tud@ddc@savetrue%
+ \fi%
+ \fi%
+}
+\newcommand*\tud@ddc@check{%
+ \let\@tempa\tud@ddc@head%
+ \let\@tempb\tud@ddc@foot%
+ \if@tud@ddc@autoset%
+ \ifx\tud@@headlogo\@empty%
+ \let\@tempa\tud@ddc%
+ \let\@tempb\z@%
+ \else%
+ \let\@tempa\z@%
+ \let\@tempb\tud@ddc%
+ \fi%
+ \fi%
+}
+\newcommand*\tud@ifinpslist[3]{\xifinlist{#1}{\tud@pslist}{#2}{#3}}
+\newcommand*\tud@pslist{}
+\forcsvlist{\listadd\tud@pslist}{%
+ tudheadings,plain.tudheadings,empty.tudheadings%
+}
+\newif\if@tud@widehead
+\TUD@key@lock{widehead}[true]{%
+ \TUD@set@ifkey@lock{widehead}{@tud@widehead}{#1}%
+}
+\newif\if@tud@cdfoot
+\TUD@key{cdfoot}[true]{%
+ \TUD@set@ifkey{cdfoot}{@tud@cdfoot}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@atdocument%
+ \if@tud@cdfoot%
+ \tud@ps@store{headings}%
+ \tud@ps@store{plain}%
+ \tud@font@koma@set{pageheadfoot}{\upshape}%
+ \clearpairofpagestyles%
+ \ofoot[\pagemark]{%
+ \if@twoside\ifodd\value{page}\else\pagemark\quad\fi\fi%
+ {\footnotesize\headmark}%
+ \if@twoside\ifodd\value{page}\quad\pagemark\fi\else\quad\pagemark\fi%
+ }%
+ \else%
+ \tud@ps@restore{headings}%
+ \tud@ps@restore{plain}%
+ \tud@font@koma@unset{pageheadfoot}%
+ \fi%
+ \fi%
+ \fi%
+}
+\newcommand*\tud@ps@store[1]{%
+ \tud@@ps@store{#1}{odd}{left}{head}{}%
+ \tud@@ps@store{#1}{odd}{right}{head}{}%
+ \tud@@ps@store{#1}{odd}{middle}{head}{}%
+ \tud@@ps@store{#1}{even}{left}{head}{}%
+ \tud@@ps@store{#1}{even}{right}{head}{}%
+ \tud@@ps@store{#1}{even}{middle}{head}{}%
+ \tud@@ps@store{#1}{odd}{left}{foot}{}%
+ \tud@@ps@store{#1}{odd}{right}{foot}{}%
+ \tud@@ps@store{#1}{odd}{middle}{foot}{}%
+ \tud@@ps@store{#1}{even}{left}{foot}{}%
+ \tud@@ps@store{#1}{even}{right}{foot}{}%
+ \tud@@ps@store{#1}{even}{middle}{foot}{}%
+}
+\newcommand*\tud@@ps@store[4]{%
+ \ifcsdef{@@tud@ps@#1@#2@#3@#4}{}{%
+ \csletcs{@@tud@ps@#1@#2@#3@#4}{sls@ps@\@nameuse{sls@current#1}@#2@#3@#4}%
+ }%
+}
+\newcommand*\tud@ps@restore[1]{%
+ \tud@@ps@restore{#1}{odd}{left}{head}{}%
+ \tud@@ps@restore{#1}{odd}{right}{head}{}%
+ \tud@@ps@restore{#1}{odd}{middle}{head}{}%
+ \tud@@ps@restore{#1}{even}{left}{head}{}%
+ \tud@@ps@restore{#1}{even}{right}{head}{}%
+ \tud@@ps@restore{#1}{even}{middle}{head}{}%
+ \tud@@ps@restore{#1}{odd}{left}{foot}{}%
+ \tud@@ps@restore{#1}{odd}{right}{foot}{}%
+ \tud@@ps@restore{#1}{odd}{middle}{foot}{}%
+ \tud@@ps@restore{#1}{even}{left}{foot}{}%
+ \tud@@ps@restore{#1}{even}{right}{foot}{}%
+ \tud@@ps@restore{#1}{even}{middle}{foot}{}%
+}
+\newcommand*\tud@@ps@restore[4]{%
+ \ifcsdef{@@tud@ps@#1@#2@#3@#4}{%
+ \csletcs{sls@ps@\@nameuse{sls@current#1}@#2@#3@#4}{@@tud@ps@#1@#2@#3@#4}%
+ \csundef{@@tud@ps@#1@#2@#3@#4}%
+ }%
+}
+\AtBeginDocument{\if@tud@cdfoot\TUDoptions{cdfoot=true}\fi}
+\newcommand*\tud@geometry{0}
+\TUD@key@lock{geometry}[true]{%
+ \TUD@set@numkey@lock{geometry}{tud@geometry}{%
+ \TUD@numkey@bool,%
+ {typearea}{0},%
+ {tud}{1},{asymmetric}{1},{cd}{1},%
+ {symmetric}{2},{centred}{2},{centered}{2},%
+ {twoside}{3},{balanced}{3}%
+ }{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@atdocument\recalctypearea\fi%
+ \fi%
+}
+%%% From File: tudscr-layout.dtx
+\newcommand*\tud@head@color{black}
+\newcommand*\tud@cd{0}
+\csdef@lock{tud@layout@cover}{0}
+\csdef@lock{tud@layout@title}{0}
+\csdef@lock{tud@layout@part}{0}
+\newcommand*\tud@layout@switch{}
+\edef\tud@layout@switch{%
+ \TUD@numkey@bool,%
+ {simple}{1},{std}{1},{standard}{1},{mono}{1},{monochrom}{1},%
+ {lite}{2},{colorlite}{2},{litecolor}{2},{colourlite}{2},{litecolour}{2},%
+ {light}{2},{colorlight}{2},{lightcolor}{2},{colourlight}{2},{lightcolour}{2},%
+ {pale}{2},{colorpale}{2},{palecolor}{2},{colourpale}{2},{palecolour}{2},%
+ {full}{3},{colorfull}{3},{fullcolor}{3},{colourfull}{3},{fullcolour}{3},%
+ {color}{3},{colour}{3}%
+}
+\TUD@key{cd}[true]{%
+ \TUD@set@numkey{cd}{tud@cd}{\tud@layout@switch}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \def\tud@head@color{black}%
+ \ifcase \tud@cd\relax%
+ \csstd@lock{tud@layout@cover}{0}%
+ \csstd@lock{tud@layout@title}{0}%
+ \csstd@lock{tud@layout@part}{0}%
+ \or%
+ \csstd@lock{tud@layout@cover}{1}%
+ \csstd@lock{tud@layout@title}{1}%
+ \csstd@lock{tud@layout@part}{1}%
+ \or%
+ \def\tud@head@color{HKS41}%
+ \csstd@lock{tud@layout@cover}{1}%
+ \csstd@lock{tud@layout@title}{2}%
+ \csstd@lock{tud@layout@part}{2}%
+ \or%
+ \def\tud@head@color{HKS41}%
+ \csstd@lock{tud@layout@cover}{1}%
+ \csstd@lock{tud@layout@title}{3}%
+ \csstd@lock{tud@layout@part}{2}%
+ \fi%
+ \if@atdocument%
+ \tud@layout@process%
+ \else%
+ \ifcase \tud@cd\relax%
+ \TUD@std@numkey@lock{geometry}{false}%
+ \else%
+ \TUD@std@numkey@lock{geometry}{true}%
+ \fi%
+ \fi%
+ \fi%
+}
+\TUD@key{cdcover}[true]{%
+ \TUD@set@numkey{cdcover}{@tempa}{\tud@layout@switch}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \ifcase \@tempa\relax%
+ \csset@lock{tud@layout@cover}{0}%
+ \or%
+ \csset@lock{tud@layout@cover}{1}%
+ \or%
+ \csset@lock{tud@layout@cover}{2}%
+ \or%
+ \csset@lock{tud@layout@cover}{3}%
+ \fi%
+ \if@atdocument\tud@layout@process\fi%
+ \fi%
+}
+\TUD@key{cdtitle}[true]{%
+ \TUD@set@numkey{cdtitle}{@tempa}{\tud@layout@switch}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \ifcase \@tempa\relax%
+ \csset@lock{tud@layout@title}{0}%
+ \or%
+ \csset@lock{tud@layout@title}{1}%
+ \or%
+ \csset@lock{tud@layout@title}{2}%
+ \or%
+ \csset@lock{tud@layout@title}{3}%
+ \fi%
+ \if@atdocument\tud@layout@process\fi%
+ \fi%
+}
+\TUD@key{cdpart}[true]{%
+ \TUD@set@numkey{cdpart}{@tempa}{\tud@layout@switch}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \ifcase \@tempa\relax%
+ \csset@lock{tud@layout@part}{0}%
+ \or%
+ \csset@lock{tud@layout@part}{1}%
+ \or%
+ \csset@lock{tud@layout@part}{2}%
+ \or%
+ \csset@lock{tud@layout@part}{2}%
+ \fi%
+ \if@atdocument\tud@layout@process\fi%
+ \fi%
+}
+\DefineFamilyMember{KOMA}
+\DefineFamilyKey{KOMA}{headings}{%
+ \AtEndOfFamilyOptions{%
+ \let\tud@font@heading@size\size@part%
+ \tud@layout@process%
+ \ifcase \tud@layout@part\relax\else%
+ \tud@font@koma@reset{part}%
+ \tud@font@koma@reset{partnumber}%
+ \tud@font@koma@reset{section}%
+ \tud@font@koma@reset{subsection}%
+ \tud@font@koma@reset{subsubsection}%
+ \tud@font@koma@reset{minisec}%
+ \fi%
+ }%
+}
+%%% From File: tudscr-frontmatter.dtx
+\newcommand*\tud@fm@switch{%
+ {section}{2},{sect}{2},{sec}{2},{addsec}{2},%
+ {new}{2},{std}{2},{heading}{2},%
+ {totoc}{4},{toc}{4},{totoclevelup}{4},{toclevelup}{4},{levelup}{4},%
+ {totocleveldown}{5},{tocleveldown}{5},{leveldown}{5},%
+ {nottotoc}{6},{notoc}{6},%
+ {markboth}{7},{mark}{7},%
+ {nomarkboth}{8},{nomark}{8},%
+ {one}{9},{simple}{9},{single}{9},%
+ {multi}{10},{multiple}{10},{all}{10},{two}{10},{both}{10},{double}{10},%
+ {nofil}{11},{nofill}{11},{novfil}{11},{novfill}{11},%
+ {fil}{12},{fill}{12},{vfil}{12},{vfill}{12}%
+}
+\newcommand*\tud@abstract@level{0}
+\newbool@lock{@tud@abstract@toc}
+\newif\if@tud@abstract@toc@leveldown
+\newif\if@tud@abstract@markboth
+\newif\if@tud@abstract@multi
+\newif\if@tud@abstract@fil
+\@tud@abstract@filtrue
+\TUD@key{abstract}[true]{%
+ \edef\@tempb{\TUD@numkey@bool,\tud@fm@switch}%
+ \TUD@set@numkey{abstract}{@tempa}{\@tempb}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \ifcase \@tempa\relax%
+ \def\tud@abstract@level{0}%
+ \stdbool@lock{@tud@abstract@toc}{false}%
+ \or%
+ \def\tud@abstract@level{1}%
+ \stdbool@lock{@tud@abstract@toc}{false}%
+ \or%
+ \def\tud@abstract@level{2}%
+ \stdbool@lock{@tud@abstract@toc}{true}%
+ \or%
+ \or%
+ \setbool@lock{@tud@abstract@toc}{true}%
+ \@tud@abstract@toc@leveldownfalse%
+ \or%
+ \setbool@lock{@tud@abstract@toc}{true}%
+ \@tud@abstract@toc@leveldowntrue%
+ \or%
+ \setbool@lock{@tud@abstract@toc}{false}%
+ \or%
+ \@tud@abstract@markbothtrue%
+ \or%
+ \@tud@abstract@markbothfalse%
+ \or%
+ \@tud@abstract@multifalse%
+ \or%
+ \@tud@abstract@multitrue%
+ \or%
+ \@tud@abstract@filfalse%
+ \or%
+ \@tud@abstract@filtrue%
+ \fi%
+ \fi%
+}
+\newcommand*\tud@declaration@level{1}
+\newbool@lock{@tud@declaration@toc}
+\newif\if@tud@declaration@toc@leveldown
+\newif\if@tud@declaration@markboth
+\newif\if@tud@declaration@multi
+\@tud@declaration@multitrue
+\newif\if@tud@declaration@fil
+\@tud@declaration@filtrue
+\TUD@key{declaration}[true]{%
+ \edef\@tempb{\TUD@numkey@bool,\tud@fm@switch}%
+ \TUD@set@numkey{declaration}{@tempa}{\@tempb}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \ifcase \@tempa\relax%
+ \def\tud@declaration@level{0}%
+ \stdbool@lock{@tud@declaration@toc}{false}%
+ \or%
+ \def\tud@declaration@level{1}%
+ \stdbool@lock{@tud@declaration@toc}{false}%
+ \or%
+ \def\tud@declaration@level{2}%
+ \stdbool@lock{@tud@declaration@toc}{true}%
+ \or%
+ \or%
+ \stdbool@lock{@tud@declaration@toc}{true}%
+ \@tud@declaration@toc@leveldownfalse%
+ \or%
+ \stdbool@lock{@tud@declaration@toc}{true}%
+ \@tud@declaration@toc@leveldowntrue%
+ \or%
+ \stdbool@lock{@tud@declaration@toc}{false}%
+ \or%
+ \@tud@declaration@markbothtrue%
+ \or%
+ \@tud@declaration@markbothfalse%
+ \or%
+ \@tud@declaration@multifalse%
+ \or%
+ \@tud@declaration@multitrue%
+ \or%
+ \@tud@declaration@filfalse%
+ \or%
+ \@tud@declaration@filtrue%
+ \fi%
+ \fi%
+}
+%%% From File: tudscr-title.dtx
+\newif\if@tud@subjectthesis
+\TUD@key@lock{subjectthesis}[true]{%
+ \TUD@set@ifkey@lock{subjectthesis}{@tud@subjectthesis}{#1}%
+}
+%%% From File: tudscr-misc.dtx
+\newif\if@tud@symbolheadings
+\TUD@key{footnotes}{%
+ \TUD@set@numkey{footnotes}{@tempa}{%
+ {nosymbolheadings}{0},{numberheadings}{0},%
+ {symbolheadings}{1}%
+ }{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \ifcase \@tempa\relax%
+ \@tud@symbolheadingsfalse%
+ \or%
+ \@tud@symbolheadingstrue%
+ \fi%
+ \fi%
+}
+\newif\if@tud@bookmarks
+\TUD@ifkey{tudbookmarks}{@tud@bookmarks}
+%%% From File: tudscr-comp.dtx
+\TUD@key{color}[true]{%
+ \TUD@set@numkey{color}{@tempa}{%
+ \TUD@numkey@bool,%
+ {simple}{0},{std}{0},{standard}{0},{mono}{0},{monochrom}{0},%
+ {color}{1},{colour}{1},{full}{1},%
+ {colorfull}{1},{fullcolor}{1},{colourfull}{1},{fullcolour}{1},%
+ {lite}{2},{colorlite}{2},{litecolor}{2},{colourlite}{2},{litecolour}{2},%
+ {light}{2},{colorlight}{2},{lightcolor}{2},{colorpale}{2},{palecolor}{2},%
+ {pale}{2},{colourlight}{2},{lightcolour}{2},{colourpale}{2},{palecolour}{2}%
+ }{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \ifcase \@tempa\relax%
+ \TUDoptions{cd=true}%
+ \or%
+ \TUDoptions{cd=color}%
+ \or%
+ \TUDoptions{cd=lite}%
+ \fi%
+ \fi%
+}
+\TUD@key{colour}[true]{\TUDoptions{color=#1}\FamilyKeyStateProcessed}
+\TUD@key{tudfonts}[true]{%
+ \TUD@set@ifkey{tudfonts}{@tempswa}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@tempswa%
+ \TUDoptions{cdfont=true}%
+ \else%
+ \TUDoptions{cdfont=false}%
+ \fi%
+ \fi%
+}
+\TUD@key{tudfoot}[true]{%
+ \TUD@set@ifkey{tudfoot}{@tempswa}{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@tempswa%
+ \TUDoptions{cdfoot=true}%
+ \else%
+ \TUDoptions{cdfoot=false}%
+ \fi%
+ \fi%
+}
+\newcommand*\tudscr@v@comp{\tudscr@v@last}
+\TUD@key{tudscrver}[last]{%
+ \scr@ifundefinedorrelax{tudscr@v@#1}{%
+ \def\tudscr@v@comp{0}%
+ \ClassWarningNoLine{\tudcls@name}{%
+ You have set option `tudscrver' to `#1', but\MessageBreak%
+ this value of version is not supported.\MessageBreak%
+ Because of this, version was set to `first'%
+ }%
+ \FamilyKeyStateProcessed%
+ }{%
+ \ClassInfoNoLine{\tudcls@name}{%
+ Switching compatibility level to `#1'%
+ }%
+ \edef\tudscr@v@comp{\@nameuse{tudscr@v@#1}}%
+ \FamilyKeyStateProcessed%
+ }%
+}
+\AtEndOfClass{%
+ \TUD@key{tudscrver}[]{%
+ \ClassError{\tudcls@name}{Option `tudscrver' too late}{%
+ Option `tudscrver' can only be set while loading the\MessageBreak%
+ class `\tudcls@name' but you have tried to set it up later.%
+ }%
+ \FamilyKeyStateProcessed%
+ }%
+ \ifcsdef{scr@v@3.12}{%
+ \ifnum\scr@compatibility<\@nameuse{scr@v@3.12}\relax%
+ \ClassError{\tudcls@name}{%
+ KOMA-Script compatibility level too low%
+ }{%
+ \TUDVersion\space has to be used at least with\MessageBreak%
+ KOMA-Script `version=v3.12'%
+ }%
+ \fi%
+ }{%
+ \ClassError{\tudcls@name}{%
+ outdated version of KOMA-Script%
+ }{%
+ \TUDVersion\space has to be used with KOMA-Script v3.12 or newer%
+ }%
+ }%
+}
+\@namedef{tudscr@v@first}{0}
+\@namedef{tudscr@v@2.02}{0}
+\@namedef{tudscr@v@last}{0}
+%%% From File: tudscr-base.dtx
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\scrcls@name}}
+\TUDExecuteOptions{\TUDDefaultOptions}
+\TUDProcessOptions\relax
+\LoadClass{\scrcls@name}[2013/12/19]
+\RequirePackage{environ}[2013/04/01]
+\AtEndPreamble{%
+ \@ifpackageloaded{graphicx}{}{%
+ \@ifpackageloaded{graphics}{%
+ \ClassWarningNoLine{\tudcls@name}{%
+ The package `graphics' was superseded by `graphicx'%
+ }%
+ }{}%
+ }%
+ \RequirePackage{graphicx}[1999/02/16]%
+ \RequirePackage{tudscrcolor}[\TUDVersion]%
+}
+%%% From File: tudscr-fonts.dtx
+\AtEndPreamble{%
+ \if@tud@fontspec%
+ \newfontface\univln[NFSSFamily=UniversLight]{Univers Light}%
+ \newfontface\univrn[NFSSFamily=UniversRegular]{Univers}%
+ \newfontface\univbn[NFSSFamily=UniversBold]{Univers Bold}%
+ \newfontface\univxn[NFSSFamily=UniversBlack]{Univers Black}%
+ \newfontface\univls[NFSSFamily=UniversLightOblique]{Univers Light Oblique}%
+ \newfontface\univrs[NFSSFamily=UniversRegularOblique]{Univers Oblique}%
+ \newfontface\univbs[NFSSFamily=UniversBoldOblique]{Univers Bold Oblique}%
+ \newfontface\univxs[NFSSFamily=UniversBlackOblique]{Univers Black Oblique}%
+ \newcommand*\textuln[1]{{\univln#1}}
+ \newcommand*\texturn[1]{{\univrn#1}}
+ \newcommand*\textubn[1]{{\univbn#1}}
+ \newcommand*\textuxn[1]{{\univxn#1}}
+ \newcommand*\textuls[1]{{\univls#1}}
+ \newcommand*\texturs[1]{{\univrs#1}}
+ \newcommand*\textubs[1]{{\univbs#1}}
+ \newcommand*\textuxs[1]{{\univxs#1}}
+ \else%
+ \if@tud@univers%
+ \newcommand*\univln{\usefont{\encodingdefault}{\tud@univers}{l}{n}}%
+ \newcommand*\univrn{\usefont{\encodingdefault}{\tud@univers}{m}{n}}%
+ \newcommand*\univbn{\usefont{\encodingdefault}{\tud@univers}{b}{n}}%
+ \newcommand*\univxn{\usefont{\encodingdefault}{\tud@univers}{eb}{n}}%
+ \newcommand*\univls{\usefont{\encodingdefault}{\tud@univers}{l}{sl}}%
+ \newcommand*\univrs{\usefont{\encodingdefault}{\tud@univers}{m}{sl}}%
+ \newcommand*\univbs{\usefont{\encodingdefault}{\tud@univers}{b}{sl}}%
+ \newcommand*\univxs{\usefont{\encodingdefault}{\tud@univers}{eb}{sl}}%
+ \else%
+ \newcommand*\univln{}%
+ \newcommand*\univrn{}%
+ \newcommand*\univbn{}%
+ \newcommand*\univxn{}%
+ \newcommand*\univls{}%
+ \newcommand*\univrs{}%
+ \newcommand*\univbs{}%
+ \newcommand*\univxs{}%
+ \fi%
+ \newcommand*\textuln{}%
+ \newcommand*\texturn{}%
+ \newcommand*\textubn{}%
+ \newcommand*\textuxn{}%
+ \newcommand*\textuls{}%
+ \newcommand*\texturs{}%
+ \newcommand*\textubs{}%
+ \newcommand*\textuxs{}%
+ \DeclareTextFontCommand{\textuln}{\univln}%
+ \DeclareTextFontCommand{\texturn}{\univrn}%
+ \DeclareTextFontCommand{\textubn}{\univbn}%
+ \DeclareTextFontCommand{\textuxn}{\univxn}%
+ \DeclareTextFontCommand{\textuls}{\univls}%
+ \DeclareTextFontCommand{\texturs}{\univrs}%
+ \DeclareTextFontCommand{\textubs}{\univbs}%
+ \DeclareTextFontCommand{\textuxs}{\univxs}%
+ \fi%
+ \if@tud@fontspec%
+ \newfontface\@dinbn{DIN Bold}[BoldFont = DIN Bold]%
+ \newcommand*\dinbn{\@dinbn\if@tud@dinbold\mathversion{dinbold}\fi}%
+ \newcommand*\textdbn[1]{{\dinbn#1}}
+ \else%
+ \if@tud@dinbold%
+ \newcommand*\dinbn{%
+ \usefont{\encodingdefault}{\tud@dinbold}{b}{n}%
+ \mathversion{dinbold}%
+ }%
+ \else%
+ \let\dinbn\sectfont%
+ \fi%
+ \newcommand*\textdbn{}%
+ \DeclareTextFontCommand{\textdbn}{\dinbn}
+ \fi%
+ \DeclareMathVersion{univers}
+ \DeclareMathVersion{universbold}
+ \SetSymbolFont{operators}{univers}{OT1}{\tud@univers}{l}{n}
+ \SetSymbolFont{letters}{univers}{OML}{\tud@univers}{l}{sl}
+ \SetSymbolFont{symbols}{univers}{OMS}{\tud@univers}{l}{n}
+ \SetSymbolFont{largesymbols}{univers}{OMX}{iwona}{m}{n}
+ \SetSymbolFont{operators}{universbold}{OT1}{\tud@univers}{b}{n}
+ \SetSymbolFont{letters}{universbold}{OML}{\tud@univers}{b}{sl}
+ \SetSymbolFont{symbols}{universbold}{OMS}{\tud@univers}{b}{n}
+ \SetSymbolFont{largesymbols}{universbold}{OMX}{iwona}{b}{n}
+ \SetMathAlphabet{\mathbf}{univers}{\tud@mathenc}{\tud@univers}{b}{n}
+ \SetMathAlphabet{\mathsf}{univers}{\tud@mathenc}{\tud@univers}{l}{n}
+ \SetMathAlphabet{\mathit}{univers}{\tud@mathenc}{\tud@univers}{l}{sl}
+ \SetMathAlphabet{\mathtt}{univers}{\tud@mathenc}{\tud@univers t}{l}{n}
+ \SetMathAlphabet{\mathbf}{universbold}{\tud@mathenc}{\tud@univers}{eb}{n}
+ \SetMathAlphabet{\mathsf}{universbold}{\tud@mathenc}{\tud@univers}{b}{n}
+ \SetMathAlphabet{\mathit}{universbold}{\tud@mathenc}{\tud@univers}{b}{sl}
+ \SetMathAlphabet{\mathtt}{universbold}{\tud@mathenc}{\tud@univers t}{b}{n}
+ \DeclareMathVersion{dinbold}
+ \SetSymbolFont{operators}{dinbold}{\tud@mathenc}{\tud@dinbold}{b}{n}
+ \SetSymbolFont{letters}{dinbold}{OML}{\tud@dinbold}{b}{sl}
+ \SetSymbolFont{symbols}{dinbold}{OMS}{\tud@dinbold}{b}{n}
+ \SetSymbolFont{largesymbols}{dinbold}{OMX}{iwona}{ebc}{n}
+ \SetMathAlphabet{\mathbf}{dinbold}{\tud@mathenc}{\tud@dinbold}{b}{n}
+ \SetMathAlphabet{\mathsf}{dinbold}{\tud@mathenc}{\tud@dinbold}{b}{n}
+ \SetMathAlphabet{\mathit}{dinbold}{\tud@mathenc}{\tud@dinbold}{b}{sl}
+ \DeclareMathSymbol{\upDelta}{\mathalpha}{operators}{1}
+ \DeclareMathSymbol{\upOmega}{\mathalpha}{operators}{10}
+ \DeclareMathSymbol{\upGamma}{\mathalpha}{operators}{0}
+ \DeclareMathSymbol{\upDelta}{\mathalpha}{operators}{1}
+ \DeclareMathSymbol{\upTheta}{\mathalpha}{operators}{2}
+ \DeclareMathSymbol{\upLambda}{\mathalpha}{operators}{3}
+ \DeclareMathSymbol{\upXi}{\mathalpha}{operators}{4}
+ \DeclareMathSymbol{\upPi}{\mathalpha}{operators}{5}
+ \DeclareMathSymbol{\upSigma}{\mathalpha}{operators}{6}
+ \DeclareMathSymbol{\upUpsilon}{\mathalpha}{operators}{7}
+ \DeclareMathSymbol{\upPhi}{\mathalpha}{operators}{8}
+ \DeclareMathSymbol{\upPsi}{\mathalpha}{operators}{9}
+ \DeclareMathSymbol{\upOmega}{\mathalpha}{operators}{10}
+ \DeclareMathSymbol{\varGamma}{\mathalpha}{letters}{0}
+ \DeclareMathSymbol{\varDelta}{\mathalpha}{letters}{1}
+ \DeclareMathSymbol{\varTheta}{\mathalpha}{letters}{2}
+ \DeclareMathSymbol{\varLambda}{\mathalpha}{letters}{3}
+ \DeclareMathSymbol{\varXi}{\mathalpha}{letters}{4}
+ \DeclareMathSymbol{\varPi}{\mathalpha}{letters}{5}
+ \DeclareMathSymbol{\varSigma}{\mathalpha}{letters}{6}
+ \DeclareMathSymbol{\varUpsilon}{\mathalpha}{letters}{7}
+ \DeclareMathSymbol{\varPhi}{\mathalpha}{letters}{8}
+ \DeclareMathSymbol{\varPsi}{\mathalpha}{letters}{9}
+ \DeclareMathSymbol{\varOmega}{\mathalpha}{letters}{10}
+}
+\newcommand*\tud@font@cdfonts{%
+ \tud@cmd@store{rmdefault}%
+ \tud@cmd@store{sfdefault}%
+ \tud@cmd@store{ttdefault}%
+ \tud@cmd@store{bfdefault}%
+ \tud@cmd@store{mddefault}%
+ \tud@cmd@store{itdefault}%
+ \tud@cmd@store{familydefault}%
+ \tud@cmd@store{seriesdefault}%
+ \tud@cmd@store{shapedefault}%
+ \if@tud@fontspec%
+ \if@tud@heavyfont%
+ \setsansfont{Univers}[%
+ BoldFont = Univers Bold,%
+ ItalicFont = Univers Oblique,%
+ BoldItalicFont = Univers Bold Oblique,%
+ ]%
+ \setmonofont{LMMono10-Regular}[%
+ BoldFont = LMMonoLt10-Bold,%
+ ItalicFont = LMMonoSlant10-Regular,%
+ BoldItalicFont = LMMonoLt10-BoldOblique,%
+ ]
+ \else%
+ \setsansfont{Univers Light}[%
+ BoldFont = Univers,%
+ ItalicFont = Univers Light Oblique,%
+ BoldItalicFont = Univers Oblique,%
+ ]%
+ \setmonofont{LMMonoLt10-Regular}[%
+ BoldFont = LMMono10-Regular,%
+ ItalicFont = LMMonoLt10-Oblique,%
+ BoldItalicFont = LMMonoSlant10-Regular,%
+ ]%
+ \fi%
+ \else%
+ \if@tud@univers%
+ \renewcommand*\sfdefault{\tud@univers}%
+ \renewcommand*\ttdefault{\tud@univers t}%
+ \if@tud@heavyfont%
+ \renewcommand*\bfdefault{b}%
+ \renewcommand*\mddefault{m}%
+ \else%
+ \renewcommand*\bfdefault{m}%
+ \renewcommand*\mddefault{l}%
+ \fi%
+ \fi%
+ \fi%
+ \renewcommand*\rmdefault{\sfdefault}%
+ \renewcommand*\familydefault{\sfdefault}%
+ \renewcommand*\seriesdefault{\mddefault}%
+ \renewcommand*\shapedefault{\updefault}%
+ \normalfont\selectfont%
+}
+\newcommand*\tud@font@mathfonts{%
+ \if@tud@sansmath\tud@sansmath\else\tud@serifmath\fi%
+ \if@tud@slantedgreek\tud@greek@slanted\else\tud@greek@upright\fi%
+ \mathversion{normal}%
+}
+\newcommand*\tud@sansmath{%
+ \if@tud@univers%
+ \tud@cmd@store{mv@normal}%
+ \tud@cmd@store{mv@bold}%
+ \let\mv@normal\mv@univers%
+ \let\mv@bold\mv@universbold%
+ \mathversion{normal}%
+ \fi%
+}
+\newcommand*\tud@serifmath{%
+ \if@tud@univers%
+ \tud@cmd@restore{mv@normal}%
+ \tud@cmd@restore{mv@bold}%
+ \mathversion{normal}%
+ \fi%
+}
+\newcount\tud@greek@upGamma
+\tud@greek@upGamma\Gamma
+\newcount\tud@greek@offset
+\let\@tempa\relax
+\DeclareMathSymbol{\@tempa}{\mathalpha}{letters}{0}
+\tud@greek@offset\@tempa
+\advance\tud@greek@offset-\Gamma
+\newcommand*\tud@greek@slanted{%
+ \ifnum\Gamma=\tud@greek@upGamma\relax\tud@greek@changeshape\fi%
+}
+\newcommand*\tud@greek@upright{%
+ \ifnum\Gamma>\tud@greek@upGamma%
+ \tud@greek@offset=-\tud@greek@offset%
+ \tud@greek@changeshape%
+ \tud@greek@offset=-\tud@greek@offset%
+ \fi%
+}
+\newcommand*\tud@greek@def[2]{%
+ \expandafter\@tempcnta\csname #1\endcsname%
+ \advance\@tempcnta#2%
+ \expandafter\mathchardef\csname #1\endcsname\@tempcnta%
+}
+\newcommand*\tud@greek@uc{%
+ Gamma,Delta,Theta,Lambda,Xi,Pi,Sigma,Upsilon,Phi,Psi,Omega%
+}
+\newcommand*\tud@greek@changeshape{%
+ \@for\@tempa:=\tud@greek@uc\do{%
+ \@expandtwoargs\tud@greek@def{\@tempa}{\tud@greek@offset}%
+ }%
+}
+\newcommand*\tud@head@font@bold{}
+\newcommand*\tud@head@font@light{}
+\newcommand*\tud@head@font@set{%
+ \DeclareFixedFont{\tud@head@font@bold}{\encodingdefault}%
+ {\sfdefault}{bx}{n}{\tud@head@font@size}%
+ \DeclareFixedFont{\tud@head@font@light}{\encodingdefault}%
+ {\sfdefault}{\mddefault}{n}{\tud@head@font@size}%
+ \ifcase \tud@barfont\relax%
+ \if@tud@cdfonts%
+ \ClassWarning{\tudcls@name}{%
+ It isn't possible to use `barfont=false'\MessageBreak%
+ together with `cdfont=true'%
+ }%
+ \fi%
+ \or%
+ \@tud@cdfontstrue%
+ \def\mddefault{l}%
+ \or%
+ \@tud@cdfontstrue%
+ \def\mddefault{m}%
+ \fi%
+ \if@tud@cdfonts%
+ \if@tud@fontspec%
+ \DeclareFixedFont{\tud@head@font@bold}{\encodingdefault}%
+ {UniversBold}{m}{n}{\tud@head@font@size}%
+ \ifstr{\mddefault}{m}{%
+ \DeclareFixedFont{\tud@head@font@light}{\encodingdefault}%
+ {UniversRegular}{m}{n}{\tud@head@font@size}%
+ }{%
+ \DeclareFixedFont{\tud@head@font@light}{\encodingdefault}%
+ {UniversLight}{m}{n}{\tud@head@font@size}%
+ }%
+ \else%
+ \if@tud@univers%
+ \DeclareFixedFont{\tud@head@font@bold}{\encodingdefault}%
+ {\tud@univers}{b}{n}{\tud@head@font@size}%
+ \DeclareFixedFont{\tud@head@font@light}{\encodingdefault}%
+ {\tud@univers}{\mddefault}{n}{\tud@head@font@size}%
+ \fi%
+ \fi%
+ \fi%
+}
+\newrobustcmd*\ifdin{%
+ \@tempswafalse
+ \@expandtwoargs\in@{DINBold}{\f@family}%
+ \ifin@\@tempswatrue\fi%
+ \ifx\f@family\tud@dinbold\relax\@tempswatrue\fi%
+ \if@tempswa
+ \expandafter\@firstoftwo%
+ \else%
+ \expandafter\@secondoftwo%
+ \fi%
+}
+\AtBeginDocument{%
+ \if@tud@cdfonts\tud@font@cdfonts\fi%
+ \tud@font@mathfonts%
+}
+\AfterPackage*{amsfonts}{%
+ \DeclareFontFamily{U}{msa}{}%
+ \DeclareFontShape{U}{msa}{m}{n}{%
+ <-9>cmbras8%
+ <9-10>cmbras9%
+ <10->cmbras10%
+ }{}%
+ \DeclareFontFamily{U}{msb}{}%
+ \DeclareFontShape{U}{msb}{m}{n}{%
+ <-9>cmbrbs8%
+ <9-10>cmbrbs9%
+ <10->cmbrbs10%
+ }{}%
+}
+\newcommand*\tud@raggedright{\raggedright}
+\newcommand*\tud@RaggedRight{\raggedright}
+\AfterPackage*{ragged2e}{%
+ \ifdef{\LaTeXraggedright}{%
+ \renewcommand*\tud@raggedright{\LaTeXraggedright}%
+ }{}%
+ \renewcommand*\tud@RaggedRight{\RaggedRight}%
+}
+%%% From File: tudscr-color.dtx
+\newcommand*\tud@pagecolor[1]{}
+\newcommand*\tud@restorepagecolor{}
+\AfterPackage{tudscrcolor}{%
+ \providecommand*\nopagecolor{\pagecolor{white}}%
+ \let\tud@pagecolor\pagecolor%
+ \let\tud@restorepagecolor\nopagecolor%
+ \AfterPackage*{pagecolor}{%
+ \let\tud@pagecolor\newpagecolor%
+ \let\tud@restorepagecolor\restorepagecolor%
+ }%
+}
+\AfterPackage{pdfpages}{\AtEndPreamble{\nopagecolor}}
+%%% From File: tudscr-fields.dtx
+\RequirePackage{trimspaces}[2009/09/17]
+\newcommand*\@faculty{}
+\newcommand*\faculty[1]{\gdef\@faculty{\trim@spaces{#1}}}
+\newcommand*\@department{}
+\newcommand*\department[1]{\gdef\@department{\trim@spaces{#1}}}
+\newcommand*\@institute{}
+\newcommand*\institute[1]{\gdef\@institute{\trim@spaces{#1}}}
+\newcommand*\@chair{}
+\newcommand*\chair[1]{\gdef\@chair{\trim@spaces{#1}}}
+\newcommand*\@extraheadline{}
+\newcommand*\extraheadline[1]{\gdef\@extraheadline{\trim@spaces{#1}}}
+\newcommand*\@@title{}
+\renewcommand*\title[1]{%
+ \gdef\@title{#1}%
+ \begingroup%
+ \let\thanks\@gobble%
+ \let\footnote\@gobble%
+ \protected@xdef\@@title{\trim@spaces{#1}}%
+ \endgroup%
+}
+\newcommand*\@authormore{}
+\newrobustcmd*\authormore[1]{\gdef\@authormore{#1}}
+\newcommand*\@thesis{}
+\newcommand*\@@thesis{}
+\newcommand*\thesis[1]{\tud@thesis{thesis}{#1}}
+\newcommand*\tud@thanks{}
+\newcommand*\tud@thesis[2]{%
+ \AfterPreamble{%
+ \begingroup%
+ \global\let\tud@thanks\relax%
+ \def\thanks##1{\gdef\tud@thanks{##1}}%
+ \let\footnote\thanks%
+ \setbox0\vbox{#2}%
+ \let\thanks\@gobble%
+ \let\footnote\@gobble%
+ \tud@lowerstring{\@tempa}{#2}%
+ \ifstr{#1}{thesis}{\protected@xdef\@@thesis{#2}}{}%
+ \endgroup%
+ \ifstr{\@tempa}{diss}{\tud@@thesis{#1}{\dissertationname}}{%
+ \ifstr{\@tempa}{doctoral}{\tud@@thesis{#1}{\dissertationname}}{%
+ \ifstr{\@tempa}{phd}{\tud@@thesis{#1}{\dissertationname}}{%
+ \ifstr{\@tempa}{diploma}{\tud@@thesis{#1}{\diplomathesisname}}{%
+ \ifstr{\@tempa}{master}{\tud@@thesis{#1}{\masterthesisname}}{%
+ \ifstr{\@tempa}{bachelor}{\tud@@thesis{#1}{\bachelorthesisname}}{%
+ \ifstr{\@tempa}{student}{\tud@@thesis{#1}{\studentresearchname}}{%
+ \ifstr{\@tempa}{project}{\tud@@thesis{#1}{\projectpapername}}{%
+ \ifstr{\@tempa}{seminar}{\tud@@thesis{#1}{\seminarpapername}}{%
+ \ifstr{\@tempa}{research}{\tud@@thesis{#1}{\researchname}}{%
+ \ifstr{\@tempa}{log}{\tud@@thesis{#1}{\logname}}{%
+ \ifstr{\@tempa}{report}{\tud@@thesis{#1}{\reportname}}{%
+ \ifstr{\@tempa}{internship}{\tud@@thesis{#1}{\internshipname}}{%
+ \@namedef{@#1}{#2}%
+ }}}}}}}}}}}}}%
+ }%
+}
+\newcommand*\tud@@thesis[2]{%
+ \ifstr{#1}{subject}{%
+ \ifx\@thesis\@empty\else%
+ \ClassWarning{\tudcls@name}{Field `thesis' is overwritten by `subject'}%
+ \fi%
+ \TUD@std@ifkey@lock{subjectthesis}{true}%
+ }{%
+ \TUD@std@ifkey@lock{subjectthesis}{false}%
+ }%
+ \ifx\tud@thanks\relax%
+ \gdef\@thesis{#2}%
+ \else%
+ \protected@xdef\@thesis{\noexpand#2\noexpand\thanks{\tud@thanks}}%
+ \fi%
+ \gdef\@@thesis{#2}%
+}
+\renewcommand*\subject[1]{\tud@thesis{subject}{#1}}
+\newcommand*\@graduation{}
+\newcommand*\@graduationabbr{}
+\newcommand*\graduation[2][]{%
+ \ifxblank{#1}{\gdef\@graduationabbr{}}{\gdef\@graduationabbr{(#1)}}%
+ \gdef\@graduation{#2}%
+}
+\newcommand*\@professor{}
+\newcommand*\professor[1]{\gdef\@professor{#1}}
+\newcommand*\@supervisor{}
+\newcommand*\supervisor[1]{\gdef\@supervisor{#1}}
+\newcommand*\@supporter{}
+\newcommand*\supporter[1]{\gdef\@supporter{#1}}
+\newcommand*\@company{}
+\newcommand*\company[1]{\gdef\@company{#1}}
+\newcommand*\@referee{}
+\newcommand*\referee[1]{\gdef\@referee{#1}}
+\newcommand*\@advisor{}
+\newcommand*\advisor[1]{\gdef\@advisor{#1}}
+\newcommand*\@matriculationnumber{}
+\newrobustcmd*\matriculationnumber[1]{%
+ \gdef\@matriculationnumber{#1}%
+}
+\newcommand*\@matriculationyear{}
+\newrobustcmd*\matriculationyear[1]{\gdef\@matriculationyear{#1}}
+\newcommand*\@placeofbirth{}
+\newrobustcmd*\placeofbirth[1]{\gdef\@placeofbirth{#1}}
+\providecommand*\publisher[1]{\publishers{#1}}
+\newcommand*\@confirmationclosing{%
+ \medskip%
+ \noindent\@place, \@date%
+ \\[20mm plus 10mm minus 10mm]%
+ \begingroup%
+ \let\and\hfil%
+ \let\thanks\@gobble%
+ \let\footnote\@gobble%
+ \@author%
+ \hfil%
+ \endgroup%
+}
+\newcommand*\confirmationclosing[1]{\gdef\@confirmationclosing{#1}}
+\newcommand*\@place{Dresden}
+\newcommand*\place[1]{\gdef\@place{#1}}
+\newcommand*\printdate[1]{#1}
+\BeforePackage{isodate}{\undef\printdate}
+\newcommand*\tud@printdate[2]{%
+ \ifx\today#2%
+ \gdef#1{#2}%
+ \else%
+ \ifxblank{#2}%
+ {\gdef#1{}}%
+ {\gdef#1{\printdate{#2}}}%
+ \fi%
+}
+\newcommand*\@datemore{}
+\renewcommand*\date[2][]{%
+ \gdef\@datemore{#1}%
+ \tud@printdate{\@date}{#2}%
+}
+\newcommand*\@defensedate{}
+\newcommand*\defensedate[1]{\tud@printdate{\@defensedate}{#1}}
+\newcommand*\@dateofbirth{}
+\newrobustcmd*\dateofbirth[1]{\tud@printdate{\@dateofbirth}{#1}}
+%%% From File: tudscr-locale.dtx
+\newcommand*\tud@locale@define[1]{%
+ \providecommand*#1{%
+ \ClassError{\tudcls@name}{%
+ `\string#1' not defined for language `\languagename'%
+ }{%
+ Currently the class `\tudcls@name' only supports the\MessageBreak%
+ languages german and english an its dialects. You must\MessageBreak%
+ define single patterns by yourself, e.g.:\MessageBreak%
+ `\string\providecaptionname{\languagename}\string#1{<text>}'\MessageBreak%
+ To implement new languages, it would be nice if you could\MessageBreak%
+ contact the author of this class and send your definitions\MessageBreak%
+ to \tudscrmail%
+ }%
+ }%
+}
+\tud@locale@define{\graduationtext}
+\tud@locale@define{\supervisorname}
+\tud@locale@define{\supervisorothername}
+\tud@locale@define{\refereename}
+\tud@locale@define{\refereeothername}
+\tud@locale@define{\advisorname}
+\tud@locale@define{\advisorothername}
+\tud@locale@define{\professorname}
+\tud@locale@define{\professorothername}
+\tud@locale@define{\datetext}
+\tud@locale@define{\dateofbirthtext}
+\tud@locale@define{\placeofbirthtext}
+\tud@locale@define{\defensedatetext}
+\tud@locale@define{\matriculationyearname}
+\tud@locale@define{\matriculationnumbername}
+\tud@locale@define{\coverpagename}
+\tud@locale@define{\titlepagename}
+\tud@locale@define{\confirmationname}
+\tud@locale@define{\confirmationtext}
+\tud@locale@define{\blockingname}
+\tud@locale@define{\blockingtext}
+\tud@locale@define{\listingname}
+\tud@locale@define{\listlistingname}
+\tud@locale@define{\dissertationname}
+\tud@locale@define{\diplomathesisname}
+\tud@locale@define{\masterthesisname}
+\tud@locale@define{\bachelorthesisname}
+\tud@locale@define{\studentresearchname}
+\tud@locale@define{\projectpapername}
+\tud@locale@define{\seminarpapername}
+\tud@locale@define{\researchname}
+\tud@locale@define{\logname}
+\tud@locale@define{\internshipname}
+\tud@locale@define{\reportname}
+\newcommand*\tud@locale@german{%
+ \providecaptionname{%
+ german,ngerman,austrian,naustrian,swissgerman,nswissgerman%
+ }%
+}
+\tud@locale@german{\graduationtext}{zur Erlangung des akademischen Grades}%
+\tud@locale@german{\supervisorname}{Betreuer}%
+\tud@locale@german{\supervisorothername}{}%
+\tud@locale@german{\refereename}{%
+ \begingroup%
+ \protecting{%
+ \global\@tempswafalse%
+ \def\and{\global\@tempswatrue}%
+ \savebox0{\@referee}%
+ }%
+ \endgroup%
+ \if@tempswa%
+ Erstgutachter%
+ \else%
+ Gutachter%
+ \fi%
+}
+\tud@locale@german{\refereeothername}{Zweitgutachter}%
+\tud@locale@german{\advisorname}{Fachreferent}%
+\tud@locale@german{\advisorothername}{}%
+\tud@locale@german{\professorname}{%
+ \begingroup%
+ \protecting{%
+ \global\@tempswafalse%
+ \def\and{\global\@tempswatrue}%
+ \savebox0{\@professor}%
+ }%
+ \endgroup%
+ \if@tempswa%
+ Betreuende Hochschullehrer%
+ \else%
+ Betreuender Hochschullehrer%
+ \fi%
+}
+\tud@locale@german{\professorothername}{}%
+\tud@locale@german{\datetext}{Eingereicht am}%
+\tud@locale@german{\dateofbirthtext}{Geboren am}%
+\tud@locale@german{\placeofbirthtext}{in}%
+\tud@locale@german{\defensedatetext}{Verteidigt am}%
+\tud@locale@german{\matriculationyearname}{Immatrikulationsjahr}%
+\tud@locale@german{\matriculationnumbername}{Matrikelnummer}%
+\tud@locale@german{\coverpagename}{Umschlagseite}%
+\tud@locale@german{\titlepagename}{Titelblatt}%
+\tud@locale@german{\confirmationname}{Selbstst\"andigkeitserkl\"arung}%
+\tud@locale@german{\confirmationtext}{%
+ Hiermit versichere ich, dass ich die vorliegende
+ \ifx\@@thesis\@empty Arbeit \else\@@thesis{} \fi
+ \ifx\@@title\@empty\else mit dem Titel \emph{\@@title} \fi
+ selbstst\"andig und ohne unzul\"assige Hilfe Dritter verfasst habe. Es
+ wurden keine anderen als die in der Arbeit angegebenen Hilfsmittel und
+ Quellen benutzt. Die w\"ortlichen und sinngem\"a\ss{} \"ubernommenen
+ Zitate habe ich als solche kenntlich gemacht.
+ \ifx\@supporter\@empty%
+ Es waren keine weiteren Personen an der geistigen Herstellung der
+ vorliegenden Arbeit beteiligt.
+ \else%
+ W\"ahrend der Anfertigung dieser Arbeit wurde ich nur von folgenden
+ Personen unterst\"utzt:%
+ \begin{quote}\def\and{\newline}\@supporter\end{quote}%
+ \noindent Weitere Personen waren an der geistigen Herstellung der
+ vorliegenden Arbeit nicht beteiligt.
+ \fi%
+ Mir ist bekannt, dass die Nichteinhaltung dieser Erkl\"arung zum
+ nachtr\"aglichen Entzug des Hochschulabschlusses f\"uhren kann.%
+}
+\tud@locale@german{\blockingname}{Sperrvermerk}%
+\tud@locale@german{\blockingtext}{%
+ Diese \ifx\@@thesis\@empty Arbeit \else\@@thesis{} \fi
+ \ifx\@@title\@empty\else mit dem Titel \emph{\@@title} \fi
+ enth\"alt vertrauliche Informationen\ifx\@company\@empty\else
+ , offengelegt durch \@company{}\fi. Ver\"offentlichungen,
+ Vervielf\"altigungen und Einsichtnahme~-- auch nur auszugsweise~--
+ sind ohne ausdr\"uckliche Genehmigung \ifx\@company\@empty\else
+ durch \@company{} \fi nicht gestattet, ebenso wie
+ Ver\"offentlichungen \"uber den Inhalt dieser Arbeit. Die
+ vorliegende Arbeit ist nur dem Betreuer an der Technischen
+ Universit\"at Dresden, den Gutachtern sowie den Mitgliedern des
+ Pr\"ufungsausschusses zug\"anglich zu machen.%
+}
+\tud@locale@german{\listingname}{Quelltext}%
+\tud@locale@german{\listlistingname}{Quelltextverzeichnis}%
+\tud@locale@german{\dissertationname}{Dissertation}%
+\tud@locale@german{\diplomathesisname}{Diplomarbeit}%
+\tud@locale@german{\masterthesisname}{Master-Arbeit}%
+\tud@locale@german{\bachelorthesisname}{Bachelor-Arbeit}%
+\tud@locale@german{\studentresearchname}{Studienarbeit}%
+\tud@locale@german{\projectpapername}{Projektarbeit}%
+\tud@locale@german{\seminarpapername}{Seminararbeit}%
+\tud@locale@german{\researchname}{Forschungsbericht}%
+\tud@locale@german{\logname}{Protokoll}%
+\tud@locale@german{\internshipname}{Praktikumsbericht}%
+\tud@locale@german{\reportname}{Bericht}%
+\newcommand*\tud@locale@english{%
+ \providecaptionname{%
+ american,australian,british,canadian,english,newzealand,UKenglish,USenglish%
+ }%
+}
+\tud@locale@english{\graduationtext}{to achieve the academic degree}%
+\tud@locale@english{\supervisorname}{Supervisor}%
+\tud@locale@english{\supervisorothername}{}%
+\tud@locale@english{\refereename}{%
+ \begingroup%
+ \protecting{%
+ \global\@tempswafalse%
+ \def\and{\global\@tempswatrue}%
+ \savebox0{\@referee}%
+ }%
+ \endgroup%
+ \if@tempswa%
+ First referee%
+ \else%
+ Referee%
+ \fi%
+}
+\tud@locale@english{\refereeothername}{Second referee}%
+\tud@locale@english{\advisorname}{Advisor}%
+\tud@locale@english{\advisorothername}{}%
+\tud@locale@english{\professorname}{%
+ \begingroup%
+ \protecting{%
+ \global\@tempswafalse%
+ \def\and{\global\@tempswatrue}%
+ \savebox0{\@professor}%
+ }%
+ \endgroup%
+ \if@tempswa%
+ Supervising professors%
+ \else%
+ Supervising professor%
+ \fi%
+}
+\tud@locale@english{\professorothername}{}%
+\tud@locale@english{\datetext}{Submitted on}%
+\tud@locale@english{\dateofbirthtext}{Born on}%
+\tud@locale@english{\placeofbirthtext}{in}%
+\tud@locale@english{\defensedatetext}{Defended on}%
+\tud@locale@english{\matriculationyearname}{Matriculation year}%
+\tud@locale@english{\matriculationnumbername}{Matriculation number}%
+\tud@locale@english{\coverpagename}{Cover page}%
+\tud@locale@english{\titlepagename}{Title page}%
+\tud@locale@english{\confirmationname}{Statement of authorship}%
+\tud@locale@english{\confirmationtext}{%
+ I hereby certify that I have authored this
+ \ifx\@@thesis\@empty thesis\else\@@thesis{} \fi
+ \ifx\@@title\@empty\else entitled \emph{\@@title} \fi
+ independently and without undue assistance from third
+ parties. No other than the resources and references
+ indicated in this thesis have been used. I have marked
+ both literal and accordingly adopted quotations as such.
+ \ifx\@supporter\@empty%
+ They were no additional persons involved in the spiritual
+ preparation of the present thesis.
+ \else%
+ During the preparation of this thesis I was only supported
+ by the following persons:%
+ \begin{quote}\def\and{\newline}\@supporter\end{quote}%
+ \noindent Additional persons were not involved in the spiritual
+ preparation of the present thesis.
+ \fi%
+ I am aware that violations of this declaration may lead to
+ subsequent withdrawal of the degree.%
+}
+\tud@locale@english{\blockingname}{Restriction note}%
+\tud@locale@english{\blockingtext}{%
+ This \ifx\@@thesis\@empty thesis \else\@@thesis{} \fi
+ \ifx\@@title\@empty\else entitled \emph{\@@title} \fi
+ contains confidential data\ifx\@company\@empty\else
+ , disclosed by \@company{}\fi. Publications, duplications and
+ inspections---even in part---are prohibited without explicit
+ permission\ifx\@company\@empty\else\space by \@company{}\fi,
+ as well as publications about the content of this thesis.
+ This thesis may only be made accessible to the supervisor at
+ Technische Universit\"at Dresden, the reviewers and also the
+ members of the examination board.%
+}
+\tud@locale@english{\listingname}{Listing}%
+\tud@locale@english{\listlistingname}{List of Listings}%
+\tud@locale@english{\dissertationname}{Dissertation}%
+\tud@locale@english{\diplomathesisname}{Diploma Thesis}%
+\tud@locale@english{\masterthesisname}{Master Thesis}%
+\tud@locale@english{\bachelorthesisname}{Bachelor Thesis}%
+\tud@locale@english{\studentresearchname}{Student Research Project}%
+\tud@locale@english{\projectpapername}{Project Paper}%
+\tud@locale@english{\seminarpapername}{Seminar Paper}%
+\tud@locale@english{\researchname}{Research Report}%
+\tud@locale@english{\logname}{Log}%
+\tud@locale@english{\internshipname}{Internship Report}%
+\tud@locale@english{\reportname}{Report}%
+\AfterPackage{listings}{%
+ \renewcommand*\lstlistingname{\listingname}%
+ \renewcommand*\lstlistlistingname{\listlistingname}%
+}
+\AfterPackage{mathswap}{%
+ \tud@locale@german{\@commaswap}{,}%
+ \tud@locale@german{\@dotswap}{\,}%
+ \tud@locale@english{\@commaswap}{\,}%
+ \tud@locale@english{\@dotswap}{.}%
+}
+%%% From File: tudscr-pagestyle.dtx
+\newlength{\tud@dim@left}
+\newlength{\tud@dim@right}
+\newlength{\tud@dim@both}
+\newlength{\tud@dim@top}
+\newlength{\tud@dim@bottom}
+\newlength{\tud@dim@footskip}
+\newlength{\tud@dim@headheight}
+\newlength{\tud@dim@barheight}
+\newlength{\tud@dim@headsep}
+\newlength{\tud@dim@logox}
+\newlength{\tud@dim@logoy}
+\newlength{\tud@dim@logowidth}
+\newlength{\tud@dim@logoheight}
+\newlength{\tud@dim@line}
+\newlength{\tud@dim@thinline}
+\newlength{\tud@dim@heavyline}
+\newlength{\tud@dim@headingsvskip}
+\newlength{\tud@dim@headdiff}
+\newlength{\tud@dim@ddcdiff}
+\newlength{\tud@dim@ddcfoot}
+\newcommand*\tud@head@font@size{}
+\newcommand*\tud@geometry@set{%
+ \ifdim\paperheight<148.1mm\relax%
+ \setlength{\tud@dim@headheight}{17.5mm}%
+ \setlength{\tud@dim@barheight}{2.5mm}%
+ \setlength{\tud@dim@headsep}{6mm}%
+ \setlength{\tud@dim@logox}{5.5mm}%
+ \setlength{\tud@dim@logoy}{6.5mm}%
+ \setlength{\tud@dim@logowidth}{28.5mm}%
+ \setlength{\tud@dim@left}{15mm}%
+ \setlength{\tud@dim@right}{10mm}%
+ \setlength{\tud@dim@top}{12.5mm}%
+ \setlength{\tud@dim@bottom}{12.5mm}%
+ \setlength{\tud@dim@footskip}{6mm}%
+ \setlength{\tud@dim@heavyline}{0.75pt}%
+ \setlength{\tud@dim@thinline}{0.5pt}%
+ \def\tud@head@font@size{4.5}%
+ \else\ifdim\paperheight<297.1mm\relax%
+ \setlength{\tud@dim@headheight}{35mm}%
+ \setlength{\tud@dim@barheight}{5mm}%
+ \setlength{\tud@dim@headsep}{12mm}%
+ \setlength{\tud@dim@logox}{11mm}%
+ \setlength{\tud@dim@logoy}{13.5mm}%
+ \setlength{\tud@dim@logowidth}{57mm}%
+ \setlength{\tud@dim@left}{30mm}%
+ \setlength{\tud@dim@right}{20mm}%
+ \setlength{\tud@dim@top}{25mm}%
+ \setlength{\tud@dim@bottom}{25mm}%
+ \setlength{\tud@dim@footskip}{12mm}%
+ \setlength{\tud@dim@heavyline}{1pt}%
+ \setlength{\tud@dim@thinline}{0.5pt}%
+ \def\tud@head@font@size{9}%
+ \else\ifdim\paperheight<420.1mm\relax%
+ \setlength{\tud@dim@headheight}{50mm}%
+ \setlength{\tud@dim@barheight}{7mm}%
+ \setlength{\tud@dim@headsep}{17mm}%
+ \setlength{\tud@dim@logox}{15.5mm}%
+ \setlength{\tud@dim@logoy}{19mm}%
+ \setlength{\tud@dim@logowidth}{80mm}%
+ \setlength{\tud@dim@left}{42mm}%
+ \setlength{\tud@dim@right}{28mm}%
+ \setlength{\tud@dim@top}{35mm}%
+ \setlength{\tud@dim@bottom}{35mm}%
+ \setlength{\tud@dim@footskip}{17mm}%
+ \setlength{\tud@dim@heavyline}{1.4pt}%
+ \setlength{\tud@dim@thinline}{0.7pt}%
+ \def\tud@head@font@size{13}%
+ \else\ifdim\paperheight<594.1mm\relax%
+ \setlength{\tud@dim@headheight}{70mm}%
+ \setlength{\tud@dim@barheight}{10mm}%
+ \setlength{\tud@dim@headsep}{24mm}%
+ \setlength{\tud@dim@logox}{22mm}%
+ \setlength{\tud@dim@logoy}{27mm}%
+ \setlength{\tud@dim@logowidth}{114mm}%
+ \setlength{\tud@dim@left}{60mm}%
+ \setlength{\tud@dim@right}{40mm}%
+ \setlength{\tud@dim@top}{50mm}%
+ \setlength{\tud@dim@bottom}{50mm}%
+ \setlength{\tud@dim@footskip}{24mm}%
+ \setlength{\tud@dim@heavyline}{1.7pt}%
+ \setlength{\tud@dim@thinline}{1pt}%
+ \def\tud@head@font@size{13.5}%
+ \else\ifdim\paperheight<841.1mm\relax%
+ \setlength{\tud@dim@headheight}{100mm}%
+ \setlength{\tud@dim@barheight}{14mm}%
+ \setlength{\tud@dim@headsep}{34mm}%
+ \setlength{\tud@dim@logox}{31mm}%
+ \setlength{\tud@dim@logoy}{38mm}%
+ \setlength{\tud@dim@logowidth}{161.5mm}%
+ \setlength{\tud@dim@left}{85mm}%
+ \setlength{\tud@dim@right}{56.5mm}%
+ \setlength{\tud@dim@top}{71mm}%
+ \setlength{\tud@dim@bottom}{71mm}%
+ \setlength{\tud@dim@footskip}{34mm}%
+ \setlength{\tud@dim@heavyline}{1.9pt}%
+ \setlength{\tud@dim@thinline}{1.5pt}%
+ \def\tud@head@font@size{14}%
+ \else%
+ \setlength{\tud@dim@headheight}{140mm}%
+ \setlength{\tud@dim@barheight}{20mm}%
+ \setlength{\tud@dim@headsep}{48mm}%
+ \setlength{\tud@dim@logox}{44mm}%
+ \setlength{\tud@dim@logoy}{54mm}%
+ \setlength{\tud@dim@logowidth}{228mm}%
+ \setlength{\tud@dim@left}{120mm}%
+ \setlength{\tud@dim@right}{80mm}%
+ \setlength{\tud@dim@top}{100mm}%
+ \setlength{\tud@dim@bottom}{100mm}%
+ \setlength{\tud@dim@footskip}{48mm}%
+ \setlength{\tud@dim@heavyline}{2.1pt}%
+ \setlength{\tud@dim@thinline}{2pt}%
+ \def\tud@head@font@size{20}%
+ \fi\fi\fi\fi\fi%
+ \setlength{\tud@dim@both}{\dimexpr\tud@dim@left+\tud@dim@right\relax}%
+ \setlength{\tud@dim@ddcfoot}{.6\tud@dim@headheight}%
+}
+\newcommand*\tud@ifsacrop{%
+ \ifcsdef{ifsa@crop}{%
+ \ifbool{sa@crop}{\@firstoftwo}{\@secondoftwo}%
+ }{%
+ \@secondoftwo%
+ }%
+}
+\AtEndPreamble{%
+ \tud@ifsacrop{%
+ \PreventPackageFromLoading{scrlayer-scrpage}%
+ \pagestyle{empty}%
+ \hoffset=-72.27pt%
+ \voffset=-72.27pt%
+ \topmargin=0pt%
+ \headheight=0pt%
+ \headsep=0pt%
+ \marginparsep=0pt%
+ \marginparwidth=0pt%
+ \footskip=0pt%
+ \marginparpush=0pt%
+ \oddsidemargin=0pt%
+ \evensidemargin=0pt%
+ \topskip=0pt%
+ \textheight=\dimexpr\maxdimen%
+ }{}%
+}
+\AtEndPreamble{%
+ \RequirePackage{scrlayer-scrpage}[2013/12/14]%
+ \AfterPackage*{scrlayer-scrpage}{%
+ \DeclareNewLayer[%
+ background,head,align=tl,%
+ voffset=\tud@dim@logoy,%
+ contents={%
+ \hspace*{\dimexpr\tud@dim@logox-\tud@dim@left\relax}\tud@mainlogo%
+ },%
+ ]{tudheadings.head.mainlogo}%
+ \DeclareNewLayer[%
+ background,head,align=tl,%
+ voffset=\tud@dim@logoy,%
+ contents={\hfill\tud@headlogo},%
+ ]{tudheadings.head.logo}%
+ \DeclareNewLayer[%
+ background,head,align=tl,%
+ voffset=\dimexpr\tud@dim@headheight-.5\tud@dim@line\relax,%
+ contents={\if@tud@widehead\else\tud@head@rule{\textwidth}\fi},%
+ ]{tudheadings.head.topline}%
+ \DeclareNewLayer[%
+ background,head,align=tl,%
+ voffset={%
+ \dimexpr\tud@dim@headheight+\tud@dim@barheight-.5\tud@dim@line\relax%
+ },%
+ contents={\if@tud@widehead\else\tud@head@rule{\textwidth}\fi},%
+ ]{tudheadings.head.bottomline}%
+ \DeclareNewLayer[%
+ background,align=tl,%
+ voffset=\dimexpr\tud@dim@headheight-.5\tud@dim@line\relax,%
+ contents={\if@tud@widehead\tud@head@rule{\paperwidth}\fi},%
+ ]{tudheadings.head.topwideline}%
+ \DeclareNewLayer[%
+ background,align=tl,%
+ voffset={%
+ \dimexpr\tud@dim@headheight+\tud@dim@barheight-.5\tud@dim@line\relax%
+ },%
+ contents={\if@tud@widehead\tud@head@rule{\paperwidth}\fi},%
+ ]{tudheadings.head.bottomwideline}%
+ \DeclareNewLayer[%
+ background,head,align=tl,%
+ voffset=\dimexpr\tud@dim@headheight+\tud@dim@line\relax,%
+ contents={\tud@head@text@box},%
+ ]{tudheadings.head.text}%
+ \DeclareNewLayer[%
+ background,foot,%
+ contents={%
+ \vskip\dimexpr-\tud@dim@ddcfoot-\baselineskip+\ht\strutbox%
+ \hfill\tud@footlogo%
+ },%
+ ]{tudheadings.foot.ddclogo}%
+ \newpairofpagestyles{tudheadings}{}%
+ \ForEachLayerOfPageStyle{tudheadings}{%
+ \RemoveLayersFromPageStyle{tudheadings}{#1}%
+ }%
+ \ForEachLayerOfPageStyle{plain.tudheadings}{%
+ \RemoveLayersFromPageStyle{plain.tudheadings}{#1}%
+ }%
+ \AddLayersToPageStyle{tudheadings}{%
+ tudheadings.head.mainlogo,%
+ tudheadings.head.logo,%
+ tudheadings.head.topline,%
+ tudheadings.head.bottomline,%
+ tudheadings.head.topwideline,%
+ tudheadings.head.bottomwideline,%
+ tudheadings.head.text,%
+ tudheadings.foot.ddclogo,%
+ scrheadings.foot.odd,%
+ scrheadings.foot.even,%
+ scrheadings.foot.oneside,%
+ scrheadings.foot.above.line,%
+ scrheadings.foot.below.line%
+ }%
+ \AddLayersToPageStyle{plain.tudheadings}{%
+ tudheadings.head.mainlogo,%
+ tudheadings.head.logo,%
+ tudheadings.head.topline,%
+ tudheadings.head.bottomline,%
+ tudheadings.head.topwideline,%
+ tudheadings.head.bottomwideline,%
+ tudheadings.head.text,%
+ tudheadings.foot.ddclogo,%
+ plain.scrheadings.foot.odd,%
+ plain.scrheadings.foot.even,%
+ plain.scrheadings.foot.oneside,%
+ plain.scrheadings.foot.above.line,%
+ plain.scrheadings.foot.below.line%
+ }%
+ \DeclareNewPageStyleByLayers{empty.tudheadings}{%
+ tudheadings.head.mainlogo,%
+ tudheadings.head.logo,%
+ tudheadings.head.topline,%
+ tudheadings.head.bottomline,%
+ tudheadings.head.topwideline,%
+ tudheadings.head.bottomwideline,%
+ tudheadings.head.text,%
+ tudheadings.foot.ddclogo,%
+ }%
+ \AddToLayerPageStyleOptions{tudheadings}{%
+ onselect={\letcs\ps@empty{ps@empty.tudheadings}}%
+ }%
+ \AddToLayerPageStyleOptions{plain.tudheadings}{%
+ onselect={\letcs\ps@empty{ps@empty.tudheadings}}%
+ }%
+ \AddToLayerPageStyleOptions{empty.tudheadings}{%
+ onselect={%
+ \letcs\ps@empty{ps@empty.tudheadings}%
+ \letcs\ps@plain{ps@plain.tudheadings}%
+ \letcs\ps@headings{ps@tudheadings}%
+ }%
+ }%
+ \DeclareNewPageStyleAlias{tudscrheadings}{tudheadings}%
+ \DeclareNewPageStyleAlias{plain.tudscrheadings}{plain.tudheadings}%
+ \DeclareNewPageStyleAlias{empty.tudscrheadings}{empty.tudheadings}%
+ \BeforeSelectAnyPageStyle{\tud@beforepagestyle{#1}}%
+ }%
+}
+\newcommand*\tud@currentgeometry{}
+\newcommand*\tud@beforepagestyle[1]{%
+ \def\@tempa{#1}%
+ \ifstr{\sls@currentheadings}{tudheadings}{%
+ \ifstr{#1}{headings}{\def\@tempa{tudheadings}}{}%
+ \ifstr{#1}{plain}{\def\@tempa{plain.tudheadings}}{}%
+ \ifstr{#1}{empty}{\def\@tempa{empty.tudheadings}}{}%
+ }{}%
+ \tud@ifinpslist{\@tempa}{%
+ \tud@ddc@check%
+ \ifcase \@tempb\relax%
+ \ifstr{\tud@currentgeometry}{tudarea}{}{%
+ \loadgeometry{tudarea}%
+ \gdef\tud@currentgeometry{tudarea}%
+ }%
+ \else%
+ \ifstr{\tud@currentgeometry}{tudareaddc}{}{%
+ \loadgeometry{tudareaddc}%
+ \gdef\tud@currentgeometry{tudareaddc}%
+ }%
+ \fi%
+ \setlength{\tud@dim@headdiff}{\z@}%
+ }{%
+ \ifstr{\tud@currentgeometry}{typearea}{}{%
+ \loadgeometry{typearea}%
+ \gdef\tud@currentgeometry{typearea}%
+ \RedeclarePageStyleByLayers{empty}{}%
+ }%
+ \setlength{\tud@dim@headdiff}{\tud@ta@headdiff}%
+ \ifcase \tud@geometry\relax\else%
+ \if@hincl%
+ \addtolength{\tud@dim@headdiff}{%
+ \dimexpr-\tud@ta@headheight-\tud@dim@headsep\relax%
+ }%
+ \fi%
+ \fi%
+ }%
+ \global\tud@dim@headdiff=\tud@dim@headdiff%
+}
+\patchcmd{\cleardoubleoddpageusingstyle}{\pagestyle}{%
+ \let\tud@beforepagestyle\@gobble\pagestyle%
+}{}{\tud@patch@wrn{cleardoubleoddpageusingstyle}}
+\patchcmd{\cleardoubleevenpageusingstyle}{\pagestyle}{%
+ \let\tud@beforepagestyle\@gobble\pagestyle%
+}{}{\tud@patch@wrn{cleardoubleevenpageusingstyle}}
+\patchcmd{\cleardoublepageusingstyle}{\pagestyle}{%
+ \let\tud@beforepagestyle\@gobble\pagestyle%
+}{}{\tud@patch@wrn{cleardoublepageusingstyle}}
+\newcommand*\tud@ddc@enlargepage{%
+ \ifstr{\tud@currentgeometry}{tudareaddc}{}{%
+ \tud@ddc@check%
+ \ifcase \@tempb\relax\else\enlargethispage{-\tud@dim@ddcdiff}\fi%
+ }%
+}
+\newcommand*\tud@head@text{}
+\newcommand*\tud@head@text@first{}
+\newcommand*\tud@head@text@second{}
+\newcommand*\tud@head@text@delimiter{}
+\newcommand*\tud@head@text@buffer{}
+\newcommand*\tud@head@font{}
+\newcommand*\tud@head@rule[1]{%
+ \color{\tud@head@color}%
+ \rule[\dimexpr\ht\strutbox\relax]{#1}{\tud@dim@line}%
+}
+\newcommand*\tud@head@text@add[3][, ]{%
+ \def\tud@head@font{#2}%
+ \edef\tud@head@text{#3}%
+ \ifx\tud@head@text\@empty%
+ \def\tud@head@text@delimiter{}%
+ \else%
+ \edef\tud@head@text@delimiter{\tud@head@text@buffer}%
+ \def\tud@head@text@buffer{#1}%
+ \fi%
+ \if@tempswa\else%
+ \def\@tempa{%
+ \tud@head@text@first%
+ \tud@head@text@delimiter%
+ \tud@head@font%
+ \tud@head@text%
+ }%
+ \settowidth{\@tempdima}{\@tempa}%
+ \ifdim\@tempdima>\textwidth\relax%
+ \@tempswatrue%
+ \def\tud@head@text@delimiter{}%
+ \else%
+ \edef\tud@head@text@first{\@tempa}%
+ \fi%
+ \fi%
+ \if@tempswa%
+ \edef\tud@head@text@second{%
+ \tud@head@text@second%
+ \tud@head@text@delimiter%
+ \tud@head@font%
+ \tud@head@text%
+ }%
+ \fi%
+}
+\newcommand*\tud@head@text@box{%
+ \ifx\@faculty\@empty%
+ \ClassWarningNoLine{\tudcls@name}{No `\string\faculty' given}%
+ \faculty{}%
+ \fi%
+ \color{\tud@head@color}%
+ \tud@head@font@set%
+ \@tempswafalse%
+ \def\tud@head@text@first{}%
+ \def\tud@head@text@second{}%
+ \def\tud@head@text@buffer{}%
+ \tud@head@text@add[\enskip]{\tud@head@font@bold}{\@faculty}%
+ \tud@head@text@add{\tud@head@font@light}{\@department}%
+ \tud@head@text@add{\tud@head@font@light}{\@institute}%
+ \tud@head@text@add{\tud@head@font@light}{\@chair}%
+ \settowidth{\@tempdima}{\tud@head@text@second}%
+ \ifdim\@tempdima>\textwidth\relax%
+ \tud@head@text@wrn{\the\dimexpr\@tempdima-\textwidth\relax}%
+ \hfuzz=\@tempdima%
+ \fi%
+ \vbox{%
+ \linespread{0}\selectfont%
+ \tud@head@text@write{\tud@head@text@first}%
+ \ifx\tud@head@text@second\@empty%
+ \ifx\@extraheadline\@empty\else%
+ \newline\tud@head@font@light\tud@head@text@write{\@extraheadline}%
+ \fi%
+ \else%
+ \newline\tud@head@text@write{\tud@head@text@second}%
+ \ifx\@extraheadline\@empty\else%
+ \newline\tud@head@font@light\@extraheadline%
+ \fi%
+ \fi%
+ }%
+}
+\newcommand*\tud@head@text@write[1]{%
+ \raisebox{\dimexpr(\tud@dim@barheight+2\tud@dim@line-\totalheight)/2\relax}[%
+ \dimexpr\tud@dim@barheight-\depth\relax%
+ ][\depth]{#1\vphantom{gjpqy\"A\"O\"U}}%
+}
+\newcommand\tud@head@text@wrn[1]{%
+ \ClassWarning{\tudcls@name}{%
+ The given entries for the headline\MessageBreak%
+ (faculty, institute etc.) are #1\MessageBreak%
+ too wide for the textwidth%
+ }%
+ \global\let\tud@head@text@wrn\@gobble%
+}
+\newcommand*\tud@mainlogo@wrn[1]{%
+ \ClassWarning{\tudcls@name}{%
+ The selected page layout means that the\MessageBreak%
+ logo of TUD extends beyond the printing area.\MessageBreak%
+ The inner margin is smaller than BCOR\MessageBreak%
+ (`BCOR=\the\ta@bcor', inner margin is #1)\MessageBreak%
+ Maybe you should decrease the current value\MessageBreak%
+ of DIV (`DIV=\the\ta@div')%
+ }%
+ \global\let\tud@mainlogo@wrn\@gobble%
+}
+\newcommand*\tud@@mainlogo{}
+\newcommand*\tud@mainlogo{%
+ \setlength{\@tempdima}{%
+ \dimexpr\oddsidemargin+1in+\tud@dim@logox-\tud@dim@left\relax%
+ }%
+ \ifdim\@tempdima<\ta@bcor\relax\tud@mainlogo@wrn{\the\@tempdima}\fi%
+ \def\tud@@mainlogo{TUD-black}%
+ \ifstr{\tud@head@color}{HKS41}{\def\tud@@mainlogo{TUD-blue}}{}%
+ \ifstr{\tud@head@color}{cddarkblue}{\def\tud@@mainlogo{TUD-blue}}{}%
+ \ifstr{\tud@head@color}{white}{\def\tud@@mainlogo{TUD-white}}{}%
+ \global\let\tud@dim@line\tud@dim@thinline%
+ \ifstr{\tud@head@color}{white}{\global\let\tud@dim@line\tud@dim@heavyline}{}%
+ \color{\tud@head@color}%
+ \includegraphics[width=\tud@dim@logowidth]{\tud@@mainlogo}%
+}
+\newcommand*\headlogo[2][]{%
+ \tud@ifinpslist{\@nameuse{currentpagestyle}}{\clearpage}{}%
+ \def\tud@@headlogo{#2}%
+ \def\tud@@@headlogo{#1}%
+ \if@atdocument\expandafter\pagestyle\expandafter{\currentpagestyle}\fi%
+}
+\newcommand*\tud@@headlogo{}
+\newcommand*\tud@@@headlogo{}
+\newcommand*\tud@headlogo{%
+ \tud@ddc@check%
+ \ifx\tud@@headlogo\@empty\else%
+ \ifnum\@tempa>\z@\relax\tud@headlogo@wrn\fi%
+ \fi%
+ \ifcase \@tempa\relax\or%
+ \def\tud@@headlogo{DDC-24}%
+ \ifstr{\tud@head@color}{HKS41}{\def\tud@@headlogo{DDC-27}}{}%
+ \ifstr{\tud@head@color}{cddarkblue}{\def\tud@@headlogo{DDC-27}}{}%
+ \ifstr{\tud@head@color}{white}{\def\tud@@headlogo{DDC-30}}{}%
+ \or%
+ \def\tud@@headlogo{DDC-03}%
+ \or%
+ \def\tud@@headlogo{DDC-09}%
+ \or%
+ \def\tud@@headlogo{DDC-21}%
+ \or%
+ \def\tud@@headlogo{DDC-24}%
+ \or%
+ \def\tud@@headlogo{DDC-27}%
+ \or%
+ \def\tud@@headlogo{DDC-30}%
+ \fi%
+ \ifx\tud@@headlogo\@empty\else%
+ \settoheight{\tud@dim@logoheight}{\tud@mainlogo}%
+ \pretocmd{\tud@@@headlogo}{height=\tud@dim@logoheight,}%
+ {}{\tud@patch@wrn{tud@@@headlogo}}%
+ \expandafter\includegraphics\expandafter[\tud@@@headlogo]{\tud@@headlogo}%
+ \fi%
+}
+\newcommand*\tud@headlogo@wrn{%
+ \ClassWarning{\tudcls@name}{%
+ The secondary logo given with `\string\headlogo' is\MessageBreak%
+ overwritten with DDC logo. Maybe you should use\MessageBreak%
+ `ddcfoot' or better `ddc' instead of `ddchead'%
+ }%
+ \global\let\tud@headlogo@wrn\relax%
+}
+\newcommand*\tud@@footlogo{}
+\newcommand*\tud@footlogo{%
+ \tud@ddc@check%
+ \ifcase \@tempb\relax\or%
+ \def\tud@@footlogo{DDC-22}%
+ \ifstr{\tud@head@color}{HKS41}{\def\tud@@footlogo{DDC-25}}{}%
+ \ifstr{\tud@head@color}{cddarkblue}{\def\tud@@footlogo{DDC-25}}{}%
+ \ifstr{\tud@head@color}{white}{\def\tud@@footlogo{DDC-28}}{}%
+ \or%
+ \def\tud@@footlogo{DDC-01}%
+ \or%
+ \def\tud@@footlogo{DDC-07}%
+ \or%
+ \def\tud@@footlogo{DDC-19}%
+ \or%
+ \def\tud@@footlogo{DDC-22}%
+ \or%
+ \def\tud@@footlogo{DDC-25}%
+ \or%
+ \def\tud@@footlogo{DDC-28}%
+ \fi%
+ \ifx\tud@@footlogo\@empty\else%
+ \includegraphics[height=\tud@dim@ddcfoot]{\tud@@footlogo}%
+ \fi%
+}
+\newlength{\tud@ta@textheight}
+\newlength{\tud@ta@topmargin}
+\newlength{\tud@ta@headheight}
+\newlength{\tud@ta@headsep}
+\newlength{\tud@ta@footskip}
+\newlength{\tud@ta@headdiff}
+\newcommand*\tud@geometry@restore{}
+\AfterCalculatingTypearea{%
+ \setlength{\tud@ta@textheight}{\textheight}%
+ \setlength{\tud@ta@topmargin}{\topmargin}%
+ \setlength{\tud@ta@headheight}{\headheight}%
+ \setlength{\tud@ta@headsep}{\headsep}%
+ \setlength{\tud@ta@footskip}{\footskip}%
+ \let\tud@geometry@restore\Gm@restore@org%
+ \if@atdocument%
+ \let\Gm@restore@org\relax%
+ \tud@geometry@process%
+ \gdef\tud@currentgeometry{}%
+ \expandafter\pagestyle\expandafter{\currentpagestyle}%
+ \fi%
+ \let\Gm@restore@org\tud@geometry@restore%
+}
+\newcommand*\tud@geometry@hmargin{}
+\newcommand*\tud@geometry@vmargin{}
+\newcommand*\tud@geometry@pmargin{}
+\newcommand*\tud@geometry@dmargin{}
+\AtEndPreamble{%
+ \tud@ifsacrop{}{%
+ \recalctypearea%
+ \RequirePackage{geometry}[2010/09/12]%
+ \tud@geometry@process%
+ \expandafter\pagestyle\expandafter{\currentpagestyle}%
+ }%
+}
+\newcommand*\tud@geometry@process{%
+ \tud@geometry@set%
+ \ifcase \tud@geometry\relax%
+ \def\tud@geometry@hmargin{%
+ left=\dimexpr\oddsidemargin+1in\relax,%
+ width=\textwidth,%
+ }%
+ \def\tud@geometry@vmargin{%
+ top={%
+ \dimexpr\tud@ta@topmargin+\tud@ta@headheight+\tud@ta@headsep+1in\relax%
+ },%
+ headheight=\tud@ta@headheight,%
+ headsep=\tud@ta@headsep,%
+ textheight=\tud@ta@textheight,%
+ footskip=\tud@ta@footskip,%
+ }%
+ \def\tud@geometry@pmargin{%
+ top={%
+ \dimexpr\tud@dim@headheight+\tud@dim@barheight+\tud@dim@headsep\relax%
+ },%
+ headheight=\dimexpr\tud@dim@headheight+\tud@dim@barheight\relax,%
+ headsep=\tud@dim@headsep,%
+ textheight=\dimexpr\tud@ta@textheight-\tud@ta@headdiff\relax,%
+ footskip=\tud@ta@footskip,%
+ }%
+ \def\tud@geometry@dmargin{%
+ textheight={%
+ \dimexpr\tud@ta@textheight-\tud@ta@headdiff-\tud@dim@ddcdiff\relax%
+ },%
+ footskip=\dimexpr\tud@ta@footskip+\tud@dim@ddcdiff\relax,%
+ }%
+ \setlength{\tud@ta@headdiff}{\dimexpr%
+ \tud@dim@headheight+\tud@dim@barheight+\tud@dim@headsep%
+ -\tud@ta@topmargin-\tud@ta@headheight-\tud@ta@headsep-1in\relax%
+ }%
+ \setlength{\tud@dim@ddcdiff}{\dimexpr%
+ \tud@dim@ddcfoot-\tud@ta@footskip+\tud@dim@footskip\relax%
+ }%
+ \ifdim\tud@ta@headdiff<\z@\relax%
+ \addtolength{\tud@dim@headsep}{-\tud@ta@headdiff}%
+ \fi%
+ \else%
+ \ifcase \tud@geometry\or%
+ \def\tud@geometry@hmargin{%
+ left=\tud@dim@left,%
+ textwidth=\dimexpr\paperwidth-\tud@dim@both-\ta@bcor\relax,%
+ bindingoffset=\ta@bcor,%
+ \if@twoside asymmetric,\fi%
+ }%
+ \or%
+ \def\tud@geometry@hmargin{%
+ left=.5\tud@dim@both,%
+ textwidth=\dimexpr\paperwidth-\tud@dim@both-\ta@bcor\relax,%
+ bindingoffset=\ta@bcor,%
+ }%
+ \or%
+ \def\tud@geometry@hmargin{%
+ \if@twoside%
+ left=.4\tud@dim@both,%
+ twoside,%
+ \else%
+ left=.5\tud@dim@both,%
+ \fi%
+ textwidth=\dimexpr\paperwidth-\tud@dim@both-\ta@bcor\relax,%
+ bindingoffset=\ta@bcor,%
+ }%
+ \fi%
+ \def\tud@geometry@vmargin{%
+ top=\tud@dim@top,%
+ headheight=\tud@ta@headheight,%
+ headsep=\tud@dim@headsep,%
+ bottom=\tud@dim@bottom,%
+ footskip=\tud@dim@footskip,%
+ \tud@geometry@hincl,%
+ \tud@geometry@fincl,%
+ }%
+ \def\tud@geometry@pmargin{%
+ top={%
+ \dimexpr\tud@dim@headheight+\tud@dim@barheight+\tud@dim@headsep\relax%
+ },%
+ headheight=\dimexpr\tud@dim@headheight+\tud@dim@barheight\relax,%
+ headsep=\tud@dim@headsep,%
+ bottom=\tud@dim@bottom,%
+ footskip=\tud@dim@footskip,%
+ }%
+ \def\tud@geometry@dmargin{%
+ \if@fincl%
+ bottom=\dimexpr%
+ \tud@dim@bottom+\tud@dim@ddcfoot+\tud@dim@footskip\relax,%
+ \else%
+ bottom=\dimexpr\tud@dim@bottom+\tud@dim@ddcfoot\relax,%
+ \fi%
+ footskip=\dimexpr\tud@dim@footskip+\tud@dim@ddcfoot\relax,%
+ }%
+ \setlength{\tud@ta@headdiff}{%
+ \dimexpr\tud@dim@headheight+\tud@dim@barheight%
+ +\tud@dim@headsep-\tud@dim@top\relax%
+ }%
+ \setlength{\tud@dim@ddcdiff}{\dimexpr%
+ \tud@dim@ddcfoot+2\tud@dim@footskip-\tud@dim@bottom\relax%
+ }%
+ \fi%
+ \ifdim\tud@ta@headdiff<\z@\relax\setlength{\tud@ta@headdiff}{\z@}\fi%
+ \global\tud@ta@headdiff=\tud@ta@headdiff%
+ \ifdim\tud@dim@ddcdiff<\z@\relax\setlength{\tud@dim@ddcdiff}{\z@}\fi%
+ \global\tud@dim@ddcdiff=\tud@dim@ddcdiff%
+ \setlength{\tud@dim@headingsvskip}{.6\tud@dim@headheight}%
+ \global\tud@dim@headingsvskip=\tud@dim@headingsvskip%
+ \tud@geometry@@process%
+}
+\newcommand*\tud@geometry@@process{%
+ \edef\@tempa{%
+ \tud@geometry@hmargin,%
+ \tud@geometry@pmargin,%
+ \tud@geometry@dmargin,%
+ ignorehead,ignorefoot,%
+ }%
+ \expandafter\newgeometry\expandafter{\@tempa}%
+ \savegeometry{tudareaddc}%
+ \edef\@tempa{%
+ \tud@geometry@hmargin,%
+ \tud@geometry@pmargin,%
+ ignorehead,%
+ \tud@geometry@fincl%
+ }%
+ \expandafter\newgeometry\expandafter{\@tempa}%
+ \savegeometry{tudarea}%
+ \edef\@tempa{%
+ \tud@geometry@hmargin,%
+ \tud@geometry@vmargin,%
+ }%
+ \expandafter\newgeometry\expandafter{\@tempa}%
+ \savegeometry{typearea}%
+}
+\newcommand*\tud@geometry@hincl{%
+ \if@hincl%
+ includehead,%
+ \else%
+ ignorehead,%
+ \fi%
+}
+\newcommand*\tud@geometry@fincl{%
+ \if@fincl%
+ includefoot,%
+ \else%
+ ignorefoot,%
+ \fi%
+}
+\newcommand*\tud@ps{tudheadings}
+\newcommand*\tud@ps@select{%
+ \expandafter\pagestyle\expandafter{\tud@ps}%
+}
+\newcommand*\tud@currentpagestyle{}
+\newcommand*\tud@currentpagestyle@set{%
+ \ifdefvoid{\tud@currentpagestyle}{%
+ \xdef\tud@currentpagestyle{\currentpagestyle}%
+ }{}%
+}
+\newcommand*\tud@currentpagestyle@reset{%
+ \expandafter\pagestyle\expandafter{\tud@currentpagestyle}%
+ \let\tud@currentpagestyle\relax%
+}
+\NewEnviron{tudpage}[1][]{%
+ \tud@currentpagestyle@set%
+ \clearpage\def\tud@ps{tudheadings}%
+ \TUD@parameter@set[tudpage]{#1}%
+ \tud@ps@select%
+ \tud@multicols@check%
+ \ifnum\tud@multicols>1\relax%
+ \begin{multicols}{\tud@multicols}%
+ \fi%
+ \BODY%
+ \ifnum\tud@multicols>1\relax%
+ \end{multicols}%
+ \fi%
+}[%
+ \aftergroup\tud@currentpagestyle@reset%
+ \clearpage%
+]
+\TUD@parameter{tudpage}{%
+ \TUD@parameter@define{language}{\selectlanguage{#1}}%
+ \TUD@parameter@define{columns}{\def\tud@multicols{#1}}%
+ \TUD@parameter@define{color}[HKS41]{\def\tud@head@color{#1}}%
+ \TUD@parameter@let{colour}{color}%
+ \TUD@parameter@define{widehead}[true]{\TUDoption{widehead}{#1}}%
+ \TUD@parameter@define{ddc}[true]{\TUDoption{ddc}{#1}}%
+ \TUD@parameter@define{ddchead}[true]{\TUDoption{ddchead}{#1}}%
+ \TUD@parameter@define{ddcfoot}[true]{\TUDoption{ddcfoot}{#1}}%
+ \TUD@parameter@define{cdfont}[true]{\TUDoption{cdfont}{#1}}%
+ \TUD@parameter@define{barfont}[true]{\TUDoption{barfont}{#1}}%
+ \TUD@parameter@define{pagestyle}{%
+ \ifstr{#1}{empty}{\renewcommand*\tud@ps{empty.tudheadings}}{%
+ \ifstr{#1}{empty.tudheadings}{\renewcommand*\tud@ps{empty.tudheadings}}{%
+ \ifstr{#1}{plain}{\renewcommand*\tud@ps{plain.tudheadings}}{%
+ \ifstr{#1}{plain.tudheadings}{\renewcommand*\tud@ps{plain.tudheadings}}{%
+ \ifstr{#1}{headings}{\renewcommand*\tud@ps{tudheadings}}{%
+ \ifstr{#1}{tudheadings}{\renewcommand*\tud@ps{tudheadings}}{%
+ \TUD@parameter@wrn{pagestyle}{%
+ headings, plain, empty or any tudheadings page style type%
+ }%
+ }}}}}}%
+ }%
+ \TUD@parameter@define{headlogo}{\headlogo{#1}}%
+ \TUD@parameter@let{logo}{headlogo}%
+ \TUD@parameter@sethandler{\tud@environmenthandler{#1}}%
+}
+%%% From File: tudscr-layout.dtx
+\newcommand*\tud@color@partfont{black}
+\newcommand*\tud@font@heading{%
+ \if@tud@din\dinbn\tud@raggedright\else\tud@RaggedRight\fi%
+}
+\newcommand*\tud@font@heading@size{\Huge}
+\newkomafont{parttitle}{%
+ \tud@font@heading%
+ \color{\tud@color@partfont}%
+ \usesizeofkomafont{section}%
+}
+\newlength{\pageheadingsvskip}
+\newlength{\headingsvskip}
+\newcommand*\tud@layout@process{%
+ \ifcase \tud@layout@cover\relax%
+ \stdbool@lock{@tud@cover@cdlayout}{false}%
+ \else%
+ \stdbool@lock{@tud@cover@cdlayout}{true}%
+ \fi%
+ \ifcase \tud@layout@title\relax%
+ \tud@cmd@restore{maketitle}%
+ \tud@cmd@restore{@maketitle}%
+ \tud@cmd@restore{titlepagestyle}%
+ \tud@font@koma@unset{titlehead}%
+ \tud@font@koma@unset{title}%
+ \tud@font@koma@unset{subtitle}%
+ \tud@font@koma@unset{subject}%
+ \tud@font@koma@unset{author}%
+ \tud@font@koma@unset{date}%
+ \tud@font@koma@unset{publishers}%
+ \else%
+ \tud@cmd@store{maketitle}%
+ \tud@cmd@store{@maketitle}%
+ \tud@cmd@store{titlepagestyle}%
+ \tud@font@koma@set{titlehead}{\usekomafont{titlepage}}%
+ \tud@font@koma@set{title}{%
+ \usekomafont{disposition}%
+ \tud@font@heading%
+ \tud@font@heading@size%
+ \color{\tud@color@titlefont}%
+ }%
+ \tud@font@koma@set{subtitle}{%
+ \tud@font@heading%
+ \usesizeofkomafont{section}%
+ \color{\tud@color@titlefont}%
+ }%
+ \tud@font@koma@set{subject}{%
+ \fontfamily{\sfdefault}%
+ \fontseries{\bfdefault}%
+ \selectfont%
+ \color{\tud@color@titlefont}%
+ }%
+ \tud@font@koma@set{author}{\usekomafont{subject}}%
+ \tud@font@koma@set{date}{\usekomafont{titlepage}}%
+ \tud@font@koma@set{publishers}{\usekomafont{author}}%
+ \let\maketitle\tud@maketitle%
+ \renewcommand*\titlepagestyle{plain.tudheadings}%
+ \fi%
+ \ifcase \tud@layout@part\relax%
+ \tud@cmd@restore{partheadstartvskip}%
+ \tud@cmd@restore{partheadmidvskip}%
+ \tud@cmd@restore{@part}%
+ \tud@sectioning@reset[addpart]{part}%
+ \tud@font@koma@unset{partnumber}%
+ \else%
+ \tud@cmd@store{partheadstartvskip}%
+ \tud@cmd@store{partheadmidvskip}%
+ \tud@cmd@store{@part}%
+ \tud@sectioning@set[addpart]{part}{%
+ \tud@font@heading%
+ \color{\tud@color@partfont}%
+ }%
+ \tud@font@koma@set{partnumber}{%
+ \tud@font@heading%
+ \color{\tud@color@partfont}%
+ }%
+ \renewcommand*\partheadmidvskip{\par\nobreak\vskip.3\baselineskip}%
+ \let\partheadstartvskip\tud@partheadstartvskip%
+ \let\@part\tud@@part%
+ \fi%
+ \ifcase \tud@layout@part\relax%
+ \tud@sectioning@reset[addsec]{section}%
+ \tud@sectioning@reset{subsection}%
+ \tud@sectioning@reset{subsubsection}%
+ \tud@sectioning@reset{minisec}%
+ \else%
+ \tud@sectioning@set[addsec]{section}{\tud@font@heading}%
+ \tud@sectioning@set{subsection}{\tud@font@heading}%
+ \tud@sectioning@set{subsubsection}{\tud@font@heading}%
+ \tud@sectioning@set{minisec}{\tud@font@heading}%
+ \fi%
+}
+\AtEndPreamble{%
+ \let\tud@font@heading@size\size@part%
+ \tud@layout@process%
+}
+\newcommand*\tud@partheadstartvskip{}
+\let\tud@partheadstartvskip\partheadstartvskip%
+\pretocmd{\tud@partheadstartvskip}{%
+ \def\tud@color@partfont{black}%
+ \ifcase \tud@layout@part\relax\or\or%
+ \def\tud@color@partfont{HKS41}%
+ \fi%
+}{}{\tud@patch@wrn{tud@partheadstartvskip}}
+\let\tud@@part\@part
+\patchcmd{\tud@@part}%
+ {\size@partnumber{\partformat}}%
+ {\size@partnumber{\tud@makeuppercase\partformat}}%
+ {}{\tud@patch@wrn{@part}}%
+\providecommand*\SecDef[2]{\@ifstar{#2}{\scr@section@dblarg{#1}}}
+\providecommand\scr@section@dblarg[1]{%
+ \kernel@ifnextchar[%]
+ {#1}%
+ {\scr@section@xdblarg{#1}}%
+}
+\providecommand\scr@section@xdblarg[2]{%
+ \begingroup
+ \edef\reserved@a{%
+ \unexpanded{\endgroup\let\scr@osectarg\z@#1[{#2}]{#2}\def\scr@osectarg}%
+ {\scr@osectarg}}%
+ \reserved@a
+}
+\newcommand*\tud@part{}
+\newcommand*\tud@spart{}
+\newcommand*\tud@addpart{}
+\newcommand*\tud@saddpart{}
+\newcommand*\tud@section{}
+\newcommand*\tud@ssection{}
+\newcommand*\tud@subsection{}
+\newcommand*\tud@ssubsection{}
+\newcommand*\tud@subsubsection{}
+\newcommand*\tud@ssubsubsection{}
+\newcommand*\tud@sectioning@set[3][]{%
+ \tud@cmd@store{#2}%
+ \ifstr{#2}{minisec}{%
+ \renewcommand\minisec[1]{\@@tud@minisec{\tud@makeuppercase{##1}}}%
+ }{%
+ \tud@sectioning@case{#2}%
+ \ifstrempty{#1}{}{%
+ \tud@cmd@store{#1}%
+ \tud@sectioning@case{#1}%
+ }%
+ }%
+ \tud@font@koma@set{#2}{#3}%
+}
+\newcommand*\tud@sectioning@case[1]{%
+ \csedef{#1}{%
+ \noexpand\SecDef%
+ \expandafter\expandafter\expandafter\noexpand%
+ \expandafter\csname tud@#1\endcsname%
+ \expandafter\expandafter\expandafter\noexpand%
+ \expandafter\csname tud@s#1\endcsname%
+ }%
+ \csedef{tud@#1}[##1]##2{%
+ \expandafter\expandafter\expandafter\noexpand%
+ \expandafter\csname @@tud@#1\endcsname%
+ [{##1}]{\noexpand\tud@sectioning@uppercase{##2}}%
+ }%
+ \csedef{tud@s#1}##1{%
+ \expandafter\expandafter\expandafter\noexpand%
+ \expandafter\csname @@tud@#1\endcsname*%
+ {\noexpand\tud@sectioning@uppercase{##1}}%
+ }%
+ \ifstr{#1}{addsec}{%
+ \def\tud@addsec[##1]##2{%
+ \@@tud@addsec[{##1}]{\tud@sectioning@uppercase##2}%
+ }%
+ \def\tud@saddsec##1{%
+ \@@tud@addsec*{\tud@sectioning@uppercase##1}%
+ }%
+ }{}%
+}
+\newcommand*\tud@sectioning@reset[2][]{%
+ \tud@cmd@restore{#2}%
+ \ifstrempty{#1}{}{\tud@cmd@restore{#1}}%
+ \tud@font@koma@unset{#2}%
+}
+\robustify{\footnote}%
+\newcommand*\tud@sectioning@uppercase[1]{%
+ \begingroup%
+ \if@tud@symbolheadings%
+ \let\c@footnote\c@symbolheadings%
+ \renewcommand*\thefootnote{\fnsymbol{symbolheadings}}%
+ \fi%
+ \tud@makeuppercase{#1}%
+ \endgroup%
+}
+\newcommand*\tud@font@koma@set[2]{%
+ \ifcsdef{tud@font@koma@#1}{}{\addtokomafont{#1}{\@nameuse{tud@font@koma@#1}}}%
+ \@namedef{tud@font@koma@#1}{#2}%
+}
+\newcommand*\tud@font@koma@reset[1]{%
+ \addtokomafont{#1}{\@nameuse{tud@font@koma@#1}}%
+}
+\newcommand*\tud@font@koma@unset[1]{%
+ \ifcsdef{tud@font@koma@#1}{\@namedef{tud@font@koma@#1}{\relax}}{}%
+}
+%%% From File: tudscr-frontmatter.dtx
+\newcommand*\tud@fm@check[2]{%
+ \ifnumless{\@nameuse{tud@#1@level}}{3}{%
+ \@tempswatrue%
+ \ifboolexpr{bool {@tud@#1@fil} and bool {@tud@#1@multi}}{%
+ \setbox0\vbox{%
+ \ifcase\@nameuse{tud@#1@level}\relax\or\or%
+ \vspace*{-\parskip}%
+ {\usekomafont{section}\vspace*{-\baselineskip}}%
+ \fi%
+ #2%
+ }%
+ \ifdim\textheight<\dimexpr\ht0+\dp0\relax%
+ \ClassWarning{\tudcls@name}{%
+ The given content within the `#1'\MessageBreak%
+ environment is too large, so it wasn't possible\MessageBreak%
+ to center the body vertically. Setting the option\MessageBreak%
+ `#1=nofill' would be a solution. You\MessageBreak%
+ could also use multiple `#1' environments%
+ }%
+ \@tempswafalse%
+ \fi%
+ }{}%
+ }{}%
+ #2%
+}
+\newcommand*\tud@fm@set[3]{%
+ \if@twocolumn%
+ \tud@fm@body{#1}{#2}{#3}%
+ \else%
+ \if@titlepage%
+ \ifbool{@tud@#1@multi}{}{\clearpage}%
+ \ifbool{@tud@#1@fil}{%
+ \ifcase\@nameuse{tud@#1@level}\relax\or\or%
+ \vspace*{-\parskip}%
+ {\usekomafont{section}\vspace*{-2\baselineskip}}%
+ \fi%
+ \if@tempswa\vspace*{\z@ \@plus 1fil}\fi%
+ }{}%
+ \tud@fm@body{#1}{#2}{#3}%
+ \ifbool{@tud@#1@fil}{\vspace*{\z@ \@plus 2fil}}{}%
+ \else%
+ \ifnum\@nameuse{tud@#1@level}<2\begin{\tud@quoting}\fi%
+ \tud@fm@body{#1}{#2}{#3}%
+ \ifnum\@nameuse{tud@#1@level}<2\end{\tud@quoting}\fi%
+ \fi%
+ \fi%
+}
+\newcommand*\tud@fm@body[3]{%
+ \ifnum\tud@multicols>1\relax%
+ \begin{multicols}{\tud@multicols}[{\tud@fm@head{#1}{#2}}]%
+ \else%
+ \ifbool{@tud@#1@multi}{%
+ \ifcase\@nameuse{tud@#1@level}\relax\or%
+ \vspace{\dimexpr\bigskipamount-\parskip\relax}%
+ \fi%
+ }{}%
+ \tud@fm@head{#1}{#2}%
+ \fi%
+ #3\par%
+ \ifnum\tud@multicols>1\relax%
+ \end{multicols}%
+ \fi%
+}
+\newcommand*\tud@fm@head[2]{%
+ \ifcase\@nameuse{tud@#1@level}\relax%
+ \if@titlepage\endgraf\fi%
+ \csname phantomsection\endcsname%
+ \or%
+ \if@titlepage\endgraf\fi%
+ \csname phantomsection\endcsname%
+ \@afterindentfalse%
+ \begingroup%
+ \centering%
+ \normalfont\sectfont\nobreak#2%
+ \@endparpenalty\@M%
+ \endgraf%
+ \endgroup%
+ \nopagebreak%
+ \vskip\dimexpr\bigskipamount-\parskip\relax%
+ \@afterheading%
+ \or%
+ \section*{#2}%
+ \ifx\@mkboth\@gobbletwo\else\markright{\MakeMarkcase{#2}}\fi%
+ \fi%
+ \ifbool{@tud@#1@markboth}{%
+ \markboth{\MakeMarkcase{#2}}{\MakeMarkcase{#2}}%
+ }{}%
+ \ifbool{@tud@#1@toc}{%
+ \ifbool{@tud@#1@toc@leveldown}{%
+ \addsubsectiontocentry{}{#2}%
+ }{%
+ \addsectiontocentry{}{#2}%
+ }
+ }{}%
+}
+\newcommand*\tud@fm@next[2]{%
+ \TUD@parameter@set[#1]{#2}%
+ \if@twocolumn%
+ \ifbool{@tud@#1@multi}{\par}{\newpage}
+ \else%
+ \if@titlepage%
+ \ifbool{@tud@#1@fil}{%
+ \vspace*{\z@ \@plus 1fil}%
+ \ifbool{@tud@#1@multi}{}{%
+ \vspace*{\z@ \@plus 1fil}%
+ \clearpage%
+ \ifcase\@nameuse{tud@#1@level}\relax\or\or%
+ \vspace*{-\parskip}%
+ {\usekomafont{section}\vspace*{-2\baselineskip}}%
+ \fi%
+ \vspace*{\z@ \@plus 1fil}%
+ }%
+ }{\ifbool{@tud@#1@multi}{}{\clearpage}}%
+ \else%
+ \ifnum\@nameuse{tud@#1@level}<2
+ \end{\tud@quoting}
+ \begin{\tud@quoting}
+ \fi%
+ \fi%
+ \fi%
+}
+\newcommand*\tud@fm@pagestyle[2]{%
+ \if@titlepage%
+ \ifcsdef{ps@#2}{\renewcommand*\tud@ps{#2}}{%
+ \ClassError{\tudcls@name}{`#2' is no valid pagestyle}{}%
+ }%
+ \else%
+ \ClassWarning{\tudcls@name}{%
+ The key `pagestyle' can only be used with\MessageBreak%
+ activated option `titlepage'%
+ }%
+ \fi%
+}
+\newcommand*\tud@quoting{quotation}
+\AfterPackage{quoting}{\renewcommand*\tud@quoting{quoting}}
+\csundef{abstract}
+\csundef{endabstract}
+\NewEnviron{abstract}[1][]{%
+ \ifnumless{\@nameuse{tud@abstract@level}}{3}{}{\@titlepagetrue}%
+ \if@titlepage%
+ \tud@currentpagestyle@set%
+ \clearpage\def\tud@ps{empty}%
+ \fi%
+ \TUD@parameter@set[abstract]{#1}%
+ \if@tud@abstract@markboth\def\tud@ps{headings}\fi%
+ \tud@multicols@check%
+ \if@titlepage\tud@ps@select\fi%
+ \tud@fm@check{abstract}{\tud@fm@set{abstract}{\abstractname}{\BODY}}%
+}[%
+ \if@titlepage%
+ \aftergroup\tud@currentpagestyle@reset%
+ \clearpage%
+ \fi%
+]
+\TUD@parameter{abstract}{%
+ \TUD@parameter@define{language}{\selectlanguage{#1}}%
+ \TUD@parameter@define{columns}{\def\tud@multicols{#1}}%
+ \TUD@parameter@define{pagestyle}{\tud@fm@pagestyle{abstract}{#1}}%
+ \TUD@parameter@define{markboth}[true]{%
+ \ifstr{#1}{true}{\@tud@abstract@markbothtrue}{%
+ \ifstr{#1}{on}{\@tud@abstract@markbothtrue}{%
+ \ifstr{#1}{yes}{\@tud@abstract@markbothtrue}{%
+ \ifstr{#1}{false}{\@tud@abstract@markbothfalse}{%
+ \ifstr{#1}{no}{\@tud@abstract@markbothfalse}{%
+ \ifstr{#1}{off}{\@tud@abstract@markbothfalse}{%
+ \@tud@abstract@markbothfalse%
+ \manualmark\markboth{#1}{#1}%
+ }}}}}}%
+ }%
+ \TUD@parameter@define{abstract}{\TUDoption{abstract}{#1}}%
+ \TUD@parameter@define{option}{\TUDoption{abstract}{#1}}%
+ \TUD@parameter@sethandler{\tud@environmenthandler{#1}}%
+}
+\newcommand*\nextabstract[1][]{%
+ \ifnum\tud@multicols>1\relax%
+ \end{multicols}%
+ \else%
+ \ifbool{@tud@abstract@multi}{%
+ \ifcase\@nameuse{tud@abstract@level}\relax\or%
+ \vspace{\dimexpr\bigskipamount-\parskip\relax}%
+ \fi%
+ }{}%
+ \fi%
+ \tud@fm@next{abstract}{#1}%
+ \ifnum\tud@multicols>1\relax%
+ \begin{multicols}{\tud@multicols}[{\tud@fm@head{abstract}{\abstractname}}]%
+ \else%
+ \tud@fm@head{abstract}{\abstractname}%
+ \fi%
+}
+\newif\if@tud@declarations
+\NewEnviron{declarations}[1][]{%
+ \ifnumless{\@nameuse{tud@declaration@level}}{3}{}{\@titlepagetrue}%
+ \if@titlepage%
+ \tud@currentpagestyle@set%
+ \clearpage\def\tud@ps{empty}%
+ \fi%
+ \@tud@declarationstrue%
+ \TUD@parameter@set[declaration]{#1}%
+ \if@tud@declaration@markboth\def\tud@ps{headings}\fi%
+ \tud@multicols@check%
+ \if@titlepage\tud@ps@select\fi%
+ \tud@fm@check{declaration}{\BODY}%
+}[%
+ \if@titlepage%
+ \aftergroup\tud@currentpagestyle@reset%
+ \clearpage%
+ \fi%
+]
+\TUD@parameter{declaration}{%
+ \TUD@parameter@define{language}{\selectlanguage{#1}}%
+ \TUD@parameter@define{columns}{\def\tud@multicols{#1}}%
+ \TUD@parameter@define{pagestyle}{\tud@fm@pagestyle{declaration}{#1}}%
+ \TUD@parameter@define{markboth}[true]{%
+ \ifstr{#1}{true}{\@tud@declaration@markbothtrue}{%
+ \ifstr{#1}{on}{\@tud@declaration@markbothtrue}{%
+ \ifstr{#1}{yes}{\@tud@declaration@markbothtrue}{%
+ \ifstr{#1}{false}{\@tud@declaration@markbothfalse}{%
+ \ifstr{#1}{no}{\@tud@declaration@markbothfalse}{%
+ \ifstr{#1}{off}{\@tud@declaration@markbothfalse}{%
+ \@tud@declaration@markbothfalse%
+ \manualmark\markboth{#1}{#1}%
+ }}}}}}%
+ }%
+ \TUD@parameter@define{company}{\def\@company{#1}}%
+ \TUD@parameter@define{supporter}{\def\@supporter{#1}}%
+ \TUD@parameter@define{place}{\def\@place{#1}}%
+ \TUD@parameter@define{closing}{\def\@confirmationclosing{#1}}%
+ \TUD@parameter@define{declaration}{\TUDoption{declaration}{#1}}%
+ \TUD@parameter@define{option}{\TUDoption{declaration}{#1}}%
+ \TUD@parameter@sethandler{\tud@environmenthandler{#1}}%
+}
+\newcommand*\declaration[1][]{%
+ \ifbool{@tud@declarations}{%
+ \begingroup%
+ \TUD@parameter@set[declaration]{#1}%
+ \tud@fm@confirmation%
+ \tud@fm@blocking
+ \endgroup%
+ }{%
+ \begin{declarations}[#1]%
+ \tud@fm@confirmation%
+ \tud@fm@blocking%
+ \end{declarations}%
+ }%
+}
+\newcommand*\confirmation[1][]{%
+ \TUD@parameter@sethandler[declaration]{\def\@supporter{##1}}%
+ \ifbool{@tud@declarations}{%
+ \begingroup%
+ \TUD@parameter@set[declaration]{#1}%
+ \tud@fm@confirmation%
+ \endgroup%
+ }{%
+ \begin{declarations}[#1]%
+ \tud@fm@confirmation%
+ \end{declarations}%
+ }%
+ \TUD@parameter@sethandler[declaration]{\tud@environmenthandler{##1}}%
+}
+\newcommand*\tud@fm@confirmation{%
+ \tud@fm@check{declaration}{%
+ \tud@fm@set{declaration}{\confirmationname}{%
+ \confirmationtext\vskip0pt\@confirmationclosing%
+ }%
+ }%
+}
+\newcommand*\blocking[1][]{%
+ \TUD@parameter@sethandler[declaration]{\def\@company{##1}}%
+ \ifbool{@tud@declarations}{%
+ \begingroup%
+ \TUD@parameter@set[declaration]{#1}%
+ \tud@fm@blocking%
+ \endgroup%
+ }{%
+ \begin{declarations}[#1]%
+ \tud@fm@blocking%
+ \end{declarations}%
+ }%
+ \TUD@parameter@sethandler[declaration]{\tud@environmenthandler{##1}}%
+}
+\newcommand*\tud@fm@blocking{%
+ \tud@fm@check{declaration}{%
+ \tud@fm@set{declaration}{\blockingname}{\blockingtext}%
+ }%
+}
+%%% From File: tudscr-title.dtx
+\newkomafont{thesis}{\usekomafont{title}\LARGE}
+\newkomafont{titlepage}{%
+ \usekomafont{subject}%
+ \fontseries{\mddefault}%
+ \selectfont%
+ \large%
+}
+\newcommand*\tud@color@titlefont{black}
+\newcommand*\tud@color@titlepage{white}
+\newcommand*\tud@color@titlehead{black}
+\newcommand*\tud@titlepagenumber{}%
+\let\tud@titlepagenumber\relax%
+\newcommand*\tud@maketitle[1][]{%
+ \begingroup%
+ \TUD@parameter@set[title]{#1}%
+ \ifcase \tud@layout@title
+ \ifx\tud@titlepagenumber\relax\gdef\tud@titlepagenumber{1}\fi%
+ \tud@cmd@use{maketitle}[\tud@titlepagenumber]%
+ \else%
+ \if@titlepage%
+ \tud@maketitlepage%
+ \else%
+ \ifcase \tud@layout@title\relax\or\else%
+ \def\tud@color@titlefont{HKS41}%
+ \def\tud@color@titlehead{HKS41}%
+ \fi%
+ \let\@maketitle\tud@@maketitle%
+ \ifx\tud@titlepagenumber\relax\gdef\tud@titlepagenumber{1}\fi%
+ \if@twocolumn%
+ \tud@title@twocolumn[{\tud@cmd@use{maketitle}[\tud@titlepagenumber]}]%
+ \else%
+ \tud@cmd@use{maketitle}[\tud@titlepagenumber]%
+ \fi%
+ \fi%
+ \fi%
+ \endgroup%
+}
+\TUD@parameter{title}{%
+ \TUD@parameter@define{pagenumber}{\def\tud@titlepagenumber{#1}}%
+ \TUD@parameter@define{cdfont}[true]{\TUDoption{cdfont}{#1}}%
+ \TUD@parameter@sethandler{\TUD@parameter@set[title]{pagenumber=#1}}%
+}%
+\robustify{\thanks}%
+\robustify{\footnotemark}%
+\newcommand*\tud@titleback{}%
+\newcommand*\tud@maketitlepage{%
+ \ifcase \tud@layout@title\relax\or\or%
+ \def\tud@color@titlefont{HKS41}%
+ \def\tud@color@titlehead{HKS41}%
+ \or%
+ \def\tud@color@titlepage{HKS41}%
+ \def\tud@color@titlefont{HKS41!30}%
+ \def\tud@color@titlehead{white}%
+ \fi%
+ \begin{titlepage}%
+ \ifx\tud@titlepagenumber\relax\else%
+ \setcounter{page}{\tud@titlepagenumber}%
+ \fi%
+ \if@tud@cover\else%
+ \let\footnotesize\small%
+ \let\footnoterule\relax%
+ \let\footnote\thanks%
+ \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
+ \let\@oldmakefnmark\@makefnmark%
+ \renewcommand*\@makefnmark{\rlap\@oldmakefnmark}%
+ \tud@footnote@unhyper%
+ \ifx\@extratitle\@empty%
+ \if@titlepageiscoverpage%
+ \ClassWarning{\tudcls@name}{%
+ Using option `titlepage=firstiscover' is only\MessageBreak%
+ possible with an extra title. Alternatively you can\MessageBreak%
+ create a cover with `\string\makecover'%
+ }%
+ \fi%
+ \else%
+ \if@titlepageiscoverpage%
+ \edef\titlepage@restore{%
+ \noexpand\endgroup%
+ \noexpand\global\noexpand\@colht\the\@colht%
+ \noexpand\global\noexpand\@colroom\the\@colroom%
+ \noexpand\global\vsize\the\vsize%
+ \noexpand\global\noexpand\@titlepageiscoverpagefalse%
+ \noexpand\let\noexpand\titlepage@restore\noexpand\relax%
+ }%
+ \begingroup%
+ \topmargin=\dimexpr \coverpagetopmargin-1in\relax%
+ \oddsidemargin=\dimexpr \coverpageleftmargin-1in\relax%
+ \evensidemargin=\dimexpr \coverpageleftmargin-1in\relax%
+ \textwidth=\dimexpr%
+ \paperwidth-\coverpageleftmargin-\coverpagerightmargin\relax%
+ \textheight=\dimexpr%
+ \paperheight-\coverpagetopmargin-\coverpagebottommargin\relax%
+ \headheight=0pt%
+ \headsep=0pt%
+ \footskip=\baselineskip%
+ \@colht=\textheight%
+ \@colroom=\textheight%
+ \vsize=\textheight%
+ \columnwidth=\textwidth%
+ \hsize=\columnwidth%
+ \linewidth=\hsize%
+ \else%
+ \let\titlepage@restore\relax%
+ \fi%
+ \noindent\@extratitle\next@tdpage%
+ \fi%
+ \fi%
+ \if@tud@bookmarks%
+ \if@tud@cover%
+ \tudbookmark[1]{\coverpagename}{cover}%
+ \ifdef{\bookmarksetup}{\bookmarksetup{startatroot}}{}%
+ \else%
+ \tudbookmark[1]{\titlepagename}{title}%
+ \ifdef{\bookmarksetup}{\bookmarksetup{startatroot}}{}%
+ \fi%
+ \fi%
+ \vspace*{\dimexpr%
+ \tud@dim@headdiff+\tud@dim@headingsvskip-\baselineskip+\parskip\relax%
+ }%
+ \vspace*{\pageheadingsvskip}%
+ \setparsizes{\z@}{\z@}{\z@\@plus1fil}\par@updaterelative%
+ \begingroup%
+ \usekomafont{titlepage}%
+ \setlength{\@tempdima}{\z@}%
+ \ifx\@titlehead\@empty\else%
+ \setbox0\vbox{%
+ \begin{minipage}[t]{\textwidth}%
+ {\usekomafont{titlehead}{\@titlehead\par\null}}%
+ \end{minipage}\newline\null%
+ }%
+ \addtolength{\@tempdima}{\dimexpr\ht0+\dp0\relax}%
+ \fi%
+ \tud@letsubjectthesis%
+ \ifx\@subject\@empty\else%
+ \setbox1\vbox{{\usekomafont{subject}{\@subject\par\null}}}%
+ \addtolength{\@tempdima}{\dimexpr\ht1+\dp1+1pt\relax}%
+ \fi%
+ \vspace*{-\@tempdima}%
+ \ifx\@titlehead\@empty\else\usebox0\par\fi%
+ \ifx\@subject\@empty\else\usebox1\par\fi%
+ {\usekomafont{title}{\tud@title@uppercase{\@title}\par}}%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ \ifx\@subtitle\@empty\else%
+ {\usekomafont{subtitle}{\tud@title@uppercase{\@subtitle}\par}}%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ \fi%
+ \vskip 2\bigskipamount%
+ \tud@check@author%
+ \tud@multiple@split{@author}\par%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ \ifx\@thesis\@empty%
+ \if@tud@cover\else%
+ \ifx\@date\@empty\else%
+ \vskip 2ex\@plus.1fill%
+ {\usekomafont{date}{\@date\space\ignorespaces\@datemore\par}}%
+ \fi%
+ \fi%
+ \vskip 2ex\@plus.25fill%
+ \else%
+ \vskip 2ex\@plus.25fill%
+ \if@tud@subjectthesis\else%
+ {\usekomafont{thesis}{\tud@title@uppercase{\@thesis}\par}}%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ \fi%
+ \if@tud@cover\else%
+ \ifx\@graduation\@empty\else%
+ \def\@tempc{%
+ \@graduation%
+ \ifx\@graduationabbr\@empty\else\space\@graduationabbr\fi%
+ }%
+ {\usekomafont{titlepage}{\graduationtext\par}}%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ \if@tud@subjectthesis%
+ {\usekomafont{subject}{\@tempc\par}}%
+ \else%
+ {\usekomafont{thesis}{\tud@title@uppercase{\@tempc}\par}}%
+ \fi%
+ \vskip 3ex\@plus1ex\@minus1ex%
+ \fi%
+ \fi%
+ \vskip 2ex\@plus.5fill%
+ \fi%
+ \if@tud@cover\else%
+ \tud@title@names{supervisor}%
+ \tud@title@names{referee}%
+ \tud@title@names{advisor}%
+ \tud@title@names{professor}%
+ \ifx\@thesis\@empty\else%
+ \ifdefstring{\@date}{\today}{%
+ \ifdefvoid{\@duedate}{%
+ \ClassWarning{\tudcls@name}{%
+ `\string\submissiondate' or `\string\date' was not given.%
+ \MessageBreak%
+ Since a thesis is a self-contained work, an end\MessageBreak%
+ date should be specified by the author.\MessageBreak%
+ Nevertheless, today's date is used%
+ }%
+ }{%
+ \ClassWarning{\tudcls@name}{%
+ `\string\submissiondate' or `\string\date' was not given.%
+ \MessageBreak It's substituted by the given due date%
+ }%
+ \let\@date\@duedate%
+ }%
+ }{}%
+ \ifx\@date\@empty\else%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ \ifstr{\datetext}{}{}{\datetext\@titledelim}%
+ {\usekomafont{date}{\@date\space\ignorespaces\@datemore\par}}%
+ \ifx\@defensedate\@empty\else%
+ \ifstr{\defensedatetext}{}{}{\defensedatetext\@titledelim}%
+ {\usekomafont{date}{\@defensedate\par}}%
+ \fi%
+ \fi%
+ \fi%
+ \fi%
+ \ifx\@publishers\@empty\else%
+ \vskip 2ex\@plus.25fill%
+ {\usekomafont{publishers}{\@publishers\par}}%
+ \vskip\z@\@plus.25fill%
+ \fi%
+ \endgroup%
+ \let\tud@titleback\relax%
+ \if@twoside%
+ \@tempswatrue%
+ \ifx\@uppertitleback\@empty\ifx\@lowertitleback\@empty%
+ \@tempswafalse%
+ \fi\fi%
+ \if@tempswa%
+ \gdef\tud@titleback{%
+ \next@tpage%
+ \begin{minipage}[t]{\textwidth}%
+ \@uppertitleback%
+ \end{minipage}\par%
+ \vfill%
+ \begin{minipage}[b]{\textwidth}%
+ \@lowertitleback%
+ \end{minipage}\par%
+ \@thanks\let\@thanks\@empty%
+ }%
+ \fi%
+ \fi%
+ \def\@tempa{%
+ \tud@pagecolor{\tud@color@titlepage}%
+ \def\tud@head@color{\tud@color@titlehead}%
+ \color{\tud@color@titlefont}%
+ \addtokomafont{pagenumber}{\sffamily\color{\tud@color@titlefont}}%
+ \addtokomafont{footnote}{\sffamily\color{\tud@color@titlefont}}%
+ \thispagestyle{empty.tudheadings}%
+ \tud@ddc@enlargepage%
+ }%
+ \if@tud@cover%
+ \begingroup%
+ \@tempa%
+ \cleardoubleemptypage%
+ \tud@restorepagecolor%
+ \endgroup%
+ \else%
+ \begingroup%
+ \@tempa%
+ \begingroup%
+ \let\thispagestyle\@gobble%
+ \next@tpage%
+ \endgroup%
+ \tud@restorepagecolor%
+ \endgroup%
+ \tud@titleback%
+ \ifx\@dedication\@empty\else%
+ \next@tdpage\null\vfill%
+ {\centering\usekomafont{dedication}{\@dedication\par}}%
+ \vskip\z@\@plus3fill%
+ \@thanks\let\@thanks\@empty%
+ \cleardoubleemptypage%
+ \fi%
+ \fi%
+ \end{titlepage}%
+ \if@tud@cover\else%
+ \setcounter{footnote}{0}%
+ \global\let\and\relax%
+ \fi%
+}
+\newcommand*\tud@title@uppercase[1]{%
+ \let\@tempa\relax%
+ \begingroup%
+ \def\thanks##1{\gdef\@tempa{##1}}%
+ \let\footnote\thanks%
+ \setbox0\vbox{#1}%
+ \let\thanks\@gobble%
+ \let\footnote\@gobble%
+ \tud@makeuppercase{#1}%
+ \endgroup%
+ \ifx\@tempa\relax\else\thanks\@tempa\fi%
+}
+\newcommand*\tud@title@names[1]{%
+ \letcs\@tempa{@#1}%
+ \ifx\@tempa\@empty\else%
+ \def\and{%
+ \ifcsvoid{#1othername}{\par}{%
+ \vskip 1ex\@plus.5ex\@minus.5ex%
+ {\usekomafont{titlepage}{\@nameuse{#1othername}\par}}%
+ }%
+ \let\and\par%
+ }%
+ \vskip 1ex\@plus.5ex\@minus.5ex%
+ {\usekomafont{titlepage}{\@nameuse{#1name}\par}}%
+ {\usekomafont{author}{\@nameuse{@#1}\par}}%
+ \fi%
+}
+\newcommand*\@titledelim{:\nobreakspace}
+\newcommand*\titledelimiter[1]{\gdef\@titledelim{#1}}
+\newcommand*\tud@@maketitle{%
+ \global\@topnum=\z@%
+ \vspace*{\dimexpr%
+ \tud@dim@headdiff+\tud@dim@headingsvskip-\baselineskip+\parskip\relax%
+ }%
+ \vspace*{\headingsvskip}%
+ \setparsizes{\z@}{\z@}{\z@\@plus1fil}\par@updaterelative%
+ \begingroup%
+ \usekomafont{titlepage}%
+ \tud@footnote@unhyper%
+ \setlength{\@tempdima}{\z@}%
+ \ifx\@titlehead\@empty\else%
+ \setbox0\vbox{%
+ \begin{minipage}[t]{\textwidth}%
+ {\usekomafont{titlehead}{\@titlehead\par\null}}%
+ \end{minipage}\newline\null%
+ }%
+ \addtolength{\@tempdima}{\dimexpr\ht0+\dp0\relax}%
+ \fi%
+ \TUDoptions{subjectthesis=true}%
+ \tud@letsubjectthesis%
+ \ifx\@subject\@empty\else%
+ \setbox1\vbox{{\usekomafont{subject}{\@subject\par\null}}}%
+ \addtolength{\@tempdima}{\dimexpr\ht1+\dp1+1pt\relax}%
+ \fi%
+ \vspace*{-\@tempdima}%
+ \ifx\@titlehead\@empty\else\usebox0\par\fi%
+ \ifx\@subject\@empty\else\usebox1\par\fi%
+ {\usekomafont{title}{\tud@title@uppercase{\@title}\par}}%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ \ifx\@subtitle\@empty\else%
+ {\usekomafont{subtitle}{\tud@title@uppercase{\@subtitle}\par}}%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ \fi%
+ \vskip 2\bigskipamount%
+ \tud@check@author%
+ \tud@multiple@split{@author}\par%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ {\usekomafont{date}{\@date\space\ignorespaces\@datemore\par}}%
+ \ifx\@publishers\@empty\else%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ {\usekomafont{publishers}{\@publishers\par}}%
+ \fi%
+ \ifx\@dedication\@empty\else%
+ \vskip 2ex\@plus1ex\@minus1ex%
+ {\centering\usekomafont{dedication}{\@dedication\par}}%
+ \fi%
+ \ifx\@graduation\@empty\else\tud@title@wrn{graduation}\fi%
+ \ifx\@supervisor\@empty\else\tud@title@wrn{supervisor}\fi%
+ \ifx\@referee\@empty\else\tud@title@wrn{referee}\fi%
+ \ifx\@professor\@empty\else\tud@title@wrn{professor}\fi%
+ \vskip 2\bigskipamount%
+ \tud@ifinpslist{\titlepagestyle}{\tud@ddc@enlargepage}{}%
+ \endgroup%
+}
+\newcommand*\tud@multiple@field{}
+\newcommand*\tud@multiple@split[1]{%
+ \gdef\tud@multiple@field{#1}%
+ \begingroup%
+ \let\and\relax%
+ \edef\@tempa{\csname#1\endcsname\and}%
+ \expandafter\endgroup%
+ \expandafter\tud@multiple@@split\@tempa\relax%
+}
+\newcommand*\tud@multiple@@split{}%
+\def\tud@multiple@@split#1\and#2\relax{%
+ \expandafter\csname tud@split\tud@multiple@field\endcsname{#1}{#2}%
+}
+\newcommand*\tud@multiple@@@split[2]{%
+ \ifx\relax#1\relax%
+ \def\@tempb{}%
+ \else%
+ \def\@tempb{#2\tud@multiple@@split#1\relax}%
+ \fi%
+ \@tempb%
+}
+\newcommand*\tud@multiple@setfields[2]{%
+ \letcs\@tempa{tud@split\tud@multiple@field @list}%
+ \let\and\relax%
+ \@for\@tempb:=\@tempa\do{%
+ \ifx\@tempb\@empty\else%
+ \begingroup%
+ \protected@expandtwoargs\in@{\@tempb}{\@nameuse{\tud@multiple@field}}%
+ \ifin@ \@tempb{#1}\fi%
+ \endgroup%
+ \fi%
+ }%
+ \begingroup%
+ \let\thanks\@gobble%
+ \let\footnote\@gobble%
+ \setbox0\vtop{#2}%
+ \endgroup%
+}
+\newcommand*\tud@newline{}
+\newcommand*\tud@check@author{%
+ \ifpatchable{\@author}{\@latex@warning@no@line}{\@author\gdef\@author{}}{}%
+}
+\newcommand*\tud@split@author[2]{%
+ \tud@multiple@setfields{}{#1}%
+ \def\tud@newline{\vskip .5ex\let\tud@newline\newline}%
+ {\usekomafont{author}{\ignorespaces#1}}%
+ \if@tud@cover\else%
+ \ifx\@authormore\@empty\else%
+ \tud@newline%
+ \@authormore%
+ \fi%
+ \ifx\@dateofbirth\@empty\else%
+ \if@titlepage%
+ \tud@newline%
+ \ifstr{\dateofbirthtext}{}%
+ {}{\dateofbirthtext\@titledelim}\@dateofbirth%
+ \ifx\@placeofbirth\@empty\else%
+ \space\placeofbirthtext\unskip\space\@placeofbirth%
+ \fi%
+ \else%
+ \tud@title@wrn{dateofbirth}%
+ \fi%
+ \fi%
+ \ifx\@matriculationnumber\@empty\else%
+ \if@titlepage%
+ \tud@newline%
+ \ifstr{\matriculationnumbername}{}%
+ {}{\matriculationnumbername\@titledelim}%
+ \@matriculationnumber%
+ \else%
+ \tud@title@wrn{matriculationnumber}%
+ \fi%
+ \fi%
+ \ifx\@matriculationyear\@empty\else%
+ \if@titlepage%
+ \tud@newline%
+ \ifstr{\matriculationyearname}{}%
+ {}{\matriculationyearname\@titledelim}%
+ \@matriculationyear%
+ \else%
+ \tud@title@wrn{matriculationyear}%
+ \fi%
+ \fi%
+ \fi%
+ \tud@multiple@@@split{#2}{\vskip 2ex}%
+}
+\newcommand*\tud@split@author@list{%
+ \authormore,\matriculationyear,\enrolmentyear,%
+ \matriculationnumber,\studentid,\matriculationid,%
+ \placeofbirth,\birthplace,\dateofbirth,\birthday,%
+}
+\RequirePackage{afterpage}[1995/10/27]
+\newcommand\maketitleonecolumn[2][]{%
+ \if@twocolumn%
+ \if@titlepage%
+ \maketitle[#1]%
+ \onecolumn{#2}\twocolumn%
+ \else%
+ \tud@title@twocolumn[{\vspace*{.9\baselineskip}\maketitle[#1]{#2}}]%
+ \fi%
+ \else%
+ \ClassError{\tudcls@name}{%
+ `\string\maketitleonecolumn' can only be used in twocolumn mode%
+ }{}%
+ \fi%
+}
+\newsavebox\tud@title@twocolumn@box
+\newcommand\tud@title@twocolumn[1][]{%
+ \onecolumn%
+ \begingroup%
+ \let\clearpage\relax%
+ \let\newpage\relax%
+ \global\setbox\tud@title@twocolumn@box\vbox{#1\bigskip}%
+ \endgroup%
+ \setlength{\@tempdimc}{\textheight}%
+ \tud@ifinpslist{\titlepagestyle}{%
+ \ifstr{\tud@currentgeometry}{tudareaddc}{}{%
+ \tud@ddc@check%
+ \ifcase \@tempb\relax\else%
+ \setlength{\@tempdimc}{\dimexpr\textheight-\tud@dim@ddcdiff}%
+ \fi%
+ }{}%
+ }{}%
+ \@whiledim\@tempdimc<\ht\tud@title@twocolumn@box\do{%
+ \splittopskip\topskip%
+ \splitmaxdepth\maxdepth%
+ \vsplit\tud@title@twocolumn@box to \@tempdimc%
+ \clearpage%
+ \setlength{\@tempdimc}{\textheight}%
+ }%
+ \twocolumn[\unvbox\tud@title@twocolumn@box]%
+ \ifdim\@tempdimc<\textheight\relax%
+ \enlargethispage{-\tud@dim@ddcdiff}%
+ \afterpage{\enlargethispage{-\tud@dim@ddcdiff}}%
+ \fi%
+}
+\newcommand*\tud@letsubjectthesis{%
+ \if@tud@subjectthesis\ifx\@thesis\@empty\else%
+ \ifx\@subject\@empty\else%
+ \ClassWarning{\tudcls@name}{%
+ The option `subjectthesis' was activated.\MessageBreak%
+ The field `subject' will be overwritten with the\MessageBreak%
+ given thesis%
+ }%
+ \fi%
+ \let\@subject\@thesis%
+ \fi\fi%
+}
+\newcommand*\tud@title@wrn[1]{%
+ \ClassWarning{\tudcls@name}{%
+ `\@backslashchar#1' has to be used with\MessageBreak%
+ activated titlepage option%
+ }%
+}
+\newif\if@tud@cover
+\newcommand*\tud@coverpagetopmargin{}
+\let\tud@coverpagetopmargin\coverpagetopmargin
+\newcommand*\makecover[1][]{%
+ \if@titlepageiscoverpage%
+ \ClassWarning{\tudcls@name}{%
+ Using both option `titlepage=firstiscover' and\MessageBreak%
+ `\string\makecover' together isn't supported. The\MessageBreak%
+ option `titlepage=firstiscover' will be ignorded. If you\MessageBreak%
+ want to create an individual cover, you have to use\MessageBreak%
+ `\string\extratitle' instead of `\string\makecover'.\MessageBreak%
+ See also the documentation of KOMA-Script%
+ }%
+ \@titlepageiscoverpagefalse%
+ \fi%
+ \clearpage%
+ \begingroup%
+ \let\thanks\@gobble%
+ \let\footnote\@gobble%
+ \TUD@parameter@set[cover]{#1}%
+ \let\tud@layout@title\tud@layout@cover%
+ \tud@layout@process%
+ \if@tud@cover@cdlayout%
+ \ifcase \tud@layout@cover\relax%
+ \let\coverpagetopmargin\tud@dim@top%
+ \else%
+ \def\coverpagetopmargin{%
+ \dimexpr\tud@dim@headheight+\tud@dim@barheight+\tud@dim@headsep\relax%
+ }%
+ \fi%
+ \let\coverpagebottommargin\tud@dim@bottom%
+ \let\coverpageleftmargin\tud@dim@left%
+ \let\coverpagerightmargin\tud@dim@right%
+ \else%
+ \ifcase \tud@layout@cover\relax\else%
+ \expandafter\def\expandafter\coverpagetopmargin\expandafter{%
+ \coverpagetopmargin-\tud@coverpagetopmargin%
+ }%
+ \fi%
+ \fi%
+ \ifcase \tud@layout@cover\relax%
+ \KOMAoptions{titlepage=firstiscover}%
+ \let\@extratitle\@empty%
+ \let\@uppertitleback\@empty%
+ \let\@lowertitleback\@empty%
+ \let\@dedication\@empty%
+ \ifx\tud@titlepagenumber\relax\gdef\tud@titlepagenumber{1}\fi%
+ \tud@cmd@use{maketitle}[\tud@titlepagenumber]%
+ \else%
+ \@tud@covertrue%
+ \@titlepagetrue%
+ \edef\titlepage@restore{%
+ \noexpand\endgroup%
+ \noexpand\global\noexpand\@colht\the\@colht%
+ \noexpand\global\noexpand\@colroom\the\@colroom%
+ \noexpand\global\vsize\the\vsize%
+ \noexpand\let\noexpand\titlepage@restore\noexpand\relax%
+ }%
+ \begingroup%
+ \topmargin=\dimexpr \coverpagetopmargin-1in\relax%
+ \oddsidemargin=\dimexpr \coverpageleftmargin-1in\relax%
+ \evensidemargin=\dimexpr \coverpageleftmargin-1in\relax%
+ \textwidth=\dimexpr%
+ \paperwidth-\coverpageleftmargin-\coverpagerightmargin\relax%
+ \if@tud@cover@cdlayout%
+ \textheight=\dimexpr%
+ \paperheight-\coverpagetopmargin-\coverpagebottommargin\relax%
+ \headheight=0pt%
+ \headsep=0pt%
+ \else%
+ \textheight=\dimexpr\paperheight-\coverpagebottommargin%
+ -\tud@dim@headheight-\tud@dim@barheight%
+ -\tud@dim@headsep-\tud@dim@bottom\relax%
+ \headheight=\dimexpr\tud@dim@headheight+\tud@dim@barheight\relax%
+ \headsep=\tud@dim@headsep%
+ \fi%
+ \footskip=\tud@dim@footskip%
+ \@colht=\textheight%
+ \@colroom=\textheight%
+ \vsize=\textheight%
+ \columnwidth=\textwidth%
+ \hsize=\columnwidth%
+ \linewidth=\hsize%
+ \tud@dim@headdiff=\z@%
+ \ifdef{\hypersetup}{\hypersetup{pageanchor=false}}{}%
+ \tud@maketitle%
+ \clearpage%
+ \csname titlepage@restore\endcsname%
+ \fi%
+ \endgroup%
+}
+\newbool@lock{@tud@cover@cdlayout}
+\TUD@parameter{cover}{%
+ \TUD@parameter@define{pagenumber}{\def\tud@titlepagenumber{#1}}%
+ \TUD@parameter@define{cdfont}[true]{\TUDoption{cdfont}{#1}}%
+ \TUD@parameter@define{cdlayout}[true]{%
+ \ifstr{#1}{true}{\setbool@lock{@tud@cover@cdlayout}{true}}{%
+ \ifstr{#1}{on}{\setbool@lock{@tud@cover@cdlayout}{true}}{%
+ \ifstr{#1}{yes}{\setbool@lock{@tud@cover@cdlayout}{true}}{%
+ \ifstr{#1}{false}{\setbool@lock{@tud@cover@cdlayout}{false}}{%
+ \ifstr{#1}{no}{\setbool@lock{@tud@cover@cdlayout}{false}}{%
+ \ifstr{#1}{off}{\setbool@lock{@tud@cover@cdlayout}{false}}{%
+ \TUD@parameter@wrn{cdlayout}{true,false}%
+ }}}}}}%
+ }%
+ \TUD@parameter@sethandler{%
+ \ifxnumber{#1}{%
+ \TUD@parameter@set[cover]{pagenumber=#1}%
+ }{%
+ \TUD@parameter@set[cover]{cdlayout=#1}%
+ }%
+ }%
+}%
+%%% From File: tudscr-misc.dtx
+\newcounter{symbolheadings}
+\newcommand*\tudbookmark[1][]{\@gobbletwo}
+\newcommand*\tud@footnote@unhyper{}
+\AfterPackage{hyperref}{%
+ \renewcommand*\tudbookmark[3][]{%
+ \relax%
+ \if@tud@bookmarks%
+ \phantomsection%
+ \ifblank{#1}{\pdfbookmark{#2}{#3}}{\pdfbookmark[#1]{#2}{#3}}%
+ \fi%
+ }%
+ \renewcommand*\tud@footnote@unhyper{%
+ \let\Hy@saved@footnotemark\@footnotemark%
+ \let\Hy@saved@footnotetext\@footnotetext%
+ \let\@footnotemark\H@@footnotemark%
+ \let\@footnotetext\H@@footnotetext%
+ }%
+ \pdfstringdefDisableCommands{\let\NoCaseChange\@firstofone}%
+}
+\pretocmd{\maketitle}{%
+ \if@tud@bookmarks%
+ \ifdef{\bookmarksetup}{\bookmarksetup{startatroot}}{}%
+ \fi%
+ \tudbookmark[1]{\titlepagename}{title}%
+}{}{\tud@patch@wrn{maketitle}}
+\pretocmd{\tableofcontents}{%
+ \if@tud@bookmarks%
+ \ifdef{\bookmarksetup}{\bookmarksetup{startatroot}}{}%
+ \fi%
+ \tudbookmark[1]{\contentsname}{toc}%
+}{}{\tud@patch@wrn{tableofcontents}}
+\newcommand*\tud@environmenthandler[1]{%
+ \def\@tempa{#1}%
+ \@for\@tempb:=\@tempa\do{%
+ \ifx\@tempb\@empty\else%
+ \ifxnumber{\@tempb}{\let\tud@multicols\@tempb}{%
+ \ifstr{\@tempb}{twocolumn}{\def\tud@multicols{2}}{%
+ \expandafter\selectlanguage\expandafter{\@tempb}%
+ }}%
+ \fi%
+ }%
+}
+\newcommand*\tud@multicols{1}
+\newcommand*\tud@multicols@check{%
+ \ifdef{\multicols}{}{%
+ \ifnum\tud@multicols>1\relax%
+ \ClassWarning{\tudcls@name}{%
+ The option `columns=\tud@multicols' is only supported,\MessageBreak%
+ when package `multicol' is loaded%
+ }%
+ \def\tud@multicols{1}%
+ \fi%
+ }%
+}
+\newcommand*\tud@makeuppercase[1]{%
+ \ifdin{\begingroup\MakeTextUppercase{#1}\endgroup}{#1}%
+ \protect\vphantom{\"A\"O\"U}%
+%% \addtokomafont{section}{\strut\ignorespaces}%
+}
+\newcommand*\tud@lowerstring[2]{%
+ \protected@edef#1{#2}%
+ \lowercase\expandafter{%
+ \expandafter\gdef\expandafter #1\expandafter{#1}%
+ }%
+}
+\providecommand*\protected@expandtwoargs[3]{%
+ \protected@edef\reserved@a{\noexpand#1{#2}{#3}}\reserved@a%
+}
+%%% From File: tudscr-comp.dtx
+\newcommand*\professorship{}
+\let\professorship\chair
+\newcommand*\student{}
+\let\student\author
+\newrobustcmd*\studentid{}
+\newrobustcmd*\matriculationid{}
+\let\studentid\matriculationnumber
+\let\matriculationid\matriculationnumber
+\newrobustcmd*\enrolmentyear{}
+\let\enrolmentyear\matriculationyear
+\newrobustcmd*\birthplace{}
+\let\birthplace\placeofbirth
+\newcommand*\location{}
+\let\location\place
+\newcommand*\submissiondate{}
+\let\submissiondate\date
+\newcommand*\oralexaminationdate{}
+\let\oralexaminationdate\defensedate
+\newrobustcmd*\birthday{}
+\let\birthday\dateofbirth
+\newcommand*\logofile{}
+\let\logofile\headlogo
+\newcommand*\logofilename{}
+\let\logofilename\headlogo
+\endinput
+%%
+%% End of file `tudscrartcl.cls'.