From 31b4c240bb66faef5936736e698d89f8c2ecec1b Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 22 Sep 2016 21:36:39 +0000
Subject: tudscr (22sep16)

git-svn-id: svn://tug.org/texlive/trunk@42129 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty | 41 ++++++++++++----------
 1 file changed, 23 insertions(+), 18 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty')

diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
index 47c57cff528..efd5d9ccda2 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
@@ -16,7 +16,7 @@
 %% 
 %% ============================================================================
 %% 
-%%  TUD-KOMA-Script
+%%  TUD-Script
 %%  Copyright (c) Falk Hanisch <tudscr@gmail.com>, 2012-2016
 %% 
 %% ============================================================================
@@ -61,25 +61,25 @@
           \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-KOMA-Script-Bundle versions%
+          different TUD-Script-Bundle versions%
         }%
       \fi%
     }
   \fi
-  \TUD@Version@Check{2016/09/15 v2.05c TUD-KOMA-Script}
+  \TUD@Version@Check{2016/09/22 v2.05d TUD-Script}
 \endgroup
 \NeedsTeXFormat{LaTeX2e}
 \providecommand*\tudscrmail{tudscr@gmail.com}
 \@ifundefined{TUDScript}{%
   \DeclareRobustCommand\TUDScript{%
-    \ifdin{TUD-KOMA-SCRIPT}{%
-      \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em}\KOMAScript%
+    \ifdin{TUD-SCRIPT}{%
+      \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script}%
     }\csname xspace\endcsname%
   }%
 }{}
 %%% From File: tudscr-fonts.dtx
 \ProvidesPackage{tudscrfonts}[%
-  2016/09/15 v2.05c TUD-KOMA-Script
+  2016/09/22 v2.05d TUD-Script
   package (corporate design fonts)%
 ]
 \ifcsname KOMAClassName\endcsname\else
@@ -87,8 +87,7 @@
 \fi
 \@tempswafalse%
 \@for\@tempa:={%
-  tudbook,tudbeamer,tudfax,tudform,tudhaus,tudletter,%
-  tudposter,tudmathposter,tudscrbookold,tudscrreprtold,tudscrartclold%
+  tudbook,tudbeamer,tudfax,tudform,tudhaus,tudletter,tudposter,tudmathposter%
 }\do{%
   \@ifclassloaded{\@tempa}{%
     \if@tempswa\else\@tempswatrue\let\@tempb\@tempa\fi%
@@ -407,6 +406,7 @@
 \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@last}{3}
 \newcommand*\tud@v@get[2]{%
   \begingroup%
@@ -928,22 +928,27 @@
     \let\tud@font@math@set\relax%
     \bool@set@lock{@tud@cdmath}{false}%
   }{%
-    \let\@tempb\relax%
-    \let\@tempc\relax%
-    \DeclareMathSymbol{\@tempb}{\mathalpha}{letters}{0}%
-    \DeclareMathSymbol{\@tempc}{\mathord}{letters}{0}%
-    \@tempswafalse%
-    \ifnum\Gamma=\@tempb\relax\@tempswatrue\fi%
-    \ifnum\Gamma=\@tempc\relax\@tempswatrue\fi%
-    \if@tempswa%
-      \bool@std@lock{@tud@slantedgreek}{true}%
-    \fi%
+    \tud@font@greek@check@slanted%
     \tud@font@greek@loop\tud@font@greek@init%
     \tud@font@math@set%
   }%
   \sbox\z@{\tud@dinbn$ $}%
   \undef\tud@font@math@init%
 }
+\newcommand*\tud@font@greek@check@slanted{%
+  \let\@tempb\relax%
+  \let\@tempc\relax%
+  \DeclareMathSymbol{\@tempb}{\mathalpha}{letters}{0}%
+  \DeclareMathSymbol{\@tempc}{\mathord}{letters}{0}%
+  \@tempswafalse%
+  \ifnum\Gamma=\@tempb\relax\@tempswatrue\fi%
+  \ifnum\Gamma=\@tempc\relax\@tempswatrue\fi%
+  \if@tempswa%
+    \bool@std@lock{@tud@slantedgreek}{true}%
+  \fi%
+  \let\tud@font@greek@check@slanted\relax%
+}
+\BeforePackage{flexisym}{\tud@font@greek@check@slanted}
 \newcommand*\tud@font@greek@init[1]{%
   \ifcsundef{up#1}{%
     \if@tempswa%
-- 
cgit v1.2.3

