%% %% This is file `tudscrfonts.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% tudscr-version.dtx (with options: `package,fonts,identify') %% 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-misc.dtx (with options: `package,fonts,body') %% tudscr-comp.dtx (with options: `package,fonts,body') %% %% TUD-Script -- Corporate Design of Technische Universitaet Dresden %% 2022/08/09 v2.06o TUD-Script %% %% Copyright (C) Falk Hanisch , 2012-2022 %% https://github.com/tud-cd/tudscr %% https://latex.wcms-file3.tu-dresden.de/phpBB3/ %% %% 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, either version 1.3c of this license or %% any later version. The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2008-05-04 or later. %% %% This work has the LPPL maintenance status "maintained". %% %% The current maintainer and author of this work is Falk Hanisch. %% %%%% From File: tudscr-version.dtx (no git version info was found) \NeedsTeXFormat{LaTeX2e}[2022-06-01] \begingroup \catcode`\@11\relax% \ifx\TUD@Version\@undefined% \newcommand*\TUD@@Version[2]{% \gdef\TUD@Version{#1}% \gdef\TUD@KOMAVersion{#2}% }% \else% \newcommand*\TUD@@Version[2]{% \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{2022/08/09 v2.06o TUD-Script}{2022/05/01 v3.36 KOMA-Script}% \ifx\TUDScriptVersion\@undefined% \xdef\TUDScriptVersion{\TUD@Version}% \def\@tempa#1 v#2 #3\relax#4\relax#5{\gdef#5{#2}}% \expandafter\@tempa\TUD@Version ? ?\relax\relax{\TUDScriptVersionNumber}% \expandafter\@tempa\TUD@KOMAVersion ? ?\relax\relax{\TUD@KOMAVersionNumber}% \fi% \endgroup \@ifundefined{TUDScript}{% \DeclareRobustCommand\TUDScript{% \mbox{% \textsf{% T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script% }% }\ifcsname xspace\endcsname\xspace\fi% }% }{} \providecommand*\TUDScriptContact{hanisch.latex@outlook.com} \providecommand*\TUDScriptRepository{https://github.com/tud-cd/tudscr} \providecommand*\TUDScriptForum{https://latex.wcms-file3.tu-dresden.de/phpBB3/} %%%% From File: tudscr-fonts.dtx (no git version info was found) \ProvidesPackage{tudscrfonts}[% 2022/08/09 v2.06o TUD-Script package (corporate design fonts)% ] %%%% From File: tudscr-base.dtx (no git version info was found) \RequirePackage{tudscrbase}[% 2022/08/09 v2.06o TUD-Script ] %%%% From File: tudscr-fonts.dtx (no git version info was found) \newcommand*\tud@catcodes@restore{} \edef\tud@catcodes@restore{% \catcode`\noexpand\"\the\catcode`\"\relax% }% \@makeother\"% \AtEndOfPackage{\tud@catcodes@restore} \ifundef{\KOMAClassName}{% \RequirePackage{scrextend}[% 2022/05/01 v3.36 KOMA-Script ]% }{} \@tempswafalse% \@for\@tempa:={% tudbook,tudbeamer,tudfax,tudform,tudhaus,tudletter,tudposter,tudmathposter% }\do{% \if@tempswa\else \@ifclassloaded{\@tempa}{\@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% \tud@newif\if@tud@cdfont@active \tud@newif\if@tud@cdfont@heavy \tud@newif\if@tud@cdfont@ultrabold \tud@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@set@dimkey{cdfont}{\@tempa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \TUDoptions{fontsize=#1}% \tud@cdfont@activate% \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}% } \tud@newif\if@tud@cdoldfont@active \tud@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% } \TUD@key{cdoldfonts}[true]{\TUDoptions{cdoldfont=#1}} \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% } \TUD@key{fontsize}{% \TUD@set@dimkey{fontsize}{\@tempa}{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed% \ifdim\@tempa<\p@\relax% \FamilyKeyStateUnknownValue% \else% \@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@KOMAoptions{fontsize=#1}% \fi% \fi% \ifx\FamilyKeyState\FamilyKeyStateUnknownValue% \PackageWarningNoLine{tudscrfonts}% {% The value for option `fontsize' must be a dimension\MessageBreak% and at least 1pt but `#1' was given% }% \FamilyKeyStateProcessed% \fi% } \AtEndOfPackage% {% \RelaxFamilyKey{TUD}{fontsize}% \DefineFamilyMember{KOMA}% \DefineFamilyKey{KOMA}{fontsize}{% \FamilyKeyStateUnknownValue% \PackageWarning{tudscrfonts}% {% The key `fontsize=#1' should only be\MessageBreak% used as class option% }% \TUD@SpecialOptionAtDocument{tud@relspacing@set}% }% } \tud@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@relspacing@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}} \tud@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 (no git version info was found) \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 (no git version info was found) \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.02}{0} \csdef{tud@v@2.03}{1} \csdef{tud@v@2.04}{2} \csdef{tud@v@2.05}{3} \csdef{tud@v@2.06}{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% \unexpanded{\def#1}{\@tempc}% }% \tud@reserved% } \newcommand*\tud@if@v@lower[1]{% \begingroup% \tud@v@get\@tempa{#1}% \ifcsundef{tud@v@\@tempa}{% \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% }% }{% \ifnum\tud@v@comp<\csuse{tud@v@\@tempa}\relax% \def\tud@reserved{\endgroup\@firstoftwo}% \else% \def\tud@reserved{\endgroup\@secondoftwo}% \fi% }% \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% } \tud@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} \fi% } %%%% From File: tudscr-misc.dtx (no git version info was found) \DeclareOption*{} \TUDProcessOptions[.comp]\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}% } \TUDExecuteOptions{% } \DeclareOption*{\expandafter\TUD@KOMAoptions\expandafter{\CurrentOption}} \TUDProcessOptions\relax \newcommand*\TUD@key@toolate[1]{% \csedef{tud@key@toolate@@#1}{% \noexpand\PackageError{tudscrfonts}% {Option `#1' too late}{% Option `#1' can only be set\space% \ifcsdef{\@currname.\@currext-h@@k}{% as optional \MessageBreak argument while loading\space% package `tudscrfonts'% }{% in the preamble% }% \MessageBreak but you have tried to set it up later.% }% }% \TUD@key[]{#1}[]% {% \csuse{tud@key@toolate@@#1}% \FamilyKeyStateProcessed% }% } %%%% From File: tudscr-fonts.dtx (no git version info was found) \newcommand*\tud@cdfont@wrn{\global\let\tud@cdfont@wrn\relax} \newcommand*\tud@cdmath@wrn{\global\let\tud@cdmath@wrn\relax} \tud@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} \tud@newif\if@tud@x@mweights@enabled \AfterPackage*{mweights}{\@tud@x@mweights@enabledtrue} \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} \tud@newif\if@tud@ttfont@rb@exist \IfFileExists{roboto-mono.sty}{% \@tud@ttfont@rb@existtrue% }{% \TUD@key@preset{ttfont}{lmodern}% } \tud@newif\if@tud@cdfont@fam@exist \tud@newif\if@tud@cdfont@db@exist \tud@newif\if@tud@cdmath@fam@exist \tud@newif\if@tud@cdmath@db@exist \newcommand*\tud@x@mathastext@enc{OT1} \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@cdmath@fam@exist}% \tud@cdfont@@@check{OT1,OML,OMS}{\tud@cdfont@db}{@tud@cdmath@db@exist}% \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}% \@expandtwoargs\in@{,\encodingdefault,}{,OT1,T1,TU,EU1,EU2,}% \ifin@% \let\tud@x@mathastext@enc\encodingdefault% \@expandtwoargs\in@{,\tud@x@mathastext@enc,}{,TU,EU1,EU2,}% \ifin@% \@tud@cdmath@fam@existtrue% \else% \tud@cdfont@@@check{\tud@x@mathastext@enc}% {\tud@cdfont@fam@lf}{@tud@cdmath@fam@exist}% \fi% \fi% \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[3]{% \@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% \booltrue{#3}% \else% \boolfalse{#3}% \AtBeginDocument{% \if@tud@cdmath@active% \PackageWarningNoLine{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% \if@tud@cdoldfont@active% all necessary fonts with a installation script\MessageBreak% listed in the manual% \else% package `opensans'% \fi% }% \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% \tud@if@strequal{#1}{\encodingdefault}{% \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{% \tud@if@strequal{#1}{\tud@res@c}{\@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% \tud@if@strequal{#1}{\encodingdefault}{% \tud@if@strequal{#1}{TU}{% \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{% \unexpanded{\PackageWarningNoLine{tudscrfonts}}% {\tud@res@a}% }% \xappto#3{\expandonce\tud@res@c}% \endgroup% } \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\renewrobustcmd*% \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[1][\tud@cdfont@wrn]{% \if@tud@cdfont@active% #1% \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% \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@relspacing@set% \normalfont\selectfont% } \newcommand*\tud@cdfont@set{% \renewcommand*\rmdefault{\sfdefault}% \renewcommand*\updefault{n}% \renewcommand*\itdefault{it}% \renewcommand*\sldefault{sl}% \renewcommand*\familydefault{\sfdefault}% \renewcommand*\seriesdefault{\mddefault}% \renewcommand*\shapedefault{\updefault}% \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% } \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% } \tud@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@relspacing@set{% \if@tud@relspacing% \tud@cslength@store{smallskipamount}% \tud@cslength@store{medskipamount}% \tud@cslength@store{bigskipamount}% \tud@cslength@store{abovecaptionskip}% \tud@cslength@store{belowcaptionskip}% \tud@cslength@store{columnsep}% \tud@relspacing@@set% \else% \tud@cslength@restore{smallskipamount}% \tud@cslength@restore{medskipamount}% \tud@cslength@restore{bigskipamount}% \tud@cslength@restore{abovecaptionskip}% \tud@cslength@restore{belowcaptionskip}% \tud@cslength@restore{columnsep}% \fi% } \newcommand*\tud@relspacing@@set{% \tud@if@v@lower{2.06}{% \bigskipamount=\partopsep% \multiply\bigskipamount by 4% }{% \begingroup% \tud@setdim\@tempdima{\dimexpr\abovedisplayskip\relax}% \tud@setdim\@tempdimb{\@tempdima/3}% \edef\tud@res@a{% \endgroup% \noexpand\tud@setglue\noexpand\bigskipamount{% \the\@tempdima\@plus\the\@tempdimb\@minus\the\@tempdimb% }% }% \tud@res@a% }% \medskipamount=\bigskipamount% \divide\medskipamount by 2% \smallskipamount=\bigskipamount% \divide\smallskipamount by 4% \tud@if@lengthregister{\abovecaptionskip}{% \tud@setdim\abovecaptionskip{1\bigskipamount*5/6}% }{}% \tud@if@lengthregister{\belowcaptionskip}{% \tud@setdim\belowcaptionskip{\z@}% }{}% \tud@setdim\columnsep{1\baselineskip*11/10}% } \newcommand*\tud@cdfont@init{% \tud@cdfont@@init% \tud@cdfont@@@init% } \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% \def\tud@res@a##1##2##3{% \newrobustcmd*##1{\usefont{\f@encoding}{\tud@cdfont@fam}{##2}{##3}}% }% \tud@res@a\cdfontln{l}{n}% \tud@res@a\cdfontrn{m}{n}% \tud@res@a\cdfontsn{sb}{n}% \tud@res@a\cdfontbn{b}{n}% \tud@res@a\cdfontxn{eb}{n}% \tud@res@a\cdfontli{l}{it}% \tud@res@a\cdfontri{m}{it}% \tud@res@a\cdfontsi{sb}{it}% \tud@res@a\cdfontbi{b}{it}% \tud@res@a\cdfontxi{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*\tud@cdfont@@@init{% \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% \def\tud@res@a##1##2##3{% \newrobustcmd*##1{\usefont{\f@encoding}{\tud@cdfont@fam}{##2}{##3}}% }% \tud@res@a\univln{l}{n}% \tud@res@a\univrn{m}{n}% \tud@res@a\univbn{b}{n}% \tud@res@a\univxn{eb}{n}% \tud@res@a\univls{l}{it}% \tud@res@a\univrs{m}{it}% \tud@res@a\univbs{b}{it}% \tud@res@a\univxs{eb}{it}% \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}{it}% \tud@cdfont@fallback\univrs{Univers-Oblique}{md}{it}% \tud@cdfont@fallback\univbs{Univers-BoldOblique}{bf}{it}% \tud@cdfont@fallback\univxs{Univers-BlackOblique}{bf}{it}% \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}% \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{\f@encoding}{\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% \tud@if@strequal{\@tempc}{dinbn}{\dinbn}{\csuse{univ\@tempc}}% \fi% }% \renewcommand*\textcd[2]{% \tud@cdfont@get{#1}% \ifx\@tempc\relax% \textsf{#2}% \else% \tud@if@strequal{\@tempc}{dinbn}{\textdbn{#2}}{\csuse{textu\@tempc}{#2}}% \fi% }% \fi \newcommand*\tud@cdfont@get[1]{% \tud@cdfont@trim\@tempa{#1}% \tud@if@strequal{\@tempa}{l} {\def\@tempc{ln}}{% \tud@if@strequal{\@tempa}{} {\def\@tempc{rn}}{% \tud@if@strequal{\@tempa}{r} {\def\@tempc{rn}}{% \tud@if@strequal{\@tempa}{s} {\def\@tempc{sn}}{% \tud@if@strequal{\@tempa}{b} {\def\@tempc{bn}}{% \tud@if@strequal{\@tempa}{x} {\def\@tempc{xn}}{% \tud@if@strequal{\@tempa}{li}{\def\@tempc{li}}{% \tud@if@strequal{\@tempa}{il}{\def\@tempc{li}}{% \tud@if@strequal{\@tempa}{i} {\def\@tempc{ri}}{% \tud@if@strequal{\@tempa}{ri}{\def\@tempc{ri}}{% \tud@if@strequal{\@tempa}{ir}{\def\@tempc{ri}}{% \tud@if@strequal{\@tempa}{si}{\def\@tempc{si}}{% \tud@if@strequal{\@tempa}{is}{\def\@tempc{si}}{% \tud@if@strequal{\@tempa}{bi}{\def\@tempc{bi}}{% \tud@if@strequal{\@tempa}{ib}{\def\@tempc{bi}}{% \tud@if@strequal{\@tempa}{xi}{\def\@tempc{xi}}{% \tud@if@strequal{\@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}% \tud@if@strequal{\@tempa}{45} {\def\@tempc{ln}}{% \tud@if@strequal{\@tempa}{55} {\def\@tempc{rn}}{% \tud@if@strequal{\@tempa}{65} {\def\@tempc{bn}}{% \tud@if@strequal{\@tempa}{75} {\def\@tempc{xn}}{% \tud@if@strequal{\@tempa}{45oblique}{\def\@tempc{ls}}{% \tud@if@strequal{\@tempa}{55oblique}{\def\@tempc{rs}}{% \tud@if@strequal{\@tempa}{65oblique}{\def\@tempc{bs}}{% \tud@if@strequal{\@tempa}{75oblique}{\def\@tempc{xs}}{% \tud@if@strequal{\@tempa}{oblique45}{\def\@tempc{ls}}{% \tud@if@strequal{\@tempa}{oblique55}{\def\@tempc{rs}}{% \tud@if@strequal{\@tempa}{oblique65}{\def\@tempc{bs}}{% \tud@if@strequal{\@tempa}{oblique75}{\def\@tempc{xs}}{% \tud@if@strequal{\@tempa}{din} {\def\@tempc{dinbn}}{% \tud@if@strequal{\@tempa}{din65} {\def\@tempc{dinbn}}{% \let\@tempc\relax% \PackageWarning{tudscrfonts}% {The font `#1' is unknown}% }}}}}}}}}}}}}}% }% \fi \newcommand*\tud@cdfont@trim[2]{% \tud@strlowercase\@tempa{\trim@spaces{#2}}% \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{semi}{s}% \tud@cdfont@@trim{demi}{s}% \tud@cdfont@@trim{extra}{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]{% \tud@strlowercase\@tempa{\trim@spaces{#2}}% \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% \else% lmodern \let\tud@ttfont@fam\tud@ttfont@lm% \fi% \ifcase\tud@ttfont@num\relax\else% !false \if@tud@x@fontspec@enabled% \ifx\tud@ttfont@fam\ttdefault\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@strlowercase\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}% \tud@res@c{TS1}{false}% \def\tud@res@a{\endgroup}% \def\tud@res@b{TS1:RobotoMono-TLF}% \ifcsundef{\tud@res@b}{% \PackageWarningNoLine{tudscrfonts}% {`\tud@res@b' encoding subset undefinied}% }{% \eappto\tud@res@a{% \noexpand\DeclareEncodingSubset{TS1}{tudtt}{\csuse{\tud@res@b}}% }% }% \tud@res@a% \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]{% \forcsvlist#1{% Gamma,Delta,Theta,Lambda,Xi,Pi,Sigma,Upsilon,Phi,Psi,Omega% }% } \newcommand*\tud@math@loop@greeks@lc[1]{% \forcsvlist#1{% 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% }% } \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}{}{\csletcs{it#1}{\tud@res@a}}% }% }{}% \ifcsundef{up#1}{\ifcsundef{#1up}{}{\csletcs{up#1}{#1up}}}{}% \ifcsundef{other#1}{\ifcsundef{#1other}{}{\csletcs{other#1}{#1other}}}{}% } \newcommand*\tud@math@map@@@greeks[1]{% \ifcsundef{it#1}{\ifcsundef{var#1}{}{\csletcs{it#1}{var#1}}}{}% \ifcsundef{up#1}{% \tud@strlowercase\tud@res@a{#1}% \edef\tud@res@a{Up\tud@res@a}% \ifcsundef{\tud@res@a}{}{\csletcs{up#1}{\tud@res@a}}% }{}% } \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% \tud@if@strequal{\tud@math@letters@enc}{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% }{}% \tud@if@strequal{\tud@math@operators@enc}{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\mathord}{tuditgrk}{##2}% }% }{}% \ifcsundef{up##1}{% \eappto\tud@res@c{% \noexpand\DeclareMathSymbol{\csname up##1\endcsname}% {\noexpand\mathord}{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% \ifundef{\upalpha}{}{\ifx\upalpha\alpha\@tud@res@swatrue\fi}% \if@tud@res@swa% \def\tud@res@c{\TUD@key@preset{slantedgreek}{false}}% \else% \ifundef{\itGamma}{}{\ifx\itGamma\Gamma\@tud@res@swatrue\fi}% \if@tud@res@swa\else% \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\@tud@res@swatrue\fi% \ifx\Gamma\tud@res@b\@tud@res@swatrue\fi% \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*\tud@cdmath@init{% \@tud@res@swafalse% \if@tud@cdmath@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} \tud@math@declare@lgrgreeks{cmr}{m}{bx}{n}{it}% \fi% \providecommand*\MTDeclareVersion[6][]{\DeclareMathVersion{##2}}% \tud@cdmath@@init% \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% \fi% \if@tud@cdoldfont@active% \if@tud@cdmath@db@exist% \tud@cdmath@db@init{\tud@cdfont@db}% \else% \let\mv@tuddin\mv@bold% \fi% \fi% } \newcommand*\tud@cdmath@set{} \newcommand*\tud@cdmath@normal@name{tudnormal@\tud@cdfont@md\tud@cdfont@bf}% \newcommand*\tud@cdmath@bold@name{tudbold@\tud@cdfont@md\tud@cdfont@bf}% \newcommand*\tud@cdmath@@init{% \begingroup% \let\tud@res@b\@empty% \def\tud@res@a##1##2{% \setbool{@tud@cdfont@heavy}{##1}% \setbool{@tud@cdfont@ultrabold}{##2}% \tud@cdfont@@set% \tud@ttfont@@set% \eappto\tud@res@b{% \noexpand\tud@cdmath@@@init% {\tud@cdmath@normal@name}% {\tud@cdmath@bold@name}% {\tud@cdfont@fam@lf}{\tud@cdfont@md}{\tud@cdfont@bf}{\tud@cdfont@ebf}% {\tud@ttfont@fam}{\tud@ttfont@md}{\tud@ttfont@bf}% }% }% \tud@res@a{false}{false}% \tud@res@a{false}{true}% \tud@res@a{true}{false}% \tud@res@a{true}{true}% \if@tud@cdfont@active\else% \preto\tud@res@b{% \@tud@cdfont@activetrue% \tud@font@set[]% }% \appto\tud@res@b{% \@tud@cdfont@activefalse% \tud@font@set[]% }% \fi% \preto\tud@res@b{\endgroup}% \tud@res@b% \renewcommand*\tud@cdmath@set{% \begingroup% \tud@cdfont@@set% \edef\tud@res@a{% \endgroup% \unexpanded{\letcs\mv@normal}{mv@\tud@cdmath@normal@name}% \unexpanded{\letcs\mv@bold}{mv@\tud@cdmath@bold@name}% }% \tud@res@a% }% } \newcommand*\tud@cdmath@@@init[9]{% \if@tud@cdoldfont@active% \DeclareMathVersion{#1}% \DeclareMathVersion{#2}% \SetSymbolFont{operators}{#1}{OT1}{#3}{#4}{n}% \SetSymbolFont{operators}{#2}{OT1}{#3}{#5}{n}% \SetSymbolFont{letters}{#1}{OML}{#3}{#4}{it}% \SetSymbolFont{letters}{#2}{OML}{#3}{#5}{it}% \SetSymbolFont{symbols}{#1}{OMS}{#3}{#4}{n}% \SetSymbolFont{symbols}{#2}{OMS}{#3}{#5}{n}% \SetSymbolFont{largesymbols}{#1}{OMX}{iwona}{#4}{n}% \SetSymbolFont{largesymbols}{#2}{OMX}{iwona}{#5}{n}% \SetMathAlphabet{\mathnormal}{#1}{OML}{#3}{#4}{it}% \SetMathAlphabet{\mathnormal}{#2}{OML}{#3}{#5}{it}% \tud@if@ismathalphabet{\mathbold}{% \SetMathAlphabet{\mathbold}{#1}{OML}{#3}{#5}{it}% \SetMathAlphabet{\mathbold}{#2}{OML}{#3}{#6}{it}% }{}% \else% \MTDeclareVersion[it]{#1}{\tud@x@mathastext@enc}{#3}{#4}{n}% \MTDeclareVersion[it]{#2}{\tud@x@mathastext@enc}{#3}{#5}{n}% \SetSymbolFont{operators}{#1}{OT1}{iwona}{#4}{n}% \SetSymbolFont{operators}{#2}{OT1}{iwona}{#5}{n}% \SetSymbolFont{letters}{#1}{OML}{iwona}{#4}{it}% \SetSymbolFont{letters}{#2}{OML}{iwona}{#5}{it}% \SetSymbolFont{symbols}{#1}{OMS}{iwona}{#4}{n}% \SetSymbolFont{symbols}{#2}{OMS}{iwona}{#5}{n}% \SetSymbolFont{largesymbols}{#1}{OMX}{iwona}{#4}{n}% \SetSymbolFont{largesymbols}{#2}{OMX}{iwona}{#5}{n}% \SetSymbolFont{tuditgrk}{#1}{LGR}{#3}{#4}{it}% \SetSymbolFont{tuditgrk}{#2}{LGR}{#3}{#5}{it}% \SetSymbolFont{tudupgrk}{#1}{LGR}{#3}{#4}{n}% \SetSymbolFont{tudupgrk}{#2}{LGR}{#3}{#5}{n}% \tud@if@ismathalphabet{\mathbold}{% \SetMathAlphabet{\mathbold}{#1}{\tud@x@mathastext@enc}{#3}{#5}{it}% \SetMathAlphabet{\mathbold}{#2}{\tud@x@mathastext@enc}{#3}{#6}{it}% }{}% \fi% \AtBeginDocument{% \tud@if@issymbolfont{legacymaths}{% \SetSymbolFont{legacymaths}{#1}{OT1}{#3}{#4}{n}% \SetSymbolFont{legacymaths}{#2}{OT1}{#3}{#5}{n}% }{}% }% \if@tud@cdoldfont@active% \def\tud@res@a{OT1}% \else% \let\tud@res@a\tud@x@mathastext@enc% \fi% \SetMathAlphabet{\mathrm}{#1}{\tud@res@a}{#3}{#4}{n}% \SetMathAlphabet{\mathrm}{#2}{\tud@res@a}{#3}{#5}{n}% \SetMathAlphabet{\mathbf}{#1}{\tud@res@a}{#3}{#5}{n}% \SetMathAlphabet{\mathbf}{#2}{\tud@res@a}{#3}{#6}{n}% \SetMathAlphabet{\mathsf}{#1}{\tud@res@a}{#3}{#4}{n}% \SetMathAlphabet{\mathsf}{#2}{\tud@res@a}{#3}{#5}{n}% \SetMathAlphabet{\mathit}{#1}{\tud@res@a}{#3}{#4}{it}% \SetMathAlphabet{\mathit}{#2}{\tud@res@a}{#3}{#5}{it}% \SetMathAlphabet{\mathtt}{#1}{\tud@res@a}{#7}{#8}{n}% \SetMathAlphabet{\mathtt}{#2}{\tud@res@a}{#7}{#9}{n}% \IfFileExists{ueus.fd}{% \SetMathAlphabet{\mathcal}{#1}{U}{eus}{m}{n}% \SetMathAlphabet{\mathcal}{#2}{U}{eus}{b}{n}% }{}% \tud@if@ismathalphabet{\mathfrak}{% \IfFileExists{ueuf.fd}{% \SetMathAlphabet{\mathfrak}{#1}{U}{euf}{m}{n}% \SetMathAlphabet{\mathfrak}{#2}{U}{euf}{b}{n}% }{}% }{}% \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}{#3a}{}% \DeclareFontShape{U}{#3a}{m}{n}{<->cmbras10}{}% \SetSymbolFont{AMSa}{#1}{U}{#3a}{m}{n}% \SetSymbolFont{AMSa}{#2}{U}{#3a}{m}{n}% \DeclareFontFamily{U}{#3b}{}% \DeclareFontShape{U}{#3b}{m}{n}{<->cmbrbs10}{}% \SetSymbolFont{AMSb}{#1}{U}{#3b}{m}{n}% \SetSymbolFont{AMSb}{#2}{U}{#3b}{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% }% } \if@tud@cdoldfont@active \newcommand*\tud@cdmath@db@init[1]{% \DeclareMathVersion{tuddin}% \SetSymbolFont{operators}{tuddin}{OT1}{#1}{b}{n}% \SetSymbolFont{letters}{tuddin}{OML}{#1}{b}{it}% \SetSymbolFont{symbols}{tuddin}{OMS}{#1}{b}{n}% \SetSymbolFont{largesymbols}{tuddin}{OMX}{iwona}{ebc}{n}% \AtBeginDocument{% \tud@if@issymbolfont{legacymaths}{% \SetSymbolFont{legacymaths}{tuddin}{OT1}{#1}{b}{n}% }{}% }% \SetMathAlphabet{\mathnormal}{tuddin}{OML}{#1}{b}{it}% \tud@if@ismathalphabet{\mathbold}{% \SetMathAlphabet{\mathbold}{tuddin}{OML}{#1}{b}{it}% }{}% \SetMathAlphabet{\mathrm}{tuddin}{OT1}{#1}{b}{n}% \SetMathAlphabet{\mathbf}{tuddin}{OT1}{#1}{b}{n}% \SetMathAlphabet{\mathsf}{tuddin}{OT1}{#1}{b}{n}% \SetMathAlphabet{\mathit}{tuddin}{OT1}{#1}{b}{it}% \IfFileExists{ueus.fd}{% \SetMathAlphabet{\mathcal}{tuddin}{U}{eus}{b}{n}% }{}% \tud@if@ismathalphabet{\mathfrak}{% \IfFileExists{ueuf.fd}{% \SetMathAlphabet{\mathfrak}{tuddin}{U}{euf}{b}{n}% }{}% }{}% \AtBeginDocument{% \if@tud@cdmath@active% \sbox\z@{\mathversion{normal}$ $\mathversion{tuddin}$ $}% \fi% }% }% \fi \AfterPackage*{mathastext}{% \newrobustcmd*\tud@mathversion[1]{% \begingroup% \let\tud@res@a\relax% \if@tud@cdmath@active% \tud@if@strequal{#1}{normal}{% \edef\tud@res@a{\tud@cdmath@normal@name}% }{% \tud@if@strequal{#1}{bold}{% \edef\tud@res@a{\tud@cdmath@bold@name}% }{}% }% \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% \ifcsundef{mv@#1}{}{\edef\math@version{#1}}% }% \AtEndPreamble{% \tud@cs@store{mathversion}% \tud@cs@letltx{mathversion}{tud@mathversion}% }% } \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}% \ifcsundef{tud@cdmath@symbol@#2}{}{% \csletcs{tud@cdmath@symbol@#1}{tud@cdmath@symbol@#2}% }% } \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}% {\unexpanded{#2}}{#3}{#4}% }% \tud@res@a% } \tud@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]{% \ifcsundef{#1}{% \addto@hook\tud@cdmath@symbols@toks{\csundef{#1}}% }{% \tud@cs@store{#1}% \addto@hook\tud@cdmath@symbols@toks{\tud@cs@restore{#1}}% }% \ifcsundef{tud@cdmath@symbol@#1}{% \csundef{#1}% }{% \tud@cs@letltx{#1}{tud@cdmath@symbol@#1}% }% } \newcommand*\tud@cdmath@symbols@set@chr[1]{% \edef\tud@res@a{\global\mathcode`#1=\the\mathcode`#1\relax}% \addto@hook@expandafter\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}{\mathord}{tuditgrk}{#2}% \tud@cdmath@declare@symb{up#1}{\mathord}{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@strlowercase\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[1][\tud@cdmath@wrn]{% \if@tud@cdmath@active% #1% \tud@cs@store{mv@normal}% \tud@cs@store{mv@bold}% \tud@cdmath@set% \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% \expandafter\mathversion\expandafter{\math@version}% } \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}% }% } \begingroup \catcode`\^=7 \catcode30=12 \catcode`\!=12 \edef\tud@reserved{\@gobble^^^^0021} \expandafter\endgroup \ifx\tud@reserved\@empty \RequirePackage{newunicodechar} \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}% } \AfterAtEndOfPackage*{siunitx}{% \IfPackageAtLeastTF{siunitx}{2021-04-18}{% \newcommand*\tud@x@siunitx@mapping{% \if@tud@cdfont@active \csname keys_set:nx\endcsname { siunitx / series-version-mapping } { \tud@cdfont@md = normal, \tud@cdfont@bf = bold, \tud@cdfont@ebf = bold } \else \csname keys_set:nn\endcsname { siunitx / series-version-mapping } { ul = light , el = light , l = light , sl = light , m = normal , sb = bold , b = bold , eb = bold , ub = bold } \fi } \xapptocmd\tud@font@set% {\tud@x@siunitx@mapping}% {}{\tud@patch@wrn{tud@font@set}}% }{% \newcommand*\tud@x@siunitx@reset{}% \providecommand*\lseries{\fontseries{l}\selectfont}% \AtEndPreamble{% \if@tud@cdfont@active% \if@tud@cdfont@heavy% \def\tud@x@siunitx@reset{\TUDoptions{cdfont=heavy}}% \else% \def\tud@x@siunitx@reset{\TUDoptions{cdfont=true}}% \fi% \appto\tud@x@siunitx@reset{\tud@font@set[]}% \TUDoptions{cdfont=false}% \tud@font@set[]% \fi% }% \AtBeginDocument{\tud@x@siunitx@reset}% } } \tud@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@bm@delayed{% \if@tud@x@bm@requested% \UnPreventPackageFromLoading{bm}% \if@tud@cdmath@active% \tud@cs@store{mv@normal}% \tud@cs@store{mv@bold}% \tud@cdmath@set% \fi% \RequirePackage{bm} \tud@cs@restore{mv@normal}% \tud@cs@restore{mv@bold}% \fi% \let\tud@x@bm@delayed\relax% } \BeforePackage{mathastext}{\tud@x@bm@delayed} \AfterClass*{beamer}{\usefonttheme[onlymath]{serif}} \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% \tud@cdfont@init% \tud@ttfont@init% \tud@font@set% \tud@cdmath@init% \tud@x@bm@delayed% \tud@math@map@greeks% \tud@math@checkslanted@greeks% \AtBeginDocument{\tud@math@set}% } %%%% From File: tudscr-misc.dtx (no git version info was found) \tud@newif\if@tud@font@set \tud@newif\if@tud@math@set \tud@newif\if@tud@relspacing@set \newcommand*\tud@atdocument@process{% \if@tud@font@set% \tud@font@set% \global\@tud@font@setfalse% \global\@tud@relspacing@setfalse% \fi% \if@tud@relspacing@set% \tud@relspacing@set% \global\@tud@relspacing@setfalse% \fi% \if@tud@math@set% \tud@math@set% \global\@tud@math@setfalse% \fi% } %%%% From File: tudscr-comp.dtx (no git version info was found) \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% \endinput %% %% End of file `tudscrfonts.sty'.