From 85efb9eb63f53ac1391f0c824d8ed775bcd30b27 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 7 Jul 2021 20:56:57 +0000 Subject: tudscr (7jul21) git-svn-id: svn://tug.org/texlive/trunk@59868 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls | 55 ++++++++++------------ 1 file changed, 25 insertions(+), 30 deletions(-) (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls') diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls index c02215fc344..750492f12a8 100644 --- a/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls +++ b/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls @@ -30,7 +30,7 @@ %% %% TUD-Script -- Corporate Design of Technische Universitaet Dresden %% -%% 2021/03/30 v2.06l TUD-Script +%% 2021/07/06 v2.06m TUD-Script %% %% Copyright (C) Falk Hanisch , 2012-2020 %% @@ -73,13 +73,13 @@ \fi% } \fi - \TUD@Version@Check{2021/03/30 v2.06l TUD-Script} + \TUD@Version@Check{2021/07/06 v2.06m TUD-Script} \endgroup \NeedsTeXFormat{LaTeX2e}[2019/10/01] \providecommand*\tudscrmail{hanisch.latex@outlook.com} \newcommand*\TUD@ProvidesClass[3]{% \ProvidesClass{#1}[% - 2021/03/30 v2.06l TUD-Script + 2021/07/06 v2.06m TUD-Script #3 (#2)% ]% \newcommand*\TUD@Class@KOMA{#2}% @@ -1260,6 +1260,7 @@ \csdef{tud@v@2.06j}{4} \csdef{tud@v@2.06k}{4} \csdef{tud@v@2.06l}{4} +\csdef{tud@v@2.06m}{4} \csdef{tud@v@last}{4} \newcommand*\tud@v@get[2]{% \begingroup% @@ -1657,7 +1658,7 @@ \@tud@res@swatrue% \def\tud@res@a##1##2{% \@tud@res@swafalse% - \tud@cdfont@missing[##1]{##2}{\tud@cdmath@wrn}% + \tud@cdfont@missing[{##1}]{##2}{\tud@cdmath@wrn}% }% \def\tud@res@b##1##2{% \tud@if@fdfileexists{##1}{##2}{}{% @@ -1780,7 +1781,7 @@ \newcommand*\tud@x@fontspec@init[2]{% \begingroup% \edef\tud@res@a{% - \noexpand\defaultfontfeatures[#1]{% + \noexpand\defaultfontfeatures[{#1}]{% NFSSFamily=#1,% Ligatures=TeX,% BoldFont={},% @@ -2557,16 +2558,16 @@ \tud@math@loop@greeks@lc{#1}% } \newcommand*\tud@math@loop@greeks@uc[1]{% - \@for\@tempa:={% + \forcsvlist#1{% 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:={% + \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% - }\do{\expandafter#1\expandafter{\@tempa}}% + }% } \newcommand*\tud@math@declare@lgrgreeks[5]{% \ifundef{\T@LGR}{\DeclareFontEncoding{LGR}{}{}}{}% @@ -2591,24 +2592,18 @@ \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{\tud@res@a}{}{\csletcs{it#1}{\tud@res@a}}% }% }{}% - \ifcsundef{up#1}{% - \ifcsundef{#1up}{}{\csedef{up#1}{\csname#1up\endcsname}}% - }{}% - \ifcsundef{other#1}{% - \ifcsundef{#1other}{}{\csedef{other#1}{\csname#1other\endcsname}}% - }{}% + \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}{}{\csedef{it#1}{\csname var#1\endcsname}}% - }{}% + \ifcsundef{it#1}{\ifcsundef{var#1}{}{\csletcs{it#1}{var#1}}}{}% \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}}% + \ifcsundef{\tud@res@a}{}{\csletcs{up#1}{\tud@res@a}}% }{}% } \newcommand*\tud@math@supplement@greeks{% @@ -3017,9 +3012,9 @@ } \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}% - }{}% + \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]{% @@ -3032,7 +3027,7 @@ \endgroup% \noexpand\DeclareMathSymbol% {\csname tud@cdmath@symbol@#1\endcsname}% - {\etex@unexpanded{#2}}{#3}{#4}% + {\unexpanded{#2}}{#3}{#4}% }% \tud@res@a% } @@ -3045,16 +3040,16 @@ }{}% } \newcommand*\tud@cdmath@symbols@set@cmd[1]{% - \ifcsdef{#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}}% - }{% - \addto@hook\tud@cdmath@symbols@toks{\csundef{#1}}% }% - \ifcsdef{tud@cdmath@symbol@#1}{% - \tud@cs@letltx{#1}{tud@cdmath@symbol@#1}% - }{% + \ifcsundef{tud@cdmath@symbol@#1}{% \csundef{#1}% + }{% + \tud@cs@letltx{#1}{tud@cdmath@symbol@#1}% }% } \newcommand*\tud@cdmath@symbols@set@chr[1]{% -- cgit v1.2.3