From 70c10a95a1cdccdb1ed742a058424bd06dd20032 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 28 Aug 2019 23:42:08 +0000
Subject: tudscr (29aug19)

git-svn-id: svn://tug.org/texlive/trunk@51976 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls | 36 ++++++++++++++++------
 1 file changed, 26 insertions(+), 10 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls')

diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
index 7c3dbaf5bee..6ff8a5ff297 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
@@ -30,7 +30,7 @@
 %% 
 %% TUD-Script -- Corporate Design of Technische Universitaet Dresden
 %% 
-%%   2019/08/20 v2.06c TUD-Script
+%%   2019/08/27 v2.06d TUD-Script
 %% 
 %% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2019
 %% 
@@ -73,13 +73,13 @@
       \fi%
     }
   \fi
-  \TUD@Version@Check{2019/08/20 v2.06c TUD-Script}
+  \TUD@Version@Check{2019/08/27 v2.06d TUD-Script}
 \endgroup
 \NeedsTeXFormat{LaTeX2e}
 \providecommand*\tudscrmail{hanisch.latex@outlook.com}
 \newcommand*\TUD@ProvidesClass[3]{%
   \ProvidesClass{#1}[%
-  2019/08/20 v2.06c TUD-Script
+  2019/08/27 v2.06d TUD-Script
     #3 (#2)%
   ]%
   \newcommand*\TUD@Class@KOMA{#2}%
@@ -1179,6 +1179,7 @@
 \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@last}{4}
 \newcommand*\tud@v@get[2]{%
   \begingroup%
@@ -2562,18 +2563,18 @@
       {\tud@cs@use{updefault}}{\tud@cs@use{itdefault}}%
     \let\tud@res@c\@empty%
     \def\tud@res@b##1##2{%
-      \ifcsundef{up##1}{%
-        \eappto\tud@res@c{%
-          \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
-              {\noexpand\mathalpha}{tudupgrk}{##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}%
@@ -3000,8 +3001,23 @@
   \tud@cdmath@declare@greek@@lgr{varphi}{102}%
 }
 \newcommand*\tud@cdmath@declare@greek@@lgr[2]{%
-  \tud@cdmath@declare@symb{up#1}{\mathalpha}{tudupgrk}{#2}%
   \tud@cdmath@declare@symb{it#1}{\mathalpha}{tuditgrk}{#2}%
+  \tud@cdmath@declare@symb{up#1}{\mathalpha}{tudupgrk}{#2}%
+  \scr@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%
+  }{}%
 }
 \newcommand*\tud@cdmath@also@greeks{%
   \tud@math@loop@greeks@all\tud@cdmath@also@@greeks%
-- 
cgit v1.2.3

