summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-18 20:33:55 +0000
committerKarl Berry <karl@freefriends.org>2019-07-18 20:33:55 +0000
commit4c5af96bdbb207b50d1c8f8d0edf287a95a8ab3d (patch)
treea7cefb4abac7218f67e149a781d5146fd6e9f6aa /Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
parentdcbd5c7d9a011c8fb1c9eb075e18534ffae61a5e (diff)
tudscr (18jul19)
git-svn-id: svn://tug.org/texlive/trunk@51662 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls121
1 files changed, 71 insertions, 50 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
index 1b2be34bca2..e11b4fa6d62 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
@@ -6,6 +6,7 @@
%%
%% tudscr-version.dtx (with options: `class,poster')
%% tudscr-base.dtx (with options: `class,poster,load')
+%% tudscr-base.dtx (with options: `class,poster,option')
%% tudscr-fonts.dtx (with options: `class,poster,option')
%% tudscr-area.dtx (with options: `class,poster,option')
%% tudscr-pagestyle.dtx (with options: `class,poster,option')
@@ -29,7 +30,7 @@
%%
%% TUD-Script -- Corporate Design of Technische Universitaet Dresden
%%
-%% 2019/07/09 v2.06a TUD-Script
+%% 2019/07/17 v2.06b TUD-Script
%%
%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2019
%%
@@ -72,13 +73,13 @@
\fi%
}
\fi
- \TUD@Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD@Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex@outlook.com}
\newcommand*\TUD@ProvidesClass[3]{%
\ProvidesClass{#1}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD@Class@KOMA{#2}%
@@ -102,21 +103,30 @@
\providecommand*\TUDClassName{\TUDScriptClassName}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud@res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud@ifdin{%
- \edef\tud@res@a{\tud@res@b{SCRIPT}}%
- }{%
- \edef\tud@res@a{\noexpand\textsf{\tud@res@b{Script}}}%
- }%
- \expandafter\endgroup\tud@res@a%
- \csname xspace\endcsname%
+ \textsf{%
+ T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script%
+ }%
+ \ifcsname xspace\endcsname%
+ \xspace%
+ \fi%
}%
}{}
%%% From File: tudscr-base.dtx
\RequirePackage{tudscrbase}[\TUD@Version]
\renewcommand*\TUD@KOMAoptions[1]{\PassOptionsToClass{#1}{\TUD@Class@KOMA}}
\AfterClass{\TUD@Class@KOMA}{\let\TUD@KOMAoptions\KOMAoptions}
+%%% From File: tudscr-base.dtx
+\newcommand*\tud@komafont@set[2]{%
+ \ifcsdef{tud@komafont@#1}{}{\addtokomafont{#1}{\csuse{tud@komafont@#1}}}%
+ \csdef{tud@komafont@#1}{#2\nobreak}%
+}
+\newcommand*\tud@komafont@unset[1]{%
+ \ifcsdef{tud@komafont@#1}{}{\addtokomafont{#1}{\csuse{tud@komafont@#1}}}%
+ \csdef{tud@komafont@#1}{\relax}%
+}
+\newcommand*\tud@komafont@reset[1]{%
+ \ifcsdef{tud@komafont@#1}{\addtokomafont{#1}{\csuse{tud@komafont@#1}}}{}%
+}
%%% From File: tudscr-fonts.dtx
\PreventPackageFromLoading[%
\ClassWarning{\TUD@Class@Name}{%
@@ -1081,6 +1091,7 @@
\csdef{tud@v@2.05m}{3}
\csdef{tud@v@2.06}{4}
\csdef{tud@v@2.06a}{4}
+\csdef{tud@v@2.06b}{4}
\csdef{tud@v@last}{4}
\newcommand*\tud@v@get[2]{%
\begingroup%
@@ -1435,26 +1446,14 @@
}%
\else%
\def\tud@res@b##1##2{%
- \begingroup%
- \@tud@res@swatrue%
- \tud@lowerstring\tud@res@b{##1##2.fd}%
- \IfFileExists{\tud@res@b}{\@tud@res@swafalse}{}%
- \if@tud@res@swa%
- \tud@lowerstring\tud@res@b{##1}%
- \edef\tud@res@b{\tud@res@b##2.fd}%
- \IfFileExists{\tud@res@b}{\@tud@res@swafalse}{}%
- \fi%
- \if@tud@res@swa%
- \edef\tud@res@b{##1##2.fd}%
- \IfFileExists{\tud@res@b}{\@tud@res@swafalse}{}%
- \fi%
- \edef\tud@res@a{%
- \endgroup%
- \if@tud@res@swa%
- \noexpand\tud@res@a{\tud@res@b}%
- \fi%
- }%
- \tud@res@a%
+ \tud@if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud@res@a{%
+ \endgroup%
+ \noexpand\tud@res@a{##1##2.fd}%
+ }%
+ \tud@res@a%
+ }%
}%
\@for\tud@res@c:={#4}\do{\tud@res@b{\encodingdefault}{\tud@res@c}}%
\fi%
@@ -1471,15 +1470,14 @@
\tud@cdfont@missing[##1]{##2}{\tud@cdmath@wrn}%
}%
\def\tud@res@b##1##2{%
- \begingroup%
- \tud@lowerstring\tud@res@b{##1##2.fd}%
- \edef\tud@res@a{%
- \endgroup%
- \noexpand\IfFileExists{\tud@res@b}{}{%
- \noexpand\tud@res@a{##1}{\tud@res@b}%
+ \tud@if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud@res@a{%
+ \endgroup%
+ \noexpand\tud@res@a{##1}{##1##2.fd}%
}%
- }%
- \tud@res@a%
+ \tud@res@a%
+ }%
}%
\@for\tud@res@c:={#1}\do{\tud@res@b{\tud@res@c}{#2}}%
\if@tud@res@swa\else%
@@ -2354,7 +2352,7 @@
}%
\SetSymbolFont{tudupgrk}{bold}{LGR}{#1}{#3}{#4}%
\tud@if@issymbolfont{tuditgrk}{%
- \SetSymbolFont{tudupgrk}{normal}{LGR}{#1}{#2}{#5}%
+ \SetSymbolFont{tuditgrk}{normal}{LGR}{#1}{#2}{#5}%
}{%
\DeclareSymbolFont{tuditgrk}{LGR}{#1}{#2}{#5}%
}%
@@ -2439,13 +2437,13 @@
}{}%
\let\tud@res@a\@empty%
\if@tud@lgrgreeks%
- \IfFileExists{lgr\tud@cs@use{familydefault}.fd}{%
+ \tud@if@fdfileexists{LGR}{\tud@cs@use{familydefault}}{%
\def\tud@res@a{\tud@cs@use{familydefault}}%
}{%
- \IfFileExists{lgr\tud@math@letters@fam.fd}{%
+ \tud@if@fdfileexists{LGR}{\tud@math@letters@fam}{%
\let\tud@res@a\tud@math@letters@fam%
}{%
- \IfFileExists{lgr\tud@math@operators@fam.fd}{%
+ \tud@if@fdfileexists{LGR}{\tud@math@operators@fam}{%
\let\tud@res@a\tud@math@operators@fam%
}{}%
}%
@@ -2463,18 +2461,18 @@
{\tud@cs@use{updefault}}{\tud@cs@use{itdefault}}%
\let\tud@res@c\@empty%
\def\tud@res@b##1##2{%
- \ifcsundef{it##1}{%
- \eappto\tud@res@c{%
- \noexpand\DeclareMathSymbol{\csname it##1\endcsname}%
- {\noexpand\mathalpha}{tuditgrk}{##2}%
- }%
- }{}%
\ifcsundef{up##1}{%
\eappto\tud@res@c{%
\noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
{\noexpand\mathalpha}{tudupgrk}{##2}%
}%
}{}%
+ \ifcsundef{it##1}{%
+ \eappto\tud@res@c{%
+ \noexpand\DeclareMathSymbol{\csname it##1\endcsname}%
+ {\noexpand\mathalpha}{tuditgrk}{##2}%
+ }%
+ }{}%
}%
\tud@res@b{Gamma}{71}%
\tud@res@b{Delta}{68}%
@@ -2574,7 +2572,30 @@
}%
}
\newcommand*\tud@cdmath@init{%
+ \@tud@res@swafalse%
\if@tud@cdfont@fam@exist%
+ \@tud@res@swatrue%
+ \if@tud@cdoldfont@active\else%
+ \tud@if@fdfileexists{LGR}{cmr}{}{%
+ \@tud@res@swafalse%
+ \def\tud@res@a{%
+ \ClassWarningNoLine{\TUD@Class@Name}%
+ {%
+ The packages `cbfonts/cbgreek' and\MessageBreak%
+ `cbfonts-fd' have to be installed for using\MessageBreak%
+ corporate design fonts in math mode. As they\MessageBreak%
+ are not, standard math versions are applied%
+ }%
+ }%
+ \if@tud@cdmath@active%
+ \tud@res@a%
+ \else%
+ \eappto\tud@cdmath@wrn{\expandonce\tud@res@a}%
+ \fi%
+ }%
+ \fi%
+ \fi%
+ \if@tud@res@swa%
\if@tud@cdoldfont@active\else%
\if@tud@cdmath@active%
\def\tud@res@a##1{%