From 058b77a3ba0ce417a9dea9433252df4d95e86f98 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 15 Oct 2016 22:55:03 +0000
Subject: tudscr (13oct16)

git-svn-id: svn://tug.org/texlive/trunk@42271 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/latex/tudscr/tudscrposter.cls   | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

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

diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
index 12e4d27979d..164d0abc848 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
@@ -79,13 +79,13 @@
       \fi%
     }
   \fi
-  \TUD@Version@Check{2016/10/10 v2.05e TUD-Script}
+  \TUD@Version@Check{2016/10/12 v2.05f TUD-Script}
 \endgroup
 \NeedsTeXFormat{LaTeX2e}
 \providecommand*\tudscrmail{tudscr@gmail.com}
 \newcommand*\TUD@ProvidesClass[3]{%
   \ProvidesClass{#1}[%
-  2016/10/10 v2.05e TUD-Script
+  2016/10/12 v2.05f TUD-Script
     ^^J#3 (#2)%
   ]%
   \newcommand*\TUD@Class@KOMA{#2}%
@@ -1063,6 +1063,7 @@
 \csdef{tud@v@2.05c}{3}
 \csdef{tud@v@2.05d}{3}
 \csdef{tud@v@2.05e}{3}
+\csdef{tud@v@2.05f}{3}
 \csdef{tud@v@last}{3}
 \newcommand*\tud@v@get[2]{%
   \begingroup%
@@ -1443,7 +1444,7 @@
     \edef\bfdef@ult{\bfdefault}%
     \edef\mddef@ult{\mddefault}%
   \fi%
-  \ifdef{\tud@font@math@init}{}{\tud@font@math@set}%
+  \ifundef{\tud@font@math@init}{\tud@font@math@set}{}%
   \tud@font@skip@set%
   \normalfont\selectfont%
   \tud@layout@process%
@@ -1477,6 +1478,8 @@
   \tud@skip@set{belowcaptionskip}{\z@}%
   \tud@skip@set{columnsep}{1.1\baselineskip}%
 }
+\newcommand*\tud@dinbn{}
+\let\tud@dinbn\relax
 \newcommand*\tud@font@init{%
   \if@tud@univers%
     \newrobustcmd*\univln{\usefont{\encodingdefault}{\tud@univers}{l}{n}}%
@@ -1715,7 +1718,6 @@
     \tud@font@math@set%
   }%
   \sbox\z@{\tud@dinbn$ $}%
-  \undef\tud@font@math@init%
 }
 \newcommand*\tud@font@greek@check@slanted{%
   \let\@tempb\relax%
@@ -1797,8 +1799,7 @@
 }
 \newcommand*\tud@font@greek@upright[1]{\csletcs{#1}{up#1}}
 \newcommand*\tud@font@greek@slanted[1]{\csletcs{#1}{var#1}}
-\AtEndPreamble%
-{%
+\AtEndPreamble{%
   \if@tud@x@mweights@enabled%
     \ifundef{\bfseries@rm}{\edef\bfseries@rm{\bfdefault}}{}%
     \ifundef{\bfseries@sf}{\edef\bfseries@sf{\bfdefault}}{}%
@@ -1810,8 +1811,15 @@
   \tud@font@check%
   \tud@font@set%
   \tud@font@init%
-  \AtBeginDocument{\tud@font@math@init}%
+  \if@tud@x@bm@requested%
+    \tud@font@math@init%
+    \UnPreventPackageFromLoading{bm}%
+    \RequirePackage{bm}%
+  \fi%
+  \AtBeginDocument{\tud@font@math@init\let\tud@font@math@init\relax}%
 }
+\newif\if@tud@x@bm@requested
+\PreventPackageFromLoading[\@tud@x@bm@requestedtrue]{bm}
 \AfterPackage*{siunitx}{%
   \providecommand*\lseries{\fontseries{l}\selectfont}%
 }
-- 
cgit v1.2.3

