summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty51
1 files changed, 29 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
index e31586220c2..605da2f997d 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
@@ -9,7 +9,7 @@
%%
%% TUD-Script -- Corporate Design of Technische Universitaet Dresden
%%
-%% 2019/07/09 v2.06a TUD-Script
+%% 2019/07/17 v2.06b TUD-Script
%%
%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2019
%%
@@ -52,26 +52,23 @@
\fi%
}
\fi
- \TUD@Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD@Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex@outlook.com}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud@res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud@ifdin{%
- \edef\tud@res@a{\tud@res@b{SCRIPT}}%
- }{%
- \edef\tud@res@a{\noexpand\textsf{\tud@res@b{Script}}}%
- }%
- \expandafter\endgroup\tud@res@a%
- \csname xspace\endcsname%
+ \textsf{%
+ T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script%
+ }%
+ \ifcsname xspace\endcsname%
+ \xspace%
+ \fi%
}%
}{}
%%% From File: tudscr-base.dtx
\ProvidesPackage{tudscrbase}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(basics for the bundle)%
]
@@ -165,16 +162,26 @@
\expandafter\def\expandafter #1\expandafter{#1}%
}%
}
-\newcommand*\tud@komafont@set[2]{%
- \ifcsdef{tud@komafont@#1}{}{\addtokomafont{#1}{\csuse{tud@komafont@#1}}}%
- \csdef{tud@komafont@#1}{#2\nobreak}%
-}
-\newcommand*\tud@komafont@unset[1]{%
- \ifcsdef{tud@komafont@#1}{}{\addtokomafont{#1}{\csuse{tud@komafont@#1}}}%
- \csdef{tud@komafont@#1}{\relax}%
-}
-\newcommand*\tud@komafont@reset[1]{%
- \ifcsdef{tud@komafont@#1}{\addtokomafont{#1}{\csuse{tud@komafont@#1}}}{}%
+\newcommand*\tud@if@fdfileexists[2]{%
+ \begingroup%
+ \@tud@res@swatrue%
+ \tud@lowerstring\tud@res@a{#1#2.fd}%
+ \IfFileExists{\tud@res@a}{\@tud@res@swafalse}{}%
+ \if@tud@res@swa%
+ \tud@lowerstring\tud@res@a{#1}%
+ \edef\tud@res@a{\tud@res@a#2.fd}%
+ \IfFileExists{\tud@res@a}{\@tud@res@swafalse}{}%
+ \fi%
+ \if@tud@res@swa%
+ \edef\tud@res@a{#1#2.fd}%
+ \IfFileExists{\tud@res@a}{\@tud@res@swafalse}{}%
+ \fi%
+ \if@tud@res@swa%
+ \aftergroup\@secondoftwo%
+ \else%
+ \aftergroup\@firstoftwo%
+ \fi%
+ \endgroup%
}
\DefineFamily{TUD}
\newcommand*\TUDProcessOptions{\FamilyProcessOptions{TUD}}