summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-22 21:36:39 +0000
committerKarl Berry <karl@freefriends.org>2016-09-22 21:36:39 +0000
commit31b4c240bb66faef5936736e698d89f8c2ecec1b (patch)
tree15c94ae1ac40403bf438412f858d773887d8be6d /Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
parent2313916fd74b79a0160ff9b73de3fbacfbe0595c (diff)
tudscr (22sep16)
git-svn-id: svn://tug.org/texlive/trunk@42129 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty41
1 files changed, 23 insertions, 18 deletions
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%