summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls42
1 files changed, 24 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
index 0b191f6d13f..fec9704b4fb 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
@@ -29,7 +29,7 @@
%%
%% ============================================================================
%%
-%% TUD-KOMA-Script
+%% TUD-Script
%% Copyright (c) Falk Hanisch <tudscr@gmail.com>, 2012-2016
%%
%% ============================================================================
@@ -74,18 +74,18 @@
\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}
\newcommand*\TUD@ProvidesClass[3]{%
\ProvidesClass{#1}[%
- 2016/09/15 v2.05c TUD-KOMA-Script
+ 2016/09/22 v2.05d TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD@Class@KOMA{#2}%
@@ -108,8 +108,8 @@
\providecommand*\TUDClassName{\TUDScriptClassName}
\@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%
}%
}{}
@@ -121,7 +121,7 @@
\PreventPackageFromLoading[%
\ClassWarning{\TUD@Class@Name}{%
The package `tudscrfonts' must not be used with\MessageBreak%
- a TUD-KOMA-Script class%
+ a TUD-Script class%
}%
]{tudscrfonts}
\newif\if@tud@x@fontspec@enabled
@@ -1170,6 +1170,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%
@@ -1817,22 +1818,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%
@@ -3960,7 +3966,7 @@
\PreventPackageFromLoading[%
\ClassWarning{\TUD@Class@Name}{%
The package `fancyhdr' must not be used with a\MessageBreak%
- TUD-KOMA-Script class. You should make use of the\MessageBreak%
+ TUD-Script class. You should make use of the\MessageBreak%
capabilities of package `scrlayer-scrpage' instead%
}%
]{fancyhdr}