%% %% This is file `tudscrfonts.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% tudscr-version.dtx (with options: `package,fonts') %% tudscr-fonts.dtx (with options: `package,fonts,identify') %% tudscr-base.dtx (with options: `package,fonts,load') %% tudscr-fonts.dtx (with options: `package,fonts,option') %% tudscr-misc.dtx (with options: `package,fonts,option') %% tudscr-comp.dtx (with options: `package,fonts,option') %% tudscr-misc.dtx (with options: `package,fonts,execute') %% tudscr-fonts.dtx (with options: `package,fonts,body') %% tudscr-comp.dtx (with options: `package,fonts,body') %% tudscr-misc.dtx (with options: `package,fonts,body') %% %% TUD-Script -- Corporate Design of Technische Universitaet Dresden %% %% 2020/11/10 v2.06k TUD-Script %% %% Copyright (C) Falk Hanisch , 2012-2020 %% %% This file was generated from file(s) of the TUD-Script bundle. %% ---------------------------------------------------------------------------- %% %% 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. %% %%% From File: tudscr-version.dtx \begingroup \catcode`\@11\relax \ifx\TUD@Version\@undefined \newcommand*\TUD@Version@Check[1]{% \gdef\TUD@Version{#1}% \gdef\TUDScriptVersion{#1}% \def\@tempb##1 v##2 ##3\relax##4\relax{\gdef\TUDScriptVersionNumber{##2}}% \edef\@tempa{\TUD@Version}% \expandafter\@tempb\@tempa\relax? ? \relax\relax% \gdef\TUD@Version@KOMA{3.32}% } \else \newcommand*\TUD@Version@Check[1]{% \def\@tempa{#1}% \ifx\TUD@Version\@tempa\else% \@latex@warning@no@line{% \noexpand\TUD@Version\space is `\TUD@Version',\MessageBreak% but `#1' was expected!\MessageBreak% You should not use classes, packages or files from\MessageBreak% different TUD-Script-Bundle versions% }% \fi% } \fi \TUD@Version@Check{2020/11/10 v2.06k TUD-Script} \endgroup \NeedsTeXFormat{LaTeX2e}[2019/10/01] \providecommand*\tudscrmail{hanisch.latex@outlook.com} \@ifundefined{TUDScript}{% \DeclareRobustCommand\TUDScript{% \textsf{% T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script% }% \ifcsname xspace\endcsname% \xspace% \fi% }% }{} %%% From File: tudscr-fonts.dtx \ProvidesPackage{tudscrfonts}[% 2020/11/10 v2.06k TUD-Script package (corporate design fonts)% ] \ifcsname KOMAClassName\endcsname\else \RequirePackage{scrextend}[2020/09/21] \fi \@tempswafalse% \@for\@tempa:={% tudbook,tudbeamer,tudfax,tudform,tudhaus,tudletter,tudposter,tudmathposter% }\do{% \@ifclassloaded{\@tempa}{% \if@tempswa\else\@tempswatrue\let\@tempb\@tempa\fi% }{}% }% \if@tempswa% \@ifpackageloaded{fix-tudscrfonts}{}{% \PackageWarning{tudscrfonts}{% As you loaded class `\@tempb', you should\MessageBreak% load `fix-tudscrfonts' before the class\MessageBreak% with `\string\RequirePackage'% }% }% \fi% %%% From File: tudscr-base.dtx \RequirePackage{tudscrbase}[\TUD@Version] %%% From File: tudscr-fonts.dtx \newif\if@tud@cdfont@active \newif\if@tud@cdfont@heavy \newif\if@tud@cdfont@ultrabold \newif\if@tud@cdfont@lining \@tud@cdfont@liningtrue \TUD@key{cdfont}[true]{% \TUD@set@numkey{cdfont}{@tempa}{% \TUD@bool@numkey,% {light}{1},{lightfont}{1},{lite}{1},{litefont}{1},{noheavyfont}{1},% {heavy}{2},{heavyfont}{2},{bold}{2},{boldfont}{2},% {normalbold}{3},{boldnormal}{3},% {ultrabold}{4},{boldultra}{4},{heavybold}{4},{boldheavy}{4},% {extendedbold}{4},{boldextended}{4},% {lf}{5},{lfigures}{5},{liningfigures}{5},{lining}{5},% {ln}{5},{lnumbers}{5},{liningnumbers}{5},% {nf}{5},{nfigures}{5},{normalfigures}{5},% {nn}{5},{nnumbers}{5},{normalnumbers}{5},% {osf}{6},{osfigures}{6},{oldfigures}{6},{oldstylefigures}{6},{oldstyle}{6},% {osn}{6},{osnumbers}{6},{oldnumbers}{6},{oldstylenumbers}{6},% {nomath}{7},{nocdmath}{7},% {serifmath}{7},{serif}{7},{nosansmath}{7},{nosans}{7},% {math}{8},{cdmath}{8},{sansmath}{8},{sans}{8},% {upgreek}{9},{uprightgreek}{9},{uprightgreeks}{9},% {slgreek}{10},{slantedgreek}{10},{slantedgreeks}{10},% {itgreek}{10},{italicgreek}{10},{italicgreeks}{10},% {texgreek}{11},{latexgreek}{11},{texgreeks}{11},{latexgreeks}{11},% {standardgreek}{11},{standardgreeks}{11},% {fontspec}{12},{luatex}{12},{lualatex}{12}{xetex}{12},{xelatex}{12},% {nofontspec}{13},{nfss}{13},{pdftex}{13},{pdflatex}{13}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \ifcase\@tempa\relax% false \tud@cdfont@deactivate% \or% true \@tud@cdfont@heavyfalse% \tud@cdfont@activate% \or% heavy \@tud@cdfont@heavytrue% \tud@cdfont@activate% \or% normalbold \@tud@cdfont@ultraboldfalse% \tud@cdfont@activate% \or% ultrabold \@tud@cdfont@ultraboldtrue% \tud@cdfont@activate% \or% liningfigures \@tud@cdfont@liningtrue% \tud@cdfont@activate% \or% oldstylefigures \@tud@cdfont@liningfalse% \tud@cdfont@activate% \or% nomath \TUDoptions{cdmath=false}% \or% math \TUDoptions{cdmath=true}% \or% uprightgreek \TUDoptions{slantedgreek=false}% \or% slantedgreek \TUDoptions{slantedgreek=true}% \or% standardgreek \TUDoptions{slantedgreek=standard}% \or% fontspec \TUDoptions{fontspec=true}% \or% nofontspec \TUDoptions{fontspec=false}% \fi% \else% \tud@lowerstring\tud@res@a{#1}% \ifdimen{\tud@res@a}{% \ifdim\tud@res@a>\z@\relax% \TUDoptions{fontsize=#1}% \tud@cdfont@activate% \FamilyKeyStateProcessed% \fi% }{}% \fi% } \newcommand*\tud@cdfont@activate{% \@tud@cdfont@activetrue% \TUD@SpecialOptionAtDocument{tud@font@set}% \tud@locked@bool@preset{@tud@cdmath@active}{true}% \TUD@SpecialOptionAtDocument{tud@math@set}% } \newcommand*\tud@cdfont@deactivate{% \@tud@cdfont@activefalse% \TUD@SpecialOptionAtDocument{tud@font@set}% \tud@locked@bool@preset{@tud@cdmath@active}{false}% \TUD@SpecialOptionAtDocument{tud@math@set}% } \newif\if@tud@cdoldfont@active \newif\if@tud@cdoldfont@nodin \TUD@key{cdoldfont}[true]{% \TUD@set@numkey{cdoldfont}{@tempa}{% \TUD@bool@numkey,% {din}{1},{dinbold}{1},% {nodin}{2},{nodinbold}{2},% {onlydin}{3},{onlydinbold}{3}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \ifcase\@tempa\relax% false \@tud@cdoldfont@activefalse% \@tud@cdoldfont@nodintrue% \if@tud@cdoldfont@active% \tud@cdfont@deactivate% \fi% \or% true/din \@tud@cdoldfont@activetrue% \@tud@cdoldfont@nodinfalse% \tud@cdfont@activate% \or% nodin \@tud@cdoldfont@activetrue% \@tud@cdoldfont@nodintrue% \tud@cdfont@activate% \or% onlydin \@tud@cdoldfont@activetrue% \@tud@cdoldfont@nodinfalse% \tud@cdfont@deactivate% \fi% \else% \@tud@cdoldfont@activetrue% \TUDoptions{cdfont=#1}% \fi% } \AtEndOfPackage% {% \if@tud@cdoldfont@active% \let\@tud@cdoldfont@activefalse\@tud@cdoldfont@activetrue% \TUD@key[.comp]{cdfont}{% \TUD@set@numkey{cdfont}{@tempa}{% {din}{1},{dinbold}{1},% {nodin}{2},{nodinbold}{2},% {onlydin}{3},{onlydinbold}{3}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \TUDoptions{cdoldfont=#1}% \fi% }% \else% \TUD@key{cdoldfont}[]{% \PackageError{tudscrfonts}% {Option `cdoldfont' not active}{% Option `cdoldfont' must be activated while loading the\MessageBreak% package `tudscrfonts'\space% but you have tried to set it up later.% }% \FamilyKeyStateProcessed% }% \fi% } \newif\if@tud@x@scr@fontsize@set \TUD@key{fontsize}{% \TUD@set@dimenkey{fontsize}{\@tempa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \@expandtwoargs\in@{,\CurrentOption,}{,\@globaloptionslist,}% \ifin@\else% \edef\tud@res@a{% \noexpand\PackageWarning{tudscrfonts}% {% The key `\CurrentOption' should only be\MessageBreak% used as class option% }% }% \expandafter\AtEndOfPackage\expandafter{\tud@res@a}% \fi \@tud@x@scr@fontsize@settrue% \TUD@KOMAoptions{fontsize=#1}% \fi% } \AtEndOfPackage% {% \RelaxFamilyKey{TUD}{fontsize}% \DefineFamilyMember{KOMA}% \DefineFamilyKey{KOMA}{fontsize}{% \@tud@x@scr@fontsize@settrue% \PackageWarning{tudscrfonts}% {% The key `fontsize=#1' should only be\MessageBreak% used as class option% }% \TUD@SpecialOptionAtDocument{tud@font@set}% \FamilyKeyStateProcessed% }% } \newif\if@tud@relspacing \TUD@key{relspacing}[true]{% \TUD@set@numkey{relspacing}{@tempa}{% \TUD@bool@numkey,% {absolute}{0},{classic}{0},{standard}{0},% {relative}{1},{fontsize}{1},{font}{1},{size}{1}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \ifcase\@tempa\relax% false \@tud@relspacingfalse% \or% true \@tud@relspacingtrue% \fi% \TUD@SpecialOptionAtDocument{tud@font@skip@set}% \fi% } \newcommand*\tud@ttfont@num{0} \TUD@key{ttfont}[true]{% \TUD@set@numkey{ttfont}{@tempa}{% \TUD@bool@numkey,% {roboto}{1},{roboto-mono}{1},{robo}{1},% {lm}{2},{lmtt}{2},{lmodern}{2}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \ifcase\@tempa\relax% false \renewcommand*\tud@ttfont@num{0}% \or% roboto \renewcommand*\tud@ttfont@num{1}% \or% lmodern \renewcommand*\tud@ttfont@num{2}% \fi% \TUD@SpecialOptionAtDocument{tud@font@set}% \fi% } \tud@locked@newbool{@tud@cdmath@active} \tud@locked@bool@preset{@tud@cdmath@active}{true}% \TUD@key{cdmath}[true]{% \TUD@set@numkey{cdmath}{@tempa}{% \TUD@bool@numkey,% {serifmath}{0},{serif}{0},{nosansmath}{0},{nosans}{0},% {sansmath}{1},{sans}{1},% {upgreek}{2},{uprightgreek}{2},{uprightgreeks}{2},% {slgreek}{3},{slantedgreek}{3},{slantedgreeks}{3},% {itgreek}{3},{italicgreek}{3},{italicgreeks}{3},% {texgreek}{4},{latexgreek}{4},{texgreeks}{4},{latexgreeks}{4},% {standardgreek}{4},{standardgreeks}{4}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \ifcase\@tempa\relax% false \tud@locked@bool@set{@tud@cdmath@active}{false}% \TUD@SpecialOptionAtDocument{tud@math@set}% \or% true \tud@locked@bool@set{@tud@cdmath@active}{true}% \TUD@SpecialOptionAtDocument{tud@math@set}% \or% uprightgreek \TUDoptions{slantedgreek=false}% \or% slantedgreek \TUDoptions{slantedgreek=true}% \or% standardgreek \TUDoptions{slantedgreek=standard}% \fi% \fi% } \newcommand*\tud@slantedgreek@num{0} \TUD@key{slantedgreek}[true]{% \TUD@set@numkey{slantedgreek}{@tempa}{% \TUD@bool@numkey,% {up}{0},{upright}{0},% {sl}{1},{slanted}{1},{it}{1},{italic}{1},% {standard}{2},{std}{2},{tex}{2},{latex}{2},{stdgrk}{2},{stdgrks}{2},% {standardgreek}{2},{standardgreeks}{2},% {texgreek}{2},{latexgreek}{2},{texgreeks}{2},{latexgreeks}{2}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \ifcase\@tempa\relax% upright \renewcommand*\tud@slantedgreek@num{0}% \or% slanted \renewcommand*\tud@slantedgreek@num{1}% \or% standard \renewcommand*\tud@slantedgreek@num{2}% \fi% \TUD@SpecialOptionAtDocument{tud@math@set}% \fi% } \TUD@key{slantedGreek}[true]{\TUDoptions{slantedgreek=#1}} \TUD@key{slantedGreeks}[true]{\TUDoptions{slantedgreek=#1}} \newif\if@tud@lgrgreeks \TUD@key{lgrgreeks}[true]{\TUD@set@ifkey{lgrgreeks}{@tud@lgrgreeks}{#1}} \TUD@key{lgrgreek}[true]{\TUDoptions{lgrgreeks=#1}} \TUD@key{LGRgreeks}[true]{\TUDoptions{lgrgreeks=#1}} \TUD@key{LGRgreek}[true]{\TUDoptions{lgrgreeks=#1}} %%% From File: tudscr-misc.dtx \newcommand*\tud@atdocument@hook{} \let\tud@atdocument@hook\relax \newcommand*\TUD@SpecialOptionAtDocument[1]{} \AfterEndPreamble{% \renewcommand*\TUD@SpecialOptionAtDocument[1]{% \ifx\tud@atdocument@hook\relax% \gdef\tud@atdocument@hook{\global\let\tud@atdocument@hook\relax}% \AtEndOfFamilyOptions*{% \tud@atdocument@hook% \tud@atdocument@process% }% \fi% \gappto\tud@atdocument@hook{\global\booltrue{@#1}}% }% } %%% From File: tudscr-comp.dtx \newcommand*\TUD@deprecated@key[2]{% \PackageWarning{tudscrfonts}% {% The key `#1' is deprecated. It's\MessageBreak% recommended to use `#2'\MessageBreak% instead% }% \TUDoptions{#2}% } \newcommand*\TUD@deprecated@cs[2]{% \begingroup% \edef\tud@res@a{% \endgroup% \noexpand\AfterEndPreamble{% \noexpand\TUD@deprecated@@cs{#1}{#2}% }% }% \tud@res@a% } \newcommand*\TUD@deprecated@@cs[2]{% \ifcsundef{#1}{% \begingroup% \def\tud@res@a{% The command `\@backslashchar#1' is deprecated. \MessageBreak% }% \def\tud@res@b##1@##2\@nil{% \IfArgIsEmpty{##2}{% \appto\tud@res@a{% You should use `\@backslashchar#2' instead% }% }{% \appto\tud@res@a{% You should not use this command. It is substituted\MessageBreak% with `\@backslashchar#2' internally% }% }% }% \tud@res@b#2@\@nil% \edef\tud@res@c{% \endgroup% \noexpand\newrobustcmd\csname #1\endcsname{% \noexpand\PackageWarning{tudscrfonts}% {\tud@res@a}% \noexpand\csletcs{#1}{#2}% \noexpand\csuse{#2}% }% }% \tud@res@c% }{}% } \newcommand*\tud@v@comp{\tud@v@last} \TUD@key[.comp]{tudscrver}[last]{% \tud@v@get\@tempa{#1}% \ifcsundef{tud@v@\@tempa}{% \PackageWarningNoLine{tudscrfonts}% {% You have set option `tudscrver' to `\@tempa', but\MessageBreak% this value is not supported. Because of this,\MessageBreak% `tudscrver=first' was set% }% \renewcommand*\tud@v@comp{0}% }{% \PackageInfoNoLine{tudscrfonts}% {% Switching compatibility level to `v\@tempa'% }% \edef\tud@v@comp{\csuse{tud@v@\@tempa}}% }% \FamilyKeyStateProcessed% } \TUD@key{tudscrver}{\FamilyKeyStateProcessed}% \AtEndOfPackage% {% \RelaxFamilyKey[.comp]{TUD}{tudscrver}% \TUD@key@toolate{tudscrver}% } \csdef{tud@v@first}{0} \csdef{tud@v@2.00}{0} \csdef{tud@v@2.01}{0} \csdef{tud@v@2.01a}{0} \csdef{tud@v@2.01b}{0} \csdef{tud@v@2.02}{0} \csdef{tud@v@2.03}{1} \csdef{tud@v@2.03a}{1} \csdef{tud@v@2.04}{2} \csdef{tud@v@2.04a}{2} \csdef{tud@v@2.04b}{2} \csdef{tud@v@2.04c}{2} \csdef{tud@v@2.04d}{2} \csdef{tud@v@2.04e}{2} \csdef{tud@v@2.05}{3} \csdef{tud@v@2.05a}{3} \csdef{tud@v@2.05b}{3} \csdef{tud@v@2.05c}{3} \csdef{tud@v@2.05d}{3} \csdef{tud@v@2.05e}{3} \csdef{tud@v@2.05f}{3} \csdef{tud@v@2.05g}{3} \csdef{tud@v@2.05h}{3} \csdef{tud@v@2.05i}{3} \csdef{tud@v@2.05k}{3} \csdef{tud@v@2.05l}{3} \csdef{tud@v@2.05m}{3} \csdef{tud@v@2.06}{4} \csdef{tud@v@2.06a}{4} \csdef{tud@v@2.06b}{4} \csdef{tud@v@2.06c}{4} \csdef{tud@v@2.06d}{4} \csdef{tud@v@2.06e}{4} \csdef{tud@v@2.06f}{4} \csdef{tud@v@2.06g}{4} \csdef{tud@v@2.06h}{4} \csdef{tud@v@2.06i}{4} \csdef{tud@v@2.06j}{4} \csdef{tud@v@2.06k}{4} \csdef{tud@v@last}{4} \newcommand*\tud@v@get[2]{% \begingroup% \def\@tempa{\kernel@ifnextchar v{\@tempb}{\@tempb v}}% \def\@tempb v##1\@nil{\def\@tempc{##1}}% \@tempa #2\@nil% \edef\tud@reserved{% \endgroup% \etex@unexpanded{\def#1}{\@tempc}% }% \tud@reserved% } \newcommand*\tud@if@v@lower[1]{% \begingroup% \tud@v@get\@tempa{#1}% \ifcsdef{tud@v@\@tempa}{% \ifnum\tud@v@comp<\csuse{tud@v@\@tempa}\relax% \def\tud@reserved{\endgroup\@firstoftwo}% \else% \def\tud@reserved{\endgroup\@secondoftwo}% \fi% }{% \def\tud@reserved{% \PackageWarningNoLine{tudscrfonts}% {% Erroneous usage of `\string\tud@if@v@lower'. \MessageBreak% There's no defined macro `\string\tud@v@\@tempa'% }% \endgroup\@firstoftwo% }% }% \tud@reserved% } \TUD@key{cdfonts}[true]{% \TUD@set@ifkey{cdfonts}{@tempswa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \TUD@deprecated@key{cdfonts=#1}{cdfont=#1}% \fi% } \TUD@key{tudfonts}[true]{% \TUD@set@ifkey{tudfonts}{@tempswa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \TUD@deprecated@key{tudfonts=#1}{cdfont=#1}% \fi% } \TUD@key{heavyfont}[true]{% \TUD@set@ifkey{heavyfont}{@tempswa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \if@tempswa% \TUD@deprecated@key{heavyfont}{cdfont=heavy}% \else% \TUD@deprecated@key{heavyfont=#1}{cdfont=true}% \fi% \fi% } \TUD@key{sansmath}[true]{% \TUD@set@ifkey{sansmath}{@tempswa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \if@tempswa% \TUD@deprecated@key{sansmath}{cdmath=true}% \else% \TUD@deprecated@key{sansmath=#1}{cdmath=false}% \fi% \fi% } \TUD@key{serifmath}[true]{% \TUD@set@ifkey{serifmath}{@tempswa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \if@tempswa% \TUD@deprecated@key{serifmath}{cdmath=false}% \else% \TUD@deprecated@key{serifmath=#1}{cdmath=true}% \fi% \fi% } \TUD@key{din}[true]{% \TUD@set@ifkey{din}{@tempswa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \if@tempswa% \TUD@deprecated@key{din}{cdoldfont=din}% \else% \TUD@deprecated@key{din=#1}{cdoldfont=nodin}% \fi% \fi% } \TUD@key{nodin}[true]{% \TUD@set@ifkey{nodin}{@tempswa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \if@tempswa% \TUD@deprecated@key{nodin}{cdoldfont=nodin}% \else% \TUD@deprecated@key{nodin=#1}{cdoldfont=din}% \fi% \fi% } \TUD@key{noDIN}[true]{% \TUD@set@ifkey{noDIN}{@tempswa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \if@tempswa% \TUD@deprecated@key{noDIN}{cdoldfont=nodin}% \else% \TUD@deprecated@key{noDIN=#1}{cdoldfont=din}% \fi% \fi% } \newif\if@tud@x@fontspec@requested \TUD@key{fontspec}[true]{% \TUD@set@ifkey{fontspec}{@tud@x@fontspec@requested}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \PackageWarningNoLine{tudscrfonts}% {% The key `fontspec' is deprecated. \MessageBreak% You should load the package `fontspec' manually% }% \fi% } \AtEndOfPackage% {% \TUD@key@toolate{fontspec}% \if@tud@x@fontspec@requested% \RequirePackage{fontspec}[2017/01/24]% \fi% } %%% From File: tudscr-misc.dtx \DeclareOption*{} \FamilyProcessOptions[.comp]{TUD}\relax \tud@if@v@lower{2.05}{% \TUD@key@preset{relspacing}{false}% }{% \TUD@key@preset{relspacing}{true}% } \tud@if@v@lower{2.06}{% \TUD@key@preset{cdoldfont}{true}% \TUD@key@preset{ttfont}{lmodern}% }{% \TUD@key@preset{cdfont}{true}% \TUD@key@preset{ttfont}{roboto}% } \DeclareOption*{\KOMAoptions{\CurrentOption}} \TUDExecuteOptions{% } \TUDProcessOptions\relax \newcommand*\TUD@key@toolate[1]{% \csedef{tud@key@#1@error}{% \noexpand\PackageError{tudscrfonts}% {Option `#1' too late}{% Option `#1' can only be set\space% \ifcsname \@currname.\@currext-h@@k\endcsname% as optional \MessageBreak argument while loading\space% package `tudscrfonts'% \else% in the preamble \fi% \MessageBreak but you have tried to set it up later.% }% }% \TUD@key{#1}[]% {% \csuse{tud@key@#1@error} \FamilyKeyStateProcessed% }% } %%% From File: tudscr-fonts.dtx \newcommand*\tud@cdfont@wrn{\global\let\tud@cdfont@wrn\relax} \newcommand*\tud@cdmath@wrn{\global\let\tud@cdmath@wrn\relax} \newif\if@tud@x@fontspec@enabled \PassOptionsToPackage{no-math}{fontspec} \AfterPackage*{fontspec}{% \@ifpackagelater{fontspec}{2017/01/24}{% \@tud@x@fontspec@enabledtrue% \@tud@res@swafalse% \@ifpackagewith{fontspec}{no-math}{}{\@tud@res@swatrue}% \@ifpackagewith{fontspec}{math}{\@tud@res@swatrue}{}% \if@tud@res@swa% \appto\tud@cdmath@wrn{% \PackageWarningNoLine{tudscrfonts}% {% It's recommended to load package `fontspec'\MessageBreak% with option `no-math', if you want to use the\MessageBreak% corporate design fonts in math mode% }% }% \fi% }{% \@tud@x@fontspec@enabledfalse% \PackageWarningNoLine{tudscrfonts}% {% Version `2017/01/24' of package `fontspec' is needed,\MessageBreak% but only version\MessageBreak% `\csname ver@fontspec.sty\endcsname'\MessageBreak% is available, so a fallback layout is used% }% }% } \AfterPackage*{unicode-math}{% \appto\tud@cdmath@wrn{% \PackageWarningNoLine{tudscrfonts}% {% The usage of package `unicode-math' will\MessageBreak% most likely cause erroneous outputs in math mode\MessageBreak% with corporate design fonts% }% }% } \TUD@RecommendPackage{mweights}[2017/03/30]% \newif\if@tud@x@mweights@enabled \AfterPackage*{mweights}{\@tud@x@mweights@enabledtrue} \newif\if@tud@cdfont@fam@exist \newif\if@tud@cdfont@db@exist \newcommand*\tud@cdfont@fam{opensans-TLF} \newcommand*\tud@cdfont@fam@lf{opensans-TLF} \newcommand*\tud@cdfont@fam@osf{opensans-TOsF} \if@tud@cdoldfont@active \renewcommand*\tud@cdfont@fam{lun} \renewcommand*\tud@cdfont@fam@lf{lun} \renewcommand*\tud@cdfont@fam@osf{lun} \newcommand*\tud@cdfont@db{0m6} \fi \newcommand*\tud@ttfont@fam{tudtt} \newcommand*\tud@ttfont@rb{tudtt} \newcommand*\tud@ttfont@lm{lmtt} \newif\if@tud@ttfont@rb@exist \IfFileExists{roboto-mono.sty}{% \@tud@ttfont@rb@existtrue% }{% \TUD@key@preset{ttfont}{lmodern}% } \newcommand*\tud@cdfont@check{% \if@tud@cdoldfont@active% \tud@cdfont@@check{Univers}{% Light,,Bold,Black,% LightOblique,Oblique,BoldOblique,BlackOblique% }{\tud@cdfont@fam@lf}{@tud@cdfont@fam@exist}% \tud@cdfont@@check{DIN}{Bold}{\tud@cdfont@db}{@tud@cdfont@db@exist}% \tud@cdfont@@@check{OT1,OML,OMS}{\tud@cdfont@fam@lf}% \tud@cdfont@@@check{OT1,OML,OMS}{\tud@cdfont@db}% \else% \@ifpackageloaded{opensans}{% \PackageWarningNoLine{tudscrfonts}% {% You should not load package `opensans'\MessageBreak% manually but just use option `cdfont=true'% }% }{}% \if@tud@cdfont@active% \TUD@CheckPackage{opensans}{2019/06/20}% \TUD@CheckPackage{iwona}{2005/10/03}% \fi% \tud@cdfont@@check{OpenSans}{% Light,Regular,SemiBold,Bold,ExtraBold,% LightItalic,Italic,SemiBoldItalic,BoldItalic,ExtraBoldItalic% }{\tud@cdfont@fam@lf,\tud@cdfont@fam@osf}{@tud@cdfont@fam@exist}% \fi% } \newcommand*\tud@cdfont@@check[5][-]{% \@tud@res@swatrue% \def\tud@res@a##1{% \@tud@res@swafalse% \tud@cdfont@missing{##1}{\tud@cdfont@wrn}% }% \if@tud@x@fontspec@enabled% \def\tud@res@b##1{\IfFontExistsTF{##1}{}{\tud@res@a{##1}}}% \@for\tud@res@c:={#3}\do{% \expandafter\IfArgIsEmpty\expandafter{\tud@res@c}% {\tud@res@b{#2}}% {\tud@res@b{#2#1\tud@res@c}}% }% \else% \def\tud@res@b##1##2{% \tud@if@fdfileexists{##1}{##2}{}{% \begingroup% \edef\tud@res@a{% \endgroup% \noexpand\tud@res@a{##1##2.fd}% }% \tud@res@a% }% }% \@for\tud@res@c:={#4}\do{\tud@res@b{\encodingdefault}{\tud@res@c}}% \fi% \if@tud@res@swa% \booltrue{#5}% \else% \boolfalse{#5}% \fi% } \newcommand*\tud@cdfont@@@check[2]{% \@tud@res@swatrue% \def\tud@res@a##1##2{% \@tud@res@swafalse% \tud@cdfont@missing[##1]{##2}{\tud@cdmath@wrn}% }% \def\tud@res@b##1##2{% \tud@if@fdfileexists{##1}{##2}{}{% \begingroup% \edef\tud@res@a{% \endgroup% \noexpand\tud@res@a{##1}{##1##2.fd}% }% \tud@res@a% }% }% \@for\tud@res@c:={#1}\do{\tud@res@b{\tud@res@c}{#2}}% \if@tud@res@swa\else% \AtBeginDocument{% \if@tud@cdmath@active% \PackageWarning{tudscrfonts}% {% Some math font encodings are missing. \MessageBreak% The option `cdmath=false' is executed. You should\MessageBreak% either use this option by yourself or install\MessageBreak% all necessary fonts with a installation script\MessageBreak% listed in the manual }% \fi% \TUDoptions{cdmath=false}% }% \fi% } \newcommand*\tud@cdfont@missing[3][\encodingdefault]{% \begingroup% \def\tud@res@a{% `#2' font\MessageBreak% not found for `#1' encoding. \MessageBreak% }% \if@tud@x@fontspec@enabled% \ifstr{\encodingdefault}{#1}{% \appto\tud@res@a{% It seems, you haven't installed the required\MessageBreak% OTF-font on your system. You should provide\MessageBreak% the fonts manually to your OS\MessageBreak% \if@tud@cdoldfont@active\else% or install package `opensans'\MessageBreak% \fi% }% }{}% \else% \if@tud@cdoldfont@active% \def\tud@res@b{T1,OT1,OMS,OML}% \else% \def\tud@res@b{T1,OT1,T2A,T2B,T2C,X2,LGR}% \fi% \@tud@res@swafalse% \@for\tud@res@c:=\tud@res@b\do{% \ifstr{\tud@res@c}{#1}{\@tud@res@swatrue}{}% }% \if@tud@res@swa% \appto\tud@res@a{% You should % \if@tud@cdoldfont@active% try to install the necessary fonts\MessageBreak% with a installation script listed in the manual% \else% install package `opensans'% \fi% . \MessageBreak% }% \else% \ifstr{\encodingdefault}{#1}{% \ifstr{TU}{#1}{% \appto\tud@res@a{% You should either load package `fontspec'\MessageBreak% or % }% }{% \appto\tud@res@a{Please }% }% \appto\tud@res@a{% choose a possible encoding with package\MessageBreak% `fontenc' (\tud@res@b). \MessageBreak% }% }{}% \fi% \fi% \appto\tud@res@a{A fallback layout is used}% \edef\tud@res@c{% \etex@unexpanded{\PackageWarning{tudscrfonts}}% {\tud@res@a} }% \xappto#3{\expandonce\tud@res@c}% \endgroup% } \begingroup \catcode`\^=7 \catcode30=12 \catcode`\!=12 \edef\tud@reserved{\@gobble^^^^0021} \expandafter\endgroup \ifx\tud@reserved\@empty\relax \RequirePackage{newunicodechar}[2012/11/12]% \uccode"00DF="1E9E% \lccode"1E9E="00DF% \newunicodechar{^^^^00df}{\iffontchar\font"00DF \symbol{"00DF}\else ss\fi}% \newunicodechar{^^^^1e9e}{\iffontchar\font"1E9E \symbol{"1E9E}\else SS\fi}% \fi \newcommand*\tud@raggedright{\raggedright} \newcommand*\tud@RaggedRight{\raggedright} \AfterPackage*{ragged2e}{% \ifundef{\LaTeXraggedright}{}{% \renewcommand*\tud@raggedright{\LaTeXraggedright}% }% \renewcommand*\tud@RaggedRight{\RaggedRight}% } \newif\if@tud@x@siunitx@enabled \AfterAtEndOfPackage*{siunitx}{% \@tud@x@siunitx@enabledtrue% \providecommand*\lseries{\fontseries{l}\selectfont}% } \AfterClass*{beamer}{\usefonttheme[onlymath]{serif}} \newif\if@tud@x@bm@requested \@ifpackageloaded{bm}{% \PackageWarning{tudscrfonts}{% Package `bm' must be loaded after `tudscrfonts'. \MessageBreak% Otherwise the functionality can not be guaranteed% }% }{% \PreventPackageFromLoading[\@tud@x@bm@requestedtrue]{bm} } \newcommand*\tud@x@fontspec@init[2]{% \begingroup% \edef\tud@res@a{% \noexpand\defaultfontfeatures[#1]{% NFSSFamily=#1,% Ligatures=TeX,% BoldFont={},% ItalicFont={},% BoldItalicFont={},% SmallCapsFont={},% #2% }% }% \edef\tud@res@b{% \noexpand\newfontfamily% \expandafter\noexpand\csname tud@x@fontspec@fam@#1\endcsname{#1}% }% \edef\tud@res@c{% \endgroup\expandonce\tud@res@a\expandonce\tud@res@b% }% \tud@res@c% } \newcommand*\tud@x@fontspec@set[2]{% \begingroup% \edef\tud@res@a{% \expandafter\noexpand\csname tud@x@fontspec@fam@#2\endcsname% }% \edef\tud@res@a{% \endgroup% \noexpand\DeclareRobustCommand% \expandafter\noexpand\csname #1family\endcsname{% \expandafter\noexpand\csname tud@x@fontspec@fam@#2\endcsname% }% \def\expandafter\noexpand\csname #1default\endcsname{\tud@cdfont@fam}% }% \tud@res@a% } \newcommand*\tud@font@set{% \if@tud@cdfont@active% \tud@cs@store{rmdefault}% \tud@cs@store{sfdefault}% \tud@cs@store{ttdefault}% \tud@cs@store{bfdefault}% \tud@cs@store{mddefault}% \tud@cs@store{updefault}% \tud@cs@store{sldefault}% \tud@cs@store{itdefault}% \tud@cs@store{familydefault}% \tud@cs@store{seriesdefault}% \tud@cs@store{shapedefault}% \if@tud@x@mweights@enabled% \tud@cs@store{bfseries@rm}% \tud@cs@store{mdseries@rm}% \tud@cs@store{bfseries@sf}% \tud@cs@store{mdseries@sf}% \tud@cs@store{bfseries@tt}% \tud@cs@store{mdseries@tt}% \fi% \if@tud@x@fontspec@enabled% \tud@cs@store{rmfamily}% \tud@cs@store{sffamily}% \tud@cs@store{ttfamily}% \fi% \renewcommand*\rmdefault{\sfdefault}% \renewcommand*\updefault{n}% \renewcommand*\itdefault{it}% \renewcommand*\sldefault{sl}% \renewcommand*\familydefault{\sfdefault}% \renewcommand*\seriesdefault{\mddefault}% \renewcommand*\shapedefault{\updefault}% \tud@cdfont@set% \tud@cdfont@symbols@set% \tud@ttfont@set% \if@tud@x@mweights@enabled% \edef\bfseries@rm{\tud@cdfont@bf}% \edef\mdseries@rm{\tud@cdfont@md}% \edef\bfseries@sf{\tud@cdfont@bf}% \edef\mdseries@sf{\tud@cdfont@md}% \edef\bfseries@tt{\tud@ttfont@bf}% \edef\mdseries@tt{\tud@ttfont@md}% \fi% \let\bfdefault\tud@cdfont@bf% \let\mddefault\tud@cdfont@md% \else% \tud@cs@restore{rmdefault}% \tud@cs@restore{sfdefault}% \tud@cs@restore{ttdefault}% \tud@cs@restore{bfdefault}% \tud@cs@restore{mddefault}% \tud@cs@restore{updefault}% \tud@cs@restore{sldefault}% \tud@cs@restore{itdefault}% \tud@cs@restore{familydefault}% \tud@cs@restore{seriesdefault}% \tud@cs@restore{shapedefault}% \if@tud@x@mweights@enabled% \tud@cs@restore{bfseries@rm}% \tud@cs@restore{mdseries@rm}% \tud@cs@restore{bfseries@sf}% \tud@cs@restore{mdseries@sf}% \tud@cs@restore{bfseries@tt}% \tud@cs@restore{mdseries@tt}% \fi% \if@tud@x@fontspec@enabled% \tud@cs@restore{rmfamily}% \tud@cs@restore{sffamily}% \tud@cs@restore{ttfamily}% \fi% \tud@cdfont@symbols@reset% \fi% \if@tud@x@mweights@enabled% \edef\rmdef@ult{\rmdefault}% \edef\sfdef@ult{\sfdefault}% \edef\ttdef@ult{\ttdefault}% \edef\bfdef@ult{\bfdefault}% \edef\mddef@ult{\mddefault}% \edef\famdef@ult{\familydefault}% \fi% \tud@font@skip@set% \normalfont\selectfont% } \newcommand*\tud@cdfont@set{% \if@tud@cdfont@fam@exist% \if@tud@cdfont@lining% \let\tud@cdfont@fam\tud@cdfont@fam@lf% \else% \let\tud@cdfont@fam\tud@cdfont@fam@osf% \fi% \if@tud@x@fontspec@enabled% \tud@x@fontspec@set{sf}{\tud@cdfont@fam}% \else% \renewcommand*\sfdefault{\tud@cdfont@fam}% \fi% \tud@cdfont@@set% \fi% \tud@cdfont@wrn% } \newcommand*\tud@cdfont@md{m} \newcommand*\tud@cdfont@bf{b} \newcommand*\tud@cdfont@ebf{bx} \newcommand*\tud@cdfont@@set{% \if@tud@cdfont@heavy% \renewcommand*\tud@cdfont@md{m}% \if@tud@cdfont@ultrabold% \renewcommand*\tud@cdfont@bf{b}% \renewcommand*\tud@cdfont@ebf{eb}% \else% \renewcommand*\tud@cdfont@bf{sb}% \renewcommand*\tud@cdfont@ebf{b}% \fi% \else% \renewcommand*\tud@cdfont@md{l}% \if@tud@cdfont@ultrabold% \renewcommand*\tud@cdfont@bf{sb}% \renewcommand*\tud@cdfont@ebf{b}% \else% \renewcommand*\tud@cdfont@bf{m}% \renewcommand*\tud@cdfont@ebf{sb}% \fi% \fi% } \if@tud@cdoldfont@active \renewcommand*\tud@cdfont@@set{% \if@tud@cdfont@heavy% \renewcommand*\tud@cdfont@md{m}% \if@tud@cdfont@ultrabold% \renewcommand*\tud@cdfont@bf{eb}% \renewcommand*\tud@cdfont@ebf{eb}% \else% \renewcommand*\tud@cdfont@bf{b}% \renewcommand*\tud@cdfont@ebf{eb}% \fi% \else% \renewcommand*\tud@cdfont@md{l}% \if@tud@cdfont@ultrabold% \renewcommand*\tud@cdfont@bf{b}% \renewcommand*\tud@cdfont@ebf{eb}% \else% \renewcommand*\tud@cdfont@bf{m}% \renewcommand*\tud@cdfont@ebf{b}% \fi% \fi% }% \fi \newcommand*\tud@cdfont@symb@list{} \newcommand*\tud@cdfont@declare@symb[4]{% \listeadd\tud@cdfont@symb@list{#1}% \tud@DeclareTextSymbol{#1}{#2}{#3}{#4}% } \newcommand*\tud@DeclareTextSymbol[4]{% \begingroup% \edef\tud@res@a{% \endgroup% \noexpand\DeclareTextCommand% {\csname tud@cdfont@symbol@#1\endcsname}{#2}% {\unexpanded{{\fontfamily{#3}\selectfont\char#4}}}% \noexpand\DeclareTextCommandDefault% {\csname tud@cdfont@symbol@#1\endcsname}% {\noexpand\UseTextSymbol{#2}{\csname tud@cdfont@symbol@#1\endcsname}}% }% \tud@res@a% \expandafter\robustify\csname tud@cdfont@symbol@#1\endcsname% } \newtoks\tud@cdfont@symbols@toks \newcommand*\tud@cdfont@symbols@set{% \expandafter\IfArgIsEmpty\expandafter{\the\tud@cdfont@symbols@toks}{% \forlistloop\tud@cdfont@symbols@set@cmd\tud@cdfont@symb@list% \addto@hook\tud@cdfont@symbols@toks{\tud@cdfont@symbols@toks{}}% }{}% } \newcommand*\tud@cdfont@symbols@set@cmd[1]{% \tud@cs@store{#1}% \addto@hook\tud@cdfont@symbols@toks{\tud@cs@restore{#1}}% \tud@cs@letltx{#1}{tud@cdfont@symbol@#1}% } \newcommand*\tud@cdfont@symbols@reset{\the\tud@cdfont@symbols@toks} \newcommand*\tud@cdfont@declare@textsymb{% \tud@cdfont@declare@symb{textleftarrow}{TS1}{iwona}{24}% \tud@cdfont@declare@symb{textrightarrow}{TS1}{iwona}{25}% \tud@cdfont@declare@symb{textuparrow}{TS1}{iwona}{94}% \tud@cdfont@declare@symb{textdownarrow}{TS1}{iwona}{95}% \tud@cdfont@declare@symb{textlangle}{TS1}{iwona}{60}% \tud@cdfont@declare@symb{textrangle}{TS1}{iwona}{62}% } \newcommand*\tud@font@skip@set{% \if@tud@relspacing% \tud@skip@store{smallskipamount}% \tud@skip@store{medskipamount}% \tud@skip@store{bigskipamount}% \tud@skip@store{abovecaptionskip}% \tud@skip@store{belowcaptionskip}% \tud@skip@store{columnsep}% \tud@font@skip@@set% \else% \tud@skip@restore{smallskipamount}% \tud@skip@restore{medskipamount}% \tud@skip@restore{bigskipamount}% \tud@skip@restore{abovecaptionskip}% \tud@skip@restore{belowcaptionskip}% \tud@skip@restore{columnsep}% \fi% } \newcommand*\tud@font@skip@@set{% \smallskipamount=\partopsep% \medskipamount=\partopsep% \multiply\medskipamount by 2% \bigskipamount=\partopsep% \multiply\bigskipamount by 4% \tud@skip@set{abovecaptionskip}{\dimexpr\bigskipamount*5/6\relax}% \tud@skip@set{belowcaptionskip}{\z@}% \tud@skip@set{columnsep}{1.1\baselineskip}% } \newcommand*\tud@cdfont@init{% \if@tud@cdfont@fam@exist% \if@tud@x@fontspec@enabled% \def\tud@res@a{% UprightFont={OpenSans-Regular},% FontFace={l}{n}{OpenSans-Light},% FontFace={m}{n}{OpenSans-Regular},% FontFace={sb}{n}{OpenSans-SemiBold},% FontFace={b}{n}{OpenSans-Bold},% FontFace={bx}{n}{OpenSans-Bold},% FontFace={eb}{n}{OpenSans-ExtraBold},% FontFace={l}{it}{OpenSans-LightItalic},% FontFace={m}{it}{OpenSans-Italic},% FontFace={sb}{it}{OpenSans-SemiBoldItalic},% FontFace={b}{it}{OpenSans-BoldItalic},% FontFace={bx}{it}{OpenSans-BoldItalic},% FontFace={eb}{it}{OpenSans-ExtraBoldItalic}% }% \tud@x@fontspec@init{\tud@cdfont@fam@osf}{Numbers=OldStyle,\tud@res@a}% \tud@x@fontspec@init{\tud@cdfont@fam@lf}{\tud@res@a}% \else% \IfFileExists{omliwona.fd}{% \input{omliwona.fd}% \@for\tud@res@a:={l,m,sb,b,eb}\do{% \csletcs{OML/\tud@cdfont@fam@lf/\tud@res@a/it}% {OML/iwona/\tud@res@a/it}% \csletcs{OML/\tud@cdfont@fam@osf/\tud@res@a/it}% {OML/iwona/\tud@res@a/it}% }% }{}% \IfFileExists{omsiwona.fd}{% \input{omsiwona.fd}% \@for\tud@res@a:={l,m,sb,b,eb}\do{% \csletcs{OMS/\tud@cdfont@fam@lf/\tud@res@a/n}% {OMS/iwona/\tud@res@a/n}% \csletcs{OMS/\tud@cdfont@fam@osf/\tud@res@a/n}% {OMS/iwona/\tud@res@a/n}% }% }{}% \tud@cdfont@declare@textsymb% \fi% \newrobustcmd*\cdfontln{\usefont{\encodingdefault}{\tud@cdfont@fam}{l}{n}} \newrobustcmd*\cdfontrn{\usefont{\encodingdefault}{\tud@cdfont@fam}{m}{n}} \newrobustcmd*\cdfontsn{\usefont{\encodingdefault}{\tud@cdfont@fam}{sb}{n}} \newrobustcmd*\cdfontbn{\usefont{\encodingdefault}{\tud@cdfont@fam}{b}{n}} \newrobustcmd*\cdfontxn{\usefont{\encodingdefault}{\tud@cdfont@fam}{eb}{n}} \newrobustcmd*\cdfontli{\usefont{\encodingdefault}{\tud@cdfont@fam}{l}{it}} \newrobustcmd*\cdfontri{\usefont{\encodingdefault}{\tud@cdfont@fam}{m}{it}} \newrobustcmd*\cdfontsi{\usefont{\encodingdefault}{\tud@cdfont@fam}{sb}{it}} \newrobustcmd*\cdfontbi{\usefont{\encodingdefault}{\tud@cdfont@fam}{b}{it}} \newrobustcmd*\cdfontxi{\usefont{\encodingdefault}{\tud@cdfont@fam}{eb}{it}} \else% \tud@cdfont@fallback\cdfontln{OpenSans-Light}{md}{up} \tud@cdfont@fallback\cdfontrn{OpenSans-Regular}{md}{up} \tud@cdfont@fallback\cdfontsn{OpenSans-SemiBold}{md}{up} \tud@cdfont@fallback\cdfontbn{OpenSans-Bold}{bf}{up} \tud@cdfont@fallback\cdfontxn{OpenSans-ExtraBold}{bf}{up} \tud@cdfont@fallback\cdfontli{OpenSans-LightItalic}{md}{it} \tud@cdfont@fallback\cdfontri{OpenSans-Italic}{md}{it} \tud@cdfont@fallback\cdfontsi{OpenSans-SemiBoldItalic}{md}{it} \tud@cdfont@fallback\cdfontbi{OpenSans-BoldItalic}{bf}{it} \tud@cdfont@fallback\cdfontxi{OpenSans-ExtraBoldItalic}{bf}{it} \fi% \newcommand*\textcdln{}% \newcommand*\textcdrn{}% \newcommand*\textcdsn{}% \newcommand*\textcdbn{}% \newcommand*\textcdxn{}% \newcommand*\textcdli{}% \newcommand*\textcdri{}% \newcommand*\textcdsi{}% \newcommand*\textcdbi{}% \newcommand*\textcdxi{}% \DeclareTextFontCommand\textcdln{\cdfontln}% \DeclareTextFontCommand\textcdrn{\cdfontrn}% \DeclareTextFontCommand\textcdsn{\cdfontsn}% \DeclareTextFontCommand\textcdbn{\cdfontbn}% \DeclareTextFontCommand\textcdxn{\cdfontxn}% \DeclareTextFontCommand\textcdli{\cdfontli}% \DeclareTextFontCommand\textcdri{\cdfontri}% \DeclareTextFontCommand\textcdsi{\cdfontsi}% \DeclareTextFontCommand\textcdbi{\cdfontbi}% \DeclareTextFontCommand\textcdxi{\cdfontxi}% } \if@tud@cdoldfont@active \renewcommand*\tud@cdfont@init{% \if@tud@cdfont@fam@exist% \if@tud@x@fontspec@enabled% \def\tud@res@a{% UprightFont={Univers},% FontFace={l}{n}{Univers-Light},% FontFace={m}{n}{Univers},% FontFace={b}{n}{Univers-Bold},% FontFace={bx}{n}{Univers-Bold},% FontFace={eb}{n}{Univers-Black},% FontFace={l}{it}{Univers-LightOblique},% FontFace={m}{it}{Univers-Oblique},% FontFace={b}{it}{Univers-BoldOblique},% FontFace={bx}{it}{Univers-BoldOblique},% FontFace={eb}{it}{Univers-BlackOblique}% }% \tud@x@fontspec@init{\tud@cdfont@fam@lf}{\tud@res@a}% \fi% \newrobustcmd*\univln{\usefont{\encodingdefault}{\tud@cdfont@fam}{l}{n}} \newrobustcmd*\univrn{\usefont{\encodingdefault}{\tud@cdfont@fam}{m}{n}} \newrobustcmd*\univbn{\usefont{\encodingdefault}{\tud@cdfont@fam}{b}{n}} \newrobustcmd*\univxn{\usefont{\encodingdefault}{\tud@cdfont@fam}{eb}{n}} \newrobustcmd*\univls{\usefont{\encodingdefault}{\tud@cdfont@fam}{l}{sl}} \newrobustcmd*\univrs{\usefont{\encodingdefault}{\tud@cdfont@fam}{m}{sl}} \newrobustcmd*\univbs{\usefont{\encodingdefault}{\tud@cdfont@fam}{b}{sl}} \newrobustcmd*\univxs{\usefont{\encodingdefault}{\tud@cdfont@fam}{eb}{sl}} \else% \tud@cdfont@fallback\univln{Univers-Light}{md}{up} \tud@cdfont@fallback\univrn{Univers}{md}{up} \tud@cdfont@fallback\univbn{Univers-Bold}{bf}{up} \tud@cdfont@fallback\univxn{Univers-Black}{bf}{up} \tud@cdfont@fallback\univls{Univers-LightOblique}{md}{sl} \tud@cdfont@fallback\univrs{Univers-Oblique}{md}{sl} \tud@cdfont@fallback\univbs{Univers-BoldOblique}{bf}{sl} \tud@cdfont@fallback\univxs{Univers-BlackOblique}{bf}{sl} \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}% \newrobustcmd*\cdfontln{\univln}% \newrobustcmd*\cdfontrn{\univrn}% \newrobustcmd*\cdfontsn{\univrn}% \newrobustcmd*\cdfontbn{\univbn}% \newrobustcmd*\cdfontxn{\univxn}% \newrobustcmd*\cdfontli{\univls}% \newrobustcmd*\cdfontri{\univrs}% \newrobustcmd*\cdfontsi{\univrs}% \newrobustcmd*\cdfontbi{\univbs}% \newrobustcmd*\cdfontxi{\univxs}% \newcommand*\textcdln{}% \newcommand*\textcdrn{}% \newcommand*\textcdsn{}% \newcommand*\textcdbn{}% \newcommand*\textcdxn{}% \newcommand*\textcdli{}% \newcommand*\textcdri{}% \newcommand*\textcdsi{}% \newcommand*\textcdbi{}% \newcommand*\textcdxi{}% \DeclareTextFontCommand\textcdln{\cdfontln}% \DeclareTextFontCommand\textcdrn{\cdfontrn}% \DeclareTextFontCommand\textcdsn{\cdfontsn}% \DeclareTextFontCommand\textcdbn{\cdfontbn}% \DeclareTextFontCommand\textcdxn{\cdfontxn}% \DeclareTextFontCommand\textcdli{\cdfontli}% \DeclareTextFontCommand\textcdri{\cdfontri}% \DeclareTextFontCommand\textcdsi{\cdfontsi}% \DeclareTextFontCommand\textcdbi{\cdfontbi}% \DeclareTextFontCommand\textcdxi{\cdfontxi}% \if@tud@cdfont@db@exist% \if@tud@x@fontspec@enabled% \def\tud@res@a{% UprightFont={DIN-Bold},% FontFace={l}{n}{DIN-Bold},% FontFace={m}{n}{DIN-Bold},% FontFace={b}{n}{DIN-Bold},% FontFace={bx}{n}{DIN-Bold},% FontFace={eb}{n}{DIN-Bold},% FontFace={l}{it}{Font=DIN-Bold,FakeSlant=0.15},% FontFace={m}{it}{Font=DIN-Bold,FakeSlant=0.15},% FontFace={b}{it}{Font=DIN-Bold,FakeSlant=0.15},% FontFace={bx}{it}{Font=DIN-Bold,FakeSlant=0.15},% FontFace={eb}{it}{Font=DIN-Bold,FakeSlant=0.15}% }% \tud@x@fontspec@init{\tud@cdfont@db}{\tud@res@a}% \fi% \newrobustcmd*\tud@db{% \usefont{\encodingdefault}{\tud@cdfont@db}{b}{n}% \if@tud@cdmath@active\mathversion{tuddin}\fi% }% \newrobustcmd*\dinbn{\tud@db}% \else% \newrobustcmd*\tud@db{\tud@db@wrn\sectfont}% \newcommand*\tud@db@wrn{% \PackageWarning{tudscrfonts}% {% Font `DIN-Bold' is not available and therefore\MessageBreak can not be used for headings% }% \global\let\tud@db@wrn\relax% }% \newrobustcmd*\dinbn{\tud@cdfont@fallback@wrn{DIN-Bold}\sectfont}% \fi% \newcommand*\textdbn{}% \DeclareTextFontCommand\textdbn{\dinbn}% }% \fi \newcommand*\tud@cdfont@fallback[4]{% \newrobustcmd*#1{% \tud@cdfont@fallback@wrn{#2}% \sffamily\csuse{#3series}\csuse{#4shape}% }% } \newcommand*\tud@cdfont@fallback@wrn[1]{% \PackageWarning{tudscrfonts}% {% The requested font `#1'\MessageBreak% is not available, a fallback layout is used% }% } \newcommand*\cdfont[1]{% \tud@cdfont@get{#1}% \ifx\@tempc\relax\else% \csuse{cdfont\@tempc}% \fi% } \newcommand*\textcd[2]{% \tud@cdfont@get{#1}% \ifx\@tempc\relax% \textsf{#2}% \else% \csuse{textcd\@tempc}{#2}% \fi% } \if@tud@cdoldfont@active \renewcommand*\cdfont[1]{% \tud@cdfont@get{#1}% \ifx\@tempc\relax\else% \ifstr{\@tempc}{dinbn}{\dinbn}{\csuse{univ\@tempc}}% \fi% }% \renewcommand*\textcd[2]{% \tud@cdfont@get{#1}% \ifx\@tempc\relax% \textsf{#2}% \else% \ifstr{\@tempc}{dinbn}{\textdbn{#2}}{\csuse{textu\@tempc}{#2}}% \fi% }% \fi \newcommand*\tud@cdfont@get[1]{% \tud@cdfont@trim\@tempa{#1}% \ifstr{\@tempa}{l}{\def\@tempc{ln}}{% \ifstr{\@tempa}{}{\def\@tempc{rn}}{% \ifstr{\@tempa}{r}{\def\@tempc{rn}}{% \ifstr{\@tempa}{s}{\def\@tempc{sn}}{% \ifstr{\@tempa}{b}{\def\@tempc{bn}}{% \ifstr{\@tempa}{x}{\def\@tempc{xn}}{% \ifstr{\@tempa}{li}{\def\@tempc{li}}{% \ifstr{\@tempa}{il}{\def\@tempc{li}}{% \ifstr{\@tempa}{i}{\def\@tempc{ri}}{% \ifstr{\@tempa}{ri}{\def\@tempc{ri}}{% \ifstr{\@tempa}{ir}{\def\@tempc{ri}}{% \ifstr{\@tempa}{si}{\def\@tempc{si}}{% \ifstr{\@tempa}{is}{\def\@tempc{si}}{% \ifstr{\@tempa}{bi}{\def\@tempc{bi}}{% \ifstr{\@tempa}{ib}{\def\@tempc{bi}}{% \ifstr{\@tempa}{xi}{\def\@tempc{xi}}{% \ifstr{\@tempa}{ix}{\def\@tempc{xi}}{% \let\@tempc\relax% \PackageWarning{tudscrfonts}% {The font `#1' is unknown}% }}}}}}}}}}}}}}}}}% } \if@tud@cdoldfont@active \renewcommand*\tud@cdfont@get[1]{% \tud@cdfont@trim\@tempa{#1}% \ifstr{\@tempa}{45}{\def\@tempc{ln}}{% \ifstr{\@tempa}{55}{\def\@tempc{rn}}{% \ifstr{\@tempa}{65}{\def\@tempc{bn}}{% \ifstr{\@tempa}{75}{\def\@tempc{xn}}{% \ifstr{\@tempa}{45oblique}{\def\@tempc{ls}}{% \ifstr{\@tempa}{55oblique}{\def\@tempc{rs}}{% \ifstr{\@tempa}{65oblique}{\def\@tempc{bs}}{% \ifstr{\@tempa}{75oblique}{\def\@tempc{xs}}{% \ifstr{\@tempa}{oblique45}{\def\@tempc{ls}}{% \ifstr{\@tempa}{oblique55}{\def\@tempc{rs}}{% \ifstr{\@tempa}{oblique65}{\def\@tempc{bs}}{% \ifstr{\@tempa}{oblique75}{\def\@tempc{xs}}{% \ifstr{\@tempa}{din}{\def\@tempc{dinbn}}{% \ifstr{\@tempa}{din65}{\def\@tempc{dinbn}}{% \let\@tempc\relax% \PackageWarning{tudscrfonts}% {The font `#1' is unknown}% }}}}}}}}}}}}}}% }% \fi \newcommand*\tud@cdfont@trim[2]{% \protected@edef\@tempa{\trim@spaces{#2}}% \tud@lowerstring{\@tempa}{\@tempa}% \tud@cdfont@@trim{ }{}% \tud@cdfont@@trim{-}{}% \tud@cdfont@@trim{_}{}% \tud@cdfont@@trim{~}{}% \tud@cdfont@@trim{opensans}{}% \tud@cdfont@@trim{light}{l}% \tud@cdfont@@trim{regular}{r}% \tud@cdfont@@trim{book}{r}% \tud@cdfont@@trim{semibold}{s}% \tud@cdfont@@trim{demi}{s}% \tud@cdfont@@trim{extrabold}{x}% \tud@cdfont@@trim{black}{x}% \tud@cdfont@@trim{bold}{b}% \tud@cdfont@@trim{italic}{i}% \tud@cdfont@@trim{oblique}{i}% \tud@cdfont@@trim{slanted}{i}% \let#1\@tempa% } \if@tud@cdoldfont@active \renewcommand*\tud@cdfont@trim[2]{% \protected@edef\@tempa{\trim@spaces{#2}}% \tud@lowerstring{\@tempa}{\@tempa}% \tud@cdfont@@trim{ }{}% \tud@cdfont@@trim{-}{}% \tud@cdfont@@trim{_}{}% \tud@cdfont@@trim{~}{}% \tud@cdfont@@trim{ce}{}% \tud@cdfont@@trim{ff}{}% \tud@cdfont@@trim{univers}{}% \tud@cdfont@@trim{60}{65}% \tud@cdfont@@trim{light}{45}% \tud@cdfont@@trim{regular}{55}% \tud@cdfont@@trim{bold}{65}% \tud@cdfont@@trim{black}{75}% \tud@cdfont@@trim{4545}{45}% \tud@cdfont@@trim{5555}{55}% \tud@cdfont@@trim{6565}{65}% \tud@cdfont@@trim{7575}{75}% \tud@cdfont@@trim{italic}{oblique}% \tud@cdfont@@trim{slanted}{oblique}% \let#1\@tempa% }% \fi \newcommand*\tud@cdfont@@trim[2]{% \def\@tempb##1#1##2\relax{\def\@tempa{##1#2##2}}% \@expandtwoargs\in@{#1}{\@tempa}% \@whilesw\ifin@\fi{% \expandafter\@tempb\@tempa\relax% \@expandtwoargs\in@{#1}{\@tempa}% }% } \newcommand*\tud@ttfont@set{% \if@tud@ttfont@rb@exist\else\ifnum\tud@ttfont@num=\@ne\relax% \PackageWarning{tudscrfonts}% {% The package `roboto-mono' is missing so the\MessageBreak% typewriter font of package `lmodern' is used% }% \TUDoptions{ttfont=lmodern}% \fi\fi% \ifcase\tud@ttfont@num\relax% false \let\tud@ttfont@fam\ttdefault% \or% roboto \let\tud@ttfont@fam\tud@ttfont@rb% \or% lmodern \let\tud@ttfont@fam\tud@ttfont@lm% \fi% \ifcase\tud@ttfont@num\relax\else% !false \if@tud@x@fontspec@enabled% \ifx\ttdefault\tud@ttfont@fam\else% \tud@x@fontspec@set{tt}{\tud@ttfont@fam}% \fi% \else% \renewcommand*\ttdefault{\tud@ttfont@fam}% \fi% \fi% \tud@ttfont@@set% } \newcommand*\tud@ttfont@md{} \newcommand*\tud@ttfont@bf{} \newcommand*\tud@ttfont@ebf{} \newcommand*\tud@ttfont@@set{% \ifcase\tud@ttfont@num\relax% \ifundef{\mdseries@tt}{% \edef\tud@ttfont@md{\tud@cs@use{mddefault}}% }{% \edef\tud@ttfont@md{\mdseries@tt}% }% \ifundef{\bfseries@tt}{% \edef\tud@ttfont@bf{\tud@cs@use{bfdefault}}% }{% \edef\tud@ttfont@bf{\bfseries@tt}% }% \edef\tud@ttfont@ebf{\tud@ttfont@bf}% \or% roboto \renewcommand*\tud@ttfont@md{\tud@cdfont@md}% \renewcommand*\tud@ttfont@bf{\tud@cdfont@bf}% \renewcommand*\tud@ttfont@ebf{\tud@cdfont@ebf}% \else% lmodern \if@tud@cdfont@heavy% \renewcommand*\tud@ttfont@md{m}% \renewcommand*\tud@ttfont@bf{b}% \renewcommand*\tud@ttfont@ebf{b}% \else% \renewcommand*\tud@ttfont@md{l}% \if@tud@cdfont@ultrabold% \renewcommand*\tud@ttfont@bf{b}% \renewcommand*\tud@ttfont@ebf{b}% \else% \renewcommand*\tud@ttfont@bf{m}% \renewcommand*\tud@ttfont@ebf{b}% \fi% \fi% \fi% } \newcommand*\tud@ttfont@init{% \newcommand*\tud@ttfont@rb@scale{0.9}% \if@tud@x@fontspec@enabled% \if@tud@ttfont@rb@exist% \tud@x@fontspec@init{\tud@ttfont@rb}{% Scale={\tud@ttfont@rb@scale},% UprightFont={RobotoMono-Regular},% FontFace={l}{n}{RobotoMono-Light},% FontFace={m}{n}{RobotoMono-Regular},% FontFace={sb}{n}{RobotoMono-Medium},% FontFace={b}{n}{RobotoMono-Bold},% FontFace={bx}{n}{RobotoMono-Bold},% FontFace={eb}{n}{RobotoMono-Bold},% FontFace={l}{it}{RobotoMono-LightItalic},% FontFace={m}{it}{RobotoMono-Italic},% FontFace={sb}{it}{RobotoMono-MediumItalic},% FontFace={b}{it}{RobotoMono-BoldItalic},% FontFace={bx}{it}{RobotoMono-BoldItalic},% FontFace={eb}{it}{RobotoMono-BoldItalic}% }% \fi% \ifx\ttdefault\tud@ttfont@lm\else% \tud@x@fontspec@init{\tud@ttfont@lm}{% UprightFont={LMMono10-Regular},% FontFace={l}{n}{LMMonoLt10-Regular},% FontFace={m}{n}{LMMono10-Regular},% FontFace={b}{n}{LMMonoLt10-Bold},% FontFace={bx}{n}{LMMonoLt10-Bold},% FontFace={l}{it}{LMMonoLt10-Oblique},% FontFace={m}{it}{LMMonoSlant10-Regular},% FontFace={b}{it}{LMMonoLt10-BoldOblique},% FontFace={bx}{it}{LMMonoLt10-BoldOblique}% }% \fi% \else% \if@tud@ttfont@rb@exist% \edef\tud@ttfont@rb@scale{s*[\tud@ttfont@rb@scale]}% \begingroup% \def\tud@res@c##1##2{% \tud@lowerstring\tud@res@a{##1}% \DeclareFontFamily{##1}{\tud@ttfont@rb}{\hyphenchar\font=\m@ne}% \def\tud@res@b####1####2####3{% \DeclareFontShape{##1}{\tud@ttfont@rb}{####1}{n}{% <->\tud@ttfont@rb@scale RobotoMono-####2-tlf-\tud@res@a% }{}% \DeclareFontShape{##1}{\tud@ttfont@rb}{####1}{it}{% <->\tud@ttfont@rb@scale RobotoMono-####3-tlf-\tud@res@a% }{}% \DeclareFontShape{##1}{\tud@ttfont@rb}{####1}{sl}{% <->ssub*\tud@ttfont@rb/####1/it% }{}% \ifbool{##2}{% \DeclareFontShape{##1}{\tud@ttfont@rb}{####1}{sc}{% <->\tud@ttfont@rb@scale RobotoMono-####2-tlf-sc-\tud@res@a% }{}% \DeclareFontShape{##1}{\tud@ttfont@rb}{####1}{scit}{% <->\tud@ttfont@rb@scale RobotoMono-####3-tlf-sc-\tud@res@a% }{}% \DeclareFontShape{##1}{\tud@ttfont@rb}{####1}{scsl}{% <->ssub*\tud@ttfont@rb/####1/scit% }{}% }{}% }% \tud@res@b{l}{Light}{LightItalic}% \tud@res@b{m}{Regular}{Italic}% \tud@res@b{sb}{Medium}{MediumItalic}% \tud@res@b{b}{Bold}{BoldItalic}% \tud@res@b{bx}{Bold}{BoldItalic}% }% \tud@res@c{OT1}{true}% \tud@res@c{T1}{true}% \ifcsundef{T@TS1}{}{\tud@res@c{TS1}{false}}% \endgroup% \fi% \fi% } \newcommand*\tud@if@issymbolfont[1]{% \begingroup% \edef\tud@res@a{% \noexpand\in@\expandafter\noexpand% \csname sym#1\endcsname% {\expandonce\group@list}% }% \tud@res@a% \ifin@% \aftergroup\@firstoftwo% \else% \aftergroup\@secondoftwo% \fi% \endgroup% } \@onlypreamble\tud@if@issymbolfont \newcommand*\tud@if@ismathalphabet[1]{% \begingroup% \edef\tud@res@a{% \noexpand\in@\expandafter\noexpand% \csname\expandafter\@gobble\string#1\space\endcsname% {\expandonce\alpha@list}% }% \tud@res@a% \ifin@% \aftergroup\@firstoftwo% \else% \aftergroup\@secondoftwo% \fi% \endgroup% } \@onlypreamble\tud@if@ismathalphabet \newcommand*\tud@math@loop@greeks@all[1]{% \tud@math@loop@greeks@uc{#1}% \tud@math@loop@greeks@lc{#1}% } \newcommand*\tud@math@loop@greeks@uc[1]{% \@for\@tempa:={% Gamma,Delta,Theta,Lambda,Xi,Pi,Sigma,Upsilon,Phi,Psi,Omega% }\do{\expandafter#1\expandafter{\@tempa}}% } \newcommand*\tud@math@loop@greeks@lc[1]{% \@for\@tempa:={% alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,% mu,nu,xi,pi,rho,sigma,tau,upsilon,phi,chi,psi,omega,% varepsilon,vartheta,varpi,varrho,varsigma,varphi% }\do{\expandafter#1\expandafter{\@tempa}}% } \newcommand*\tud@math@declare@lgrgreeks[5]{% \ifundef{\T@LGR}{\DeclareFontEncoding{LGR}{}{}}{}% \tud@if@issymbolfont{tudupgrk}{% \SetSymbolFont{tudupgrk}{normal}{LGR}{#1}{#2}{#4}% }{% \DeclareSymbolFont{tudupgrk}{LGR}{#1}{#2}{#4}% }% \SetSymbolFont{tudupgrk}{bold}{LGR}{#1}{#3}{#4}% \tud@if@issymbolfont{tuditgrk}{% \SetSymbolFont{tuditgrk}{normal}{LGR}{#1}{#2}{#5}% }{% \DeclareSymbolFont{tuditgrk}{LGR}{#1}{#2}{#5}% }% \SetSymbolFont{tuditgrk}{bold}{LGR}{#1}{#3}{#5}% } \newcommand*\tud@math@map@greeks{% \tud@math@loop@greeks@all\tud@math@map@@greeks% \tud@math@loop@greeks@uc\tud@math@map@@@greeks% \tud@math@supplement@greeks% } \newcommand*\tud@math@map@@greeks[1]{% \ifcsundef{it#1}{% \@for\tud@res@a:={#1sl,sl#1,#1it}\do{% \ifcsundef{\tud@res@a}{}{\csedef{it#1}{\csname\tud@res@a\endcsname}}% }% }{}% \ifcsundef{up#1}{% \ifcsundef{#1up}{}{\csedef{up#1}{\csname#1up\endcsname}}% }{}% \ifcsundef{other#1}{% \ifcsundef{#1other}{}{\csedef{other#1}{\csname#1other\endcsname}}% }{}% } \newcommand*\tud@math@map@@@greeks[1]{% \ifcsundef{it#1}{% \ifcsundef{var#1}{}{\csedef{it#1}{\csname var#1\endcsname}}% }{}% \ifcsundef{up#1}{% \tud@lowerstring\tud@res@a{#1}% \edef\tud@res@a{Up\tud@res@a}% \ifcsundef{\tud@res@a}{}{\csedef{up#1}{\csname\tud@res@a\endcsname}}% }{}% } \newcommand*\tud@math@supplement@greeks{% \begingroup% \newcommand*\tud@math@operators@enc{}% \newcommand*\tud@math@operators@fam{}% \newcommand*\tud@math@letters@enc{}% \newcommand*\tud@math@letters@fam{}% \def\getanddefine@fonts##1##2{% \ifx\symoperators##1% \expandafter\tud@res@a\string##2\@nil% \else\ifx\symletters##1% \expandafter\tud@res@b\string##2\@nil% \fi\fi% }% \def\tud@res@a##1##2/##3/##4\@nil{% \def\tud@math@operators@enc{##2}% \def\tud@math@operators@fam{##3}% }% \def\tud@res@b##1##2/##3/##4\@nil{% \def\tud@math@letters@enc{##2}% \def\tud@math@letters@fam{##3}% }% \tud@cs@use{mv@normal}% \let\tud@res@c\@empty% \ifstr{\tud@math@letters@enc}{\detokenize{OML}}{% \def\tud@res@a##1{% \ifcsundef{it##1}{% \eappto\tud@res@c{% \noexpand\DeclareMathSymbol{\csname it##1\endcsname}% {\noexpand\mathalpha}{letters}{\the\tud@res@cnt}% }% }{}% \advance\tud@res@cnt\@ne\relax% }% \tud@res@cnt=\z@\relax% \tud@math@loop@greeks@all\tud@res@a% }{}% \ifstr{\tud@math@operators@enc}{\detokenize{OT1}}{% \def\tud@res@a##1{% \ifcsundef{up##1}{% \eappto\tud@res@c{% \noexpand\DeclareMathSymbol{\csname up##1\endcsname}% {\noexpand\mathalpha}{operators}{\the\tud@res@cnt}% }% }{}% \advance\tud@res@cnt\@ne\relax% }% \tud@res@cnt=\z@\relax% \tud@math@loop@greeks@uc\tud@res@a% }{}% \let\tud@res@a\@empty% \if@tud@lgrgreeks% \tud@if@fdfileexists{LGR}{\tud@cs@use{familydefault}}{% \def\tud@res@a{\tud@cs@use{familydefault}}% }{% \tud@if@fdfileexists{LGR}{\tud@math@letters@fam}{% \let\tud@res@a\tud@math@letters@fam% }{% \tud@if@fdfileexists{LGR}{\tud@math@operators@fam}{% \let\tud@res@a\tud@math@operators@fam% }{}% }% }% \fi% \edef\tud@res@a{% \endgroup% \expandonce\tud@res@c% \edef\noexpand\tud@res@a{\tud@res@a}% }% \tud@res@a% \ifx\tud@res@a\@empty\else% \tud@math@declare@lgrgreeks{\tud@res@a}% {\tud@cs@use{mddefault}}{\tud@cs@use{bfdefault}}% {\tud@cs@use{updefault}}{\tud@cs@use{itdefault}}% \let\tud@res@c\@empty% \def\tud@res@b##1##2{% \ifcsundef{it##1}{% \eappto\tud@res@c{% \noexpand\DeclareMathSymbol{\csname it##1\endcsname}% {\noexpand\mathalpha}{tuditgrk}{##2}% }% }{}% \ifcsundef{up##1}{% \eappto\tud@res@c{% \noexpand\DeclareMathSymbol{\csname up##1\endcsname}% {\noexpand\mathalpha}{tudupgrk}{##2}% }% }{}% }% \tud@res@b{Gamma}{71}% \tud@res@b{Delta}{68}% \tud@res@b{Theta}{74}% \tud@res@b{Lambda}{76}% \tud@res@b{Xi}{88}% \tud@res@b{Pi}{80}% \tud@res@b{Sigma}{83}% \tud@res@b{Upsilon}{85}% \tud@res@b{Phi}{70}% \tud@res@b{Psi}{89}% \tud@res@b{Omega}{87}% \tud@res@b{alpha}{97}% \tud@res@b{beta}{98}% \tud@res@b{gamma}{103}% \tud@res@b{delta}{100}% \tud@res@b{epsilon}{101}% \tud@res@b{zeta}{122}% \tud@res@b{eta}{104}% \tud@res@b{theta}{106}% \tud@res@b{iota}{105}% \tud@res@b{kappa}{107}% \tud@res@b{lambda}{108}% \tud@res@b{mu}{109}% \tud@res@b{nu}{110}% \tud@res@b{xi}{120}% \tud@res@b{pi}{112}% \tud@res@b{rho}{114}% \tud@res@b{sigma}{115}% \tud@res@b{tau}{116}% \tud@res@b{upsilon}{117}% \tud@res@b{phi}{102}% \tud@res@b{chi}{113}% \tud@res@b{psi}{121}% \tud@res@b{omega}{119}% \tud@res@c% \fi% } \newcommand*\tud@math@checkslanted@greeks{% \begingroup% \def\tud@res@c{% \tud@if@v@lower{2.06}{% \TUD@key@preset{slantedgreek}{standard}% }{% \TUD@key@preset{slantedgreek}{true}% }% }% \@tud@res@swafalse% \ifcsdef{upalpha}{% \ifx\upalpha\alpha% \@tud@res@swatrue% \fi% }{}% \if@tud@res@swa% \def\tud@res@c{\TUD@key@preset{slantedgreek}{false}}% \else% \ifcsdef{itGamma}{% \ifx\itGamma\Gamma% \@tud@res@swatrue% \fi% }{% \let\tud@res@a\relax% \let\tud@res@b\relax% \DeclareMathSymbol{\tud@res@a}{\mathalpha}{letters}{0}% \DeclareMathSymbol{\tud@res@b}{\mathord}{letters}{0}% \ifx\Gamma\tud@res@a\relax\@tud@res@swatrue\fi% \ifx\Gamma\tud@res@b\relax\@tud@res@swatrue\fi% }% \if@tud@res@swa% \def\tud@res@c{\TUD@key@preset{slantedgreek}{true}}% \fi% \fi% \edef\tud@res@c{\endgroup\expandonce\tud@res@c}% \tud@res@c% } \newcommand*\mv@tudnormal{} \newcommand*\mv@tudbold{} \newcommand*\mv@tuddin{} \AfterPackage*{mathastext}{% \newrobustcmd*\tud@mathversion[1]{% \begingroup% \let\tud@res@a\relax% \if@tud@cdmath@active% \ifstr{#1}{normal}{% \def\tud@res@a{tudnormal}% }{% \ifstr{#1}{bold}{% \def\tud@res@a{tudbold}% }{}% }% \fi% \edef\tud@res@a{% \endgroup% \noexpand\tud@cs@restore{mathversion}% \ifx\tud@res@a\relax% \noexpand\mathversion{#1}% \else% \noexpand\MTversion*{\tud@res@a}% \fi% \noexpand\tud@cs@store{mathversion}% \noexpand\tud@cs@letltx{mathversion}{tud@mathversion}% }% \tud@res@a% }% \AtEndPreamble{% \tud@cs@store{mathversion}% \tud@cs@letltx{mathversion}{tud@mathversion}% }% } \newcommand*\tud@cdmath@init{% \@tud@res@swafalse% \if@tud@cdfont@fam@exist% \@tud@res@swatrue% \if@tud@cdoldfont@active\else% \tud@if@fdfileexists{LGR}{cmr}{}{% \@tud@res@swafalse% \def\tud@res@a{% \PackageWarningNoLine{tudscrfonts}% {% The packages `cbfonts/cbgreek' and\MessageBreak% `cbfonts-fd' have to be installed for using\MessageBreak% corporate design fonts in math mode. As they\MessageBreak% are not, standard math versions are applied% }% }% \if@tud@cdmath@active% \tud@res@a% \else% \eappto\tud@cdmath@wrn{\expandonce\tud@res@a}% \fi% }% \fi% \fi% \if@tud@res@swa% \if@tud@cdoldfont@active\else% \if@tud@cdmath@active% \def\tud@res@a##1{% \PackageWarningNoLine{tudscrfonts}% {% You should not load package `##1'\MessageBreak% manually when option `cdmath=true' is active as\MessageBreak% TUD-Script uses package `mathastext' internally\MessageBreak% with a specific set of required options for the\MessageBreak% math font setup% }% }% \@ifpackageloaded{sansmath}{% \tud@res@a{sansmath}% }{}% \@ifpackageloaded{mathastext}{% \tud@res@a{mathastext}% }{}% \fi% \PassOptionsToPackage{% subdued,defaultmathsizes,nosmalldelims,noequal,% defaultrm,defaultbf,defaultit,defaultsf,defaulttt% }{mathastext}% \RequirePackage{mathastext}[2018/08/22]% \tud@math@declare@lgrgreeks{cmr}{m}{bx}{n}{it}% \fi% \providecommand*\MTDeclareVersion[6][]{\DeclareMathVersion{##2}}% \providecommand*\MTversion@@[1]{}% \tud@cdmath@@init{\tud@cdfont@fam@lf}{\tud@ttfont@fam}% \if@tud@cdoldfont@active% \tud@res@cnt=\z@\relax% \tud@math@loop@greeks@uc\tud@cdmath@declare@greek@uc% \tud@math@loop@greeks@lc\tud@cdmath@declare@greek@lc% \else% \tud@cdmath@declare@greek@lgr% \fi% \tud@cdmath@declare@char{*}{\mathbin}{symbols}{"03}% \tud@cdmath@also@greeks% \else% \let\mv@tudnormal\mv@normal% \let\mv@tudbold\mv@bold% \if@tud@cdoldfont@active% \let\mv@tuddin\mv@bold% \fi% \fi% } \newcommand*\tud@x@mathastext@enc{OT1} \newcommand*\tud@cdmath@@init[2]{% \tud@cdfont@@set% \tud@ttfont@@set% \if@tud@cdoldfont@active% \DeclareMathVersion{tudnormal}% \DeclareMathVersion{tudbold}% \DeclareMathVersion{tuddin}% \SetSymbolFont{operators}{tudnormal}{OT1}{#1}{\tud@cdfont@md}{n}% \SetSymbolFont{operators}{tudbold}{OT1}{#1}{\tud@cdfont@bf}{n}% \SetSymbolFont{operators}{tuddin}{OT1}{\tud@cdfont@db}{b}{n}% \SetSymbolFont{letters}{tudnormal}{OML}{#1}{\tud@cdfont@md}{sl}% \SetSymbolFont{letters}{tudbold}{OML}{#1}{\tud@cdfont@bf}{sl}% \SetSymbolFont{letters}{tuddin}{OML}{\tud@cdfont@db}{b}{sl}% \SetSymbolFont{symbols}{tudnormal}{OMS}{#1}{\tud@cdfont@md}{n}% \SetSymbolFont{symbols}{tudbold}{OMS}{#1}{\tud@cdfont@bf}{n}% \SetSymbolFont{symbols}{tuddin}{OMS}{\tud@cdfont@db}{b}{n}% \SetSymbolFont{largesymbols}{tudnormal}{OMX}{iwona}{\tud@cdfont@md}{n}% \SetSymbolFont{largesymbols}{tudbold}{OMX}{iwona}{\tud@cdfont@bf}{n}% \SetSymbolFont{largesymbols}{tuddin}{OMX}{iwona}{ebc}{n}% \SetMathAlphabet{\mathnormal}{tudnormal}{OML}{#1}{\tud@cdfont@md}{sl}% \SetMathAlphabet{\mathnormal}{tudbold}{OML}{#1}{\tud@cdfont@bf}{sl}% \SetMathAlphabet{\mathnormal}{tuddin}{OML}{\tud@cdfont@db}{b}{sl}% \tud@if@ismathalphabet{\mathbold}{% \SetMathAlphabet{\mathbold}{tudnormal}{OML}{#1}{\tud@cdfont@bf}{sl}% \SetMathAlphabet{\mathbold}{tudbold}{OML}{#1}{\tud@cdfont@ebf}{sl}% \SetMathAlphabet{\mathbold}{tuddin}{OML}{\tud@cdfont@db}{b}{sl}% }{}% \else% \edef\tud@res@b{\encodingdefault}% \@tfor\tud@res@a:={T1}{TU}{EU1}{EU2}\do{% \ifx\tud@res@a\tud@res@b% \let\tud@x@mathastext@enc\tud@res@b% \@break@tfor \fi% }% \MTDeclareVersion[it]{tudnormal}% {\tud@x@mathastext@enc}{#1}{\tud@cdfont@md}{n}% \MTDeclareVersion[it]{tudbold}% {\tud@x@mathastext@enc}{#1}{\tud@cdfont@bf}{n}% \SetSymbolFont{operators}{tudnormal}{OT1}{iwona}{\tud@cdfont@md}{n}% \SetSymbolFont{operators}{tudbold}{OT1}{iwona}{\tud@cdfont@bf}{n}% \SetSymbolFont{letters}{tudnormal}{OML}{iwona}{\tud@cdfont@md}{it}% \SetSymbolFont{letters}{tudbold}{OML}{iwona}{\tud@cdfont@bf}{it}% \SetSymbolFont{symbols}{tudnormal}{OMS}{iwona}{\tud@cdfont@md}{n}% \SetSymbolFont{symbols}{tudbold}{OMS}{iwona}{\tud@cdfont@bf}{n}% \SetSymbolFont{largesymbols}{tudnormal}{OMX}{iwona}{\tud@cdfont@md}{n}% \SetSymbolFont{largesymbols}{tudbold}{OMX}{iwona}{\tud@cdfont@bf}{n}% \SetSymbolFont{tudupgrk}{tudnormal}{LGR}{#1}{\tud@cdfont@md}{n}% \SetSymbolFont{tuditgrk}{tudnormal}{LGR}{#1}{\tud@cdfont@md}{it}% \SetSymbolFont{tudupgrk}{tudbold}{LGR}{#1}{\tud@cdfont@bf}{n}% \SetSymbolFont{tuditgrk}{tudbold}{LGR}{#1}{\tud@cdfont@bf}{it}% \tud@if@ismathalphabet{\mathbold}{% \SetMathAlphabet{\mathbold}{tudnormal}% {\tud@x@mathastext@enc}{#1}{\tud@cdfont@bf}{it}% \SetMathAlphabet{\mathbold}{tudbold}% {\tud@x@mathastext@enc}{#1}{\tud@cdfont@ebf}{it}% }{}% \fi% \SetMathAlphabet{\mathrm}{tudnormal}{OT1}{#1}{\tud@cdfont@md}{n}% \SetMathAlphabet{\mathrm}{tudbold}{OT1}{#1}{\tud@cdfont@bf}{n}% \SetMathAlphabet{\mathbf}{tudnormal}{OT1}{#1}{\tud@cdfont@bf}{n}% \SetMathAlphabet{\mathbf}{tudbold}{OT1}{#1}{\tud@cdfont@ebf}{n}% \SetMathAlphabet{\mathsf}{tudnormal}{OT1}{#1}{\tud@cdfont@md}{n}% \SetMathAlphabet{\mathsf}{tudbold}{OT1}{#1}{\tud@cdfont@bf}{n}% \SetMathAlphabet{\mathit}{tudnormal}{OT1}{#1}{\tud@cdfont@md}{it}% \SetMathAlphabet{\mathit}{tudbold}{OT1}{#1}{\tud@cdfont@bf}{it}% \SetMathAlphabet{\mathtt}{tudnormal}{OT1}{#2}{\tud@ttfont@md}{n}% \SetMathAlphabet{\mathtt}{tudbold}{OT1}{#2}{\tud@ttfont@bf}{n}% \if@tud@cdoldfont@active% \SetMathAlphabet{\mathrm}{tuddin}{OT1}{\tud@cdfont@db}{b}{n}% \SetMathAlphabet{\mathbf}{tuddin}{OT1}{\tud@cdfont@db}{b}{n}% \SetMathAlphabet{\mathsf}{tuddin}{OT1}{\tud@cdfont@db}{b}{n}% \SetMathAlphabet{\mathit}{tuddin}{OT1}{\tud@cdfont@db}{b}{sl}% \SetMathAlphabet{\mathtt}{tuddin}{OT1}{#2}{\tud@ttfont@ebf}{n}% \fi% \IfFileExists{ueus.fd}{% \SetMathAlphabet{\mathcal}{tudnormal}{U}{eus}{m}{n}% \SetMathAlphabet{\mathcal}{tudbold}{U}{eus}{b}{n}% \if@tud@cdoldfont@active% \SetMathAlphabet{\mathcal}{tuddin}{U}{eus}{b}{n}% \fi% }{}% \tud@if@ismathalphabet{\mathfrak}{% \IfFileExists{ueuf.fd}{% \SetMathAlphabet{\mathfrak}{tudnormal}{U}{euf}{m}{n}% \SetMathAlphabet{\mathfrak}{tudbold}{U}{euf}{b}{n}% \if@tud@cdoldfont@active% \SetMathAlphabet{\mathfrak}{tuddin}{U}{euf}{b}{n}% \fi% }{}% }{}% \AtBeginDocument{% \@tud@res@swafalse% \tud@if@issymbolfont{AMSa}{\@tud@res@swatrue}{}% \tud@if@issymbolfont{AMSb}{\@tud@res@swatrue}{}% \if@tud@res@swa% \if@tud@cdoldfont@active% \DeclareFontFamily{U}{\tud@cdfont@fam@lf a}{}% \DeclareFontShape{U}{\tud@cdfont@fam@lf a}{m}{n}{<->cmbras10}{}% \SetSymbolFont{AMSa}{tudnormal}{U}{\tud@cdfont@fam@lf a}{m}{n}% \SetSymbolFont{AMSa}{tudbold}{U}{\tud@cdfont@fam@lf a}{m}{n}% \DeclareFontFamily{U}{\tud@cdfont@fam@lf b}{}% \DeclareFontShape{U}{\tud@cdfont@fam@lf b}{m}{n}{<->cmbrbs10}{}% \SetSymbolFont{AMSb}{tudnormal}{U}{\tud@cdfont@fam@lf b}{m}{n}% \SetSymbolFont{AMSb}{tudbold}{U}{\tud@cdfont@fam@lf b}{m}{n}% \else% \@ifpackageloaded{mdsymbol}{}{% \appto\tud@cdmath@wrn{% \PackageInfoNoLine{tudscrfonts}% {% You may load package `mdsymbol' in order to\MessageBreak% get symbols matching the used math font% }% }% }% \fi% \fi% \tud@if@issymbolfont{legacymaths}{% \SetSymbolFont{legacymaths}{tudnormal}{OT1}{#1}{\tud@cdfont@md}{n}% \SetSymbolFont{legacymaths}{tudbold}{OT1}{#1}{\tud@cdfont@bf}{n}% \if@tud@cdoldfont@active% \SetSymbolFont{legacymaths}{tuddin}{OT1}{\tud@cdfont@db}{b}{n}% \fi% }{}% \if@tud@cdoldfont@active% \if@tud@cdmath@active% \sbox\z@{\mathversion{tudnormal}$ $\mathversion{tuddin}$ $}% \fi% \fi% }% } \newcommand*\tud@cdmath@symb@list{} \newcommand*\tud@cdmath@declare@symb[4]{% \listeadd\tud@cdmath@symb@list{#1}% \tud@DeclareMathSymbol{#1}{#2}{#3}{#4}% } \newcommand*\tud@cdmath@declare@alias[2]{% \listeadd\tud@cdmath@symb@list{#1}% \ifcsdef{tud@cdmath@symbol@#2}{% \csedef{tud@cdmath@symbol@#1}{\csname tud@cdmath@symbol@#2\endcsname}% }{}% } \newcommand*\tud@cdmath@char@list{} \newcommand*\tud@cdmath@declare@char[4]{% \listeadd\tud@cdmath@char@list{#1}% \tud@DeclareMathSymbol{#1}{#2}{#3}{#4}% } \newcommand*\tud@DeclareMathSymbol[4]{% \begingroup% \edef\tud@res@a{% \endgroup% \noexpand\DeclareMathSymbol% {\csname tud@cdmath@symbol@#1\endcsname}% {\etex@unexpanded{#2}}{#3}{#4}% }% \tud@res@a% } \newtoks\tud@cdmath@symbols@toks \newcommand*\tud@cdmath@symbols@set{% \expandafter\IfArgIsEmpty\expandafter{\the\tud@cdmath@symbols@toks}{% \forlistloop\tud@cdmath@symbols@set@cmd\tud@cdmath@symb@list% \forlistloop\tud@cdmath@symbols@set@chr\tud@cdmath@char@list% \addto@hook\tud@cdmath@symbols@toks{\tud@cdmath@symbols@toks{}}% }{}% } \newcommand*\tud@cdmath@symbols@set@cmd[1]{% \ifcsdef{#1}{% \tud@cs@store{#1}% \addto@hook\tud@cdmath@symbols@toks{\tud@cs@restore{#1}}% }{% \addto@hook\tud@cdmath@symbols@toks{\csundef{#1}}% }% \ifcsdef{tud@cdmath@symbol@#1}{% \tud@cs@letltx{#1}{tud@cdmath@symbol@#1}% }{% \csundef{#1}% }% } \newcommand*\tud@cdmath@symbols@set@chr[1]{% \edef\tud@res@a{\global\mathcode`#1=\the\mathcode`#1\relax}% \eaddto@hook\tud@cdmath@symbols@toks{\tud@res@a}% \begingroup% \edef\tud@res@a{\expandafter\meaning\csname tud@cdmath@symbol@#1\endcsname}% \def\tud@res@b##1"##2\@nil{"##2}% \edef\tud@res@c{\expandafter\tud@res@b\tud@res@a\@nil}% \edef\tud@res@a{% \endgroup% \global\mathcode`#1=\tud@res@c% }% \tud@res@a% } \newcommand*\tud@cdmath@symbols@reset{\the\tud@cdmath@symbols@toks} \newcommand*\tud@cdmath@declare@greek@uc[1]{% \tud@cdmath@declare@symb{it#1}{\mathalpha}{letters}{\the\tud@res@cnt}% \tud@cdmath@declare@symb{up#1}{\mathalpha}{operators}{\the\tud@res@cnt}% \advance\tud@res@cnt\@ne\relax% } \newcommand*\tud@cdmath@declare@greek@lc[1]{% \tud@cdmath@declare@symb{it#1}{\mathalpha}{letters}{\the\tud@res@cnt}% \listeadd\tud@cdmath@symb@list{up#1}% \advance\tud@res@cnt\@ne\relax% } \newcommand*\tud@cdmath@declare@greek@lgr{% \tud@cdmath@declare@greek@@lgr{Gamma}{71}% \tud@cdmath@declare@greek@@lgr{Delta}{68}% \tud@cdmath@declare@greek@@lgr{Theta}{74}% \tud@cdmath@declare@greek@@lgr{Lambda}{76}% \tud@cdmath@declare@greek@@lgr{Xi}{88}% \tud@cdmath@declare@greek@@lgr{Pi}{80}% \tud@cdmath@declare@greek@@lgr{Sigma}{83}% \tud@cdmath@declare@greek@@lgr{Upsilon}{85}% \tud@cdmath@declare@greek@@lgr{Phi}{70}% \tud@cdmath@declare@greek@@lgr{Psi}{89}% \tud@cdmath@declare@greek@@lgr{Omega}{87}% \tud@cdmath@declare@greek@@lgr{alpha}{97}% \tud@cdmath@declare@greek@@lgr{beta}{98}% \tud@cdmath@declare@greek@@lgr{gamma}{103}% \tud@cdmath@declare@greek@@lgr{delta}{100}% \tud@cdmath@declare@greek@@lgr{epsilon}{101}% \tud@cdmath@declare@greek@@lgr{zeta}{122}% \tud@cdmath@declare@greek@@lgr{eta}{104}% \tud@cdmath@declare@greek@@lgr{theta}{106}% \tud@cdmath@declare@greek@@lgr{iota}{105}% \tud@cdmath@declare@greek@@lgr{kappa}{107}% \tud@cdmath@declare@greek@@lgr{lambda}{108}% \tud@cdmath@declare@greek@@lgr{mu}{109}% \tud@cdmath@declare@greek@@lgr{nu}{110}% \tud@cdmath@declare@greek@@lgr{xi}{120}% \tud@cdmath@declare@greek@@lgr{pi}{112}% \tud@cdmath@declare@greek@@lgr{rho}{114}% \tud@cdmath@declare@greek@@lgr{sigma}{115}% \tud@cdmath@declare@greek@@lgr{tau}{116}% \tud@cdmath@declare@greek@@lgr{upsilon}{117}% \tud@cdmath@declare@greek@@lgr{phi}{102}% \tud@cdmath@declare@greek@@lgr{chi}{113}% \tud@cdmath@declare@greek@@lgr{psi}{121}% \tud@cdmath@declare@greek@@lgr{omega}{119}% \tud@cdmath@declare@greek@@lgr{varepsilon}{101}% \tud@cdmath@declare@greek@@lgr{vartheta}{106}% \tud@cdmath@declare@greek@@lgr{varpi}{119}% \tud@cdmath@declare@greek@@lgr{varrho}{114}% \tud@cdmath@declare@greek@@lgr{varsigma}{99}% \tud@cdmath@declare@greek@@lgr{varphi}{102}% } \newcommand*\tud@cdmath@declare@greek@@lgr[2]{% \tud@cdmath@declare@symb{it#1}{\mathalpha}{tuditgrk}{#2}% \tud@cdmath@declare@symb{up#1}{\mathalpha}{tudupgrk}{#2}% \ifluatex% \begingroup% \def\tud@res@a{\if@tud@cdmath@active\fontencoding{LGR}\selectfont{}\fi}% \def\tud@res@b##1{% \csxdef{tud@cdmath@symbol@##1}{% {% \mathchar\expandafter\the\csuse{tud@cdmath@symbol@##1}% \expandonce\tud@res@a% }% }% }% \tud@res@b{it#1}% \tud@res@b{up#1}% \endgroup% \fi% } \newcommand*\tud@cdmath@also@greeks{% \tud@math@loop@greeks@all\tud@cdmath@also@@greeks% \tud@math@loop@greeks@uc\tud@cdmath@also@@@greeks% } \newcommand*\tud@cdmath@also@@greeks[1]{% \tud@cdmath@declare@alias{#1}{it#1}% \tud@cdmath@declare@alias{other#1}{up#1}% \ifcsundef{#1up}{}{% \tud@cdmath@declare@alias{#1up}{up#1}% }% \@for\tud@res@a:={#1sl,sl#1,#1it}\do{% \ifcsundef{\tud@res@a}{}{% \expandafter\tud@cdmath@declare@alias\expandafter{\tud@res@a}{it#1}% }% }% \ifcsundef{#1other}{}{% \tud@cdmath@declare@alias{#1other}{other#1}% }% } \newcommand*\tud@cdmath@also@@@greeks[1]{% \tud@lowerstring\tud@res@a{#1}% \edef\tud@res@a{Up\tud@res@a}% \ifcsundef{\tud@res@a}{}{% \expandafter\tud@cdmath@declare@alias\expandafter{\tud@res@a}{up#1}% }% \ifcsundef{var#1}{}{% \expandafter\tud@cdmath@declare@alias\expandafter{var#1}{it#1}% }% } \newcommand*\tud@math@set{% \if@tud@cdmath@active% \tud@cdmath@wrn% \tud@cs@store{mv@normal}% \tud@cs@store{mv@bold}% \let\mv@normal\mv@tudnormal% \let\mv@bold\mv@tudbold% \tud@cdmath@symbols@set% \ifcase\tud@slantedgreek@num\relax% upright \tud@math@loop@greeks@all\tud@math@upright@greeks% \or% slanted \tud@math@loop@greeks@all\tud@math@slanted@greeks% \or% standard \tud@math@loop@greeks@uc\tud@math@upright@greeks% \tud@math@loop@greeks@lc\tud@math@slanted@greeks% \fi% \else% \tud@cs@restore{mv@normal}% \tud@cs@restore{mv@bold}% \tud@cdmath@symbols@reset% \fi% \mathversion{normal}% } \newcommand*\tud@math@upright@greeks[1]{% \ifcsundef{up#1}{}{% \csletcs{#1}{up#1}% \csletcs{other#1}{it#1}% }% } \newcommand*\tud@math@slanted@greeks[1]{% \ifcsundef{up#1}{}{% \csletcs{#1}{it#1}% \csletcs{other#1}{up#1}% }% } \AtEndPreamble{% \if@tud@x@mweights@enabled% \ifundef{\bfseries@rm}{\edef\bfseries@rm{\bfdefault}}{}% \ifundef{\mdseries@rm}{\edef\mdseries@rm{\mddefault}}{}% \ifundef{\bfseries@sf}{\edef\bfseries@sf{\bfdefault}}{}% \ifundef{\mdseries@sf}{\edef\mdseries@sf{\mddefault}}{}% \ifundef{\bfseries@tt}{\edef\bfseries@tt{\bfdefault}}{}% \ifundef{\mdseries@tt}{\edef\mdseries@tt{\mddefault}}{}% \fi% \tud@cdfont@check% \ifdef{\sectfont}{}{\let\sectfont\relax}% \tud@cdfont@init% \tud@ttfont@init% \tud@cdmath@init% \if@tud@x@bm@requested% \UnPreventPackageFromLoading{bm}% \if@tud@cdmath@active% \tud@cs@store{mv@normal}% \tud@cs@store{mv@bold}% \let\mv@normal\mv@tudnormal% \let\mv@bold\mv@tudbold% \fi% \RequirePackage{bm}[2017/01/16]% \tud@cs@restore{mv@normal}% \tud@cs@restore{mv@bold}% \fi% \if@tud@x@siunitx@enabled% \if@tud@cdfont@active% \if@tud@cdfont@heavy% \def\tud@reserved{\TUDoptions{cdfont=heavy}}% \else% \def\tud@reserved{\TUDoptions{cdfont=true}}% \fi% \else% \def\tud@reserved{\TUDoptions{cdfont=false}}% \fi% \expandafter\AfterEndPreamble\expandafter{\tud@reserved}% \TUDoptions{cdfont=false}% \fi% \tud@font@set% \AtBeginDocument{% \tud@math@map@greeks% \tud@math@checkslanted@greeks% \tud@math@set% }% } %%% From File: tudscr-comp.dtx \TUD@deprecated@cs{textcdfont}{textcd}% \TUD@deprecated@cs{tudfont}{cdfont}% \TUD@deprecated@cs{univln}{cdfontln}% \TUD@deprecated@cs{univrn}{cdfontrn}% \TUD@deprecated@cs{univbn}{cdfontsn}% \TUD@deprecated@cs{univxn}{cdfontbn}% \TUD@deprecated@cs{univls}{cdfontli}% \TUD@deprecated@cs{univrs}{cdfontri}% \TUD@deprecated@cs{univbs}{cdfontsi}% \TUD@deprecated@cs{univxs}{cdfontbi}% \TUD@deprecated@cs{textuln}{textcdln}% \TUD@deprecated@cs{texturn}{textcdrn}% \TUD@deprecated@cs{textubn}{textcdsn}% \TUD@deprecated@cs{textuxn}{textcdbn}% \TUD@deprecated@cs{textuls}{textcdli}% \TUD@deprecated@cs{texturs}{textcdri}% \TUD@deprecated@cs{textubs}{textcdsi}% \TUD@deprecated@cs{textuxs}{textcdbi}% \TUD@deprecated@cs{dinbn}{cdfontxn}% \TUD@deprecated@cs{textdbn}{textcdxn}% \TUD@deprecated@cs{ifdin}{@secondoftwo} \newrobustcmd*\tud@ifdin{% \ifx\f@family\tud@cdfont@db% \expandafter\@firstoftwo% \else% \expandafter\@secondoftwo% \fi% } \if@tud@cdoldfont@active \newcommand*\ifdin{}% \let\ifdin\tud@ifdin% \fi \def\tud@res@a#1{% \TUD@deprecated@cs{var#1}{it#1}% } \tud@math@loop@greeks@uc\tud@res@a% %%% From File: tudscr-misc.dtx \newif\if@tud@font@set \newif\if@tud@math@set \newif\if@tud@font@skip@set \newcommand*\tud@atdocument@process{% \if@tud@font@set% \tud@font@set% \global\@tud@font@setfalse% \global\@tud@font@skip@setfalse% \fi% \if@tud@font@skip@set% \tud@font@skip@set% \global\@tud@font@skip@setfalse% \fi% \if@tud@math@set% \tud@math@set% \global\@tud@math@setfalse% \fi% } \if@tud@cdoldfont@active \RequirePackage{textcase}[2004/10/07] \AfterPackage*{textcase}{% \robustify\NoCaseChange% \newcommand*\tud@x@textcase@uclcnotmath{% \@nonchangecase\hologo% \def\footnote##1##{\toks@{\noexpand\footnote##1}\@footnote}% \def\@footnote##1{\NoCaseChange{\the\toks@{##1}}}% \def\@mkboth##1##2{\NoCaseChange{\@mkboth{##1}{##2}}}% }% \patchcmd{\@uclcnotmath}{\@nonchangecase\ensuremath}{% \@nonchangecase\ensuremath\tud@x@textcase@uclcnotmath% }{}{\tud@patch@wrn{@uclcnotmath}}% }% \fi \TUD@deprecated@cs{NoCaseChange}{@firstofone} \endinput %% %% End of file `tudscrfonts.sty'.