summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls22
1 files changed, 15 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls
index 417fd9d20e6..788f5217b37 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.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}%
@@ -1291,6 +1291,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%
@@ -1671,7 +1672,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%
@@ -1705,6 +1706,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}}%
@@ -1943,7 +1946,6 @@
\tud@font@math@set%
}%
\sbox\z@{\tud@dinbn$ $}%
- \undef\tud@font@math@init%
}
\newcommand*\tud@font@greek@check@slanted{%
\let\@tempb\relax%
@@ -2025,8 +2027,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}}{}%
@@ -2038,8 +2039,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}%
}