texlive[51662] Master/texmf-dist: tudscr (18jul19)
commits+karl at tug.org
commits+karl at tug.org
Thu Jul 18 22:33:56 CEST 2019
Revision: 51662
http://tug.org/svn/texlive?view=revision&revision=51662
Author: karl
Date: 2019-07-18 22:33:55 +0200 (Thu, 18 Jul 2019)
Log Message:
-----------
tudscr (18jul19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/tudscr/README.md
trunk/Master/texmf-dist/doc/latex/tudscr/tudscr.pdf
trunk/Master/texmf-dist/doc/latex/tudscr/tudscr_print.pdf
trunk/Master/texmf-dist/doc/latex/tudscr/tudscrsource.pdf
trunk/Master/texmf-dist/doc/latex/tudscr/tutorials/mathswap.pdf
trunk/Master/texmf-dist/doc/latex/tudscr/tutorials/mathtype.pdf
trunk/Master/texmf-dist/doc/latex/tudscr/tutorials/treatise.pdf
trunk/Master/texmf-dist/source/latex/tudscr/doc/tudscr.tex
trunk/Master/texmf-dist/source/latex/tudscr/tudscr-base.dtx
trunk/Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx
trunk/Master/texmf-dist/source/latex/tudscr/tudscr-fonts.dtx
trunk/Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx
trunk/Master/texmf-dist/source/latex/tudscr/tudscr-version.dtx
trunk/Master/texmf-dist/source/latex/tudscr/tudscr.ins
trunk/Master/texmf-dist/tex/latex/tudscr/fix-tudscrfonts.sty
trunk/Master/texmf-dist/tex/latex/tudscr/mathswap.sty
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcolor.sty
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty
trunk/Master/texmf-dist/tex/latex/tudscr/tudscrtutorial.sty
trunk/Master/texmf-dist/tex/latex/tudscr/twocolfix.sty
Modified: trunk/Master/texmf-dist/doc/latex/tudscr/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tudscr/README.md 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/doc/latex/tudscr/README.md 2019-07-18 20:33:55 UTC (rev 51662)
@@ -4,7 +4,7 @@
Copyright (C) Falk Hanisch <hanisch.latex at outlook.com>, 2012-2019
- tudscr 2019/07/09 v2.06a
+ tudscr 2019/07/17 v2.06b
----------------------------------------------------------------------------
@@ -24,7 +24,8 @@
LaTeX-Forum der Technischen Universität Dresden oder das GitHub-Repository
*tudscr* verwiesen:
-http://latex.wcms-file3.tu-dresden.de/phpBB3/
+https://latex.wcms-file3.tu-dresden.de/phpBB3/
+
https://github.com/tud-cd/tudscr/issues
@@ -54,6 +55,9 @@
Versionen
---------
+**v2.06b** (2019/07/17)
++ Bugfix für nicht ordnungsgemäßes NFSS (New Font Selection Scheme)
+
**v2.06a** (2019/07/09)
+ Bugfix für Paket **mathastext** bezüglich der Eingabekodierung
@@ -198,13 +202,14 @@
Summary
-------
-The TUD-Script bundle provides both classes and packages in order to
-create LaTeX documents in the corporate design of the Technische Universität
-Dresden. It bases on the KOMA-Script bundle, which must necessarily be present.
+The TUD-Script bundle provides both classes and packages in order to create
+LaTeX documents in the corporate design of the Technische Universität Dresden.
+It bases on the KOMA-Script bundle, which must necessarily be present.
For questions, problems and comments, please refer to eihter the LaTeX forum
-of the Dresden University of Technology or the GitHub *tudscr* repository
+of the Dresden University of Technology or the GitHub repository *tudscr*:
-http://latex.wcms-file3.tu-dresden.de/phpBB3/
+https://latex.wcms-file3.tu-dresden.de/phpBB3/
+
https://github.com/tud-cd/tudscr/issues
@@ -234,6 +239,9 @@
Versions
--------
+**v2.06b** (2019/07/17)
++ bug fix for improper NFSS (New Font Selection Scheme)
+
**v2.06a** (2019/07/09)
+ bug fix for package **mathastext** regarding input encoding
Modified: trunk/Master/texmf-dist/doc/latex/tudscr/tudscr.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tudscr/tudscr_print.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tudscr/tudscrsource.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tudscr/tutorials/mathswap.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tudscr/tutorials/mathtype.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tudscr/tutorials/treatise.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/tudscr/doc/tudscr.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/tudscr/doc/tudscr.tex 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/source/latex/tudscr/doc/tudscr.tex 2019-07-18 20:33:55 UTC (rev 51662)
@@ -29,7 +29,7 @@
\endgroup%
}
\faculty{\cdurl}
-\date{09.07.2019}
+\date{17.07.2019}
\author{%
Falk Hanisch%
\expandafter\emailaddress\expandafter{\tudscrmail}%
Modified: trunk/Master/texmf-dist/source/latex/tudscr/tudscr-base.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tudscr/tudscr-base.dtx 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/source/latex/tudscr/tudscr-base.dtx 2019-07-18 20:33:55 UTC (rev 51662)
@@ -1,4 +1,4 @@
-% \CheckSum{790}
+% \CheckSum{824}
% \iffalse meta-comment
%
% TUD-Script -- Corporate Design of Technische Universität Dresden
@@ -52,7 +52,7 @@
% \fi
%
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
-\ProvidesFile{tudscr-base.dtx}[2019/06/28 v2.06 TUD-Script\space%
+\ProvidesFile{tudscr-base.dtx}[2019/07/17 v2.06b TUD-Script\space%
%
% \iffalse
%</dtx>
@@ -379,45 +379,54 @@
% \end{macrocode}
% \end{macro}^^A \tud at lowerstring
%
-% \subsubsection{Erweiterung von \KOMAScript-Schriftelementen}
+% \subsubsection{Test auf vorhandene Dateien von Schriftdefinitionen}
%
-% \begin{macro}{\tud at komafont@set}
-% \begin{macro}{\tud at komafont@unset}
-% \begin{macro}{\tud at komafont@reset}
-% \changes{v2.02}{2014/08/24}{neu}^^A
-% Es wird die Möglichkeit geschaffen, bestimmten Schriftelementen weitere
-% Eigenschaften mitzugeben. Damit dies optionsabhängig geschehen kann und
-% \cs{addtokomafont} nur einmalig verwendete werden muss, wird im Zweifelsfall
-% einem Schriftelement ein Hilfsmakro \cs{tud at komafont@\meta{Element}}
-% zugewiesen, welches intern angepasst werden kann. Mit \cs{tud at komafont@set}
-% werden dem angegebenen Element die gewünschten Schriftattribute zugeteilt.
+% \begin{macro}{\tud at if@fdfileexists}
+% \changes{v2.06b}{2019/07/17}{neu}^^A
+% Der Befehl wird genutzt, um \file{\dots.fd}~Dateien zu suchen. Dabei muss
+% beachtet werden, dass \cs{IfFileExists} auf unixoiden Betriebssystemen
+% case-sensitiv ist.
% \begin{macrocode}
-\newcommand*\tud at komafont@set[2]{%
- \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
- \csdef{tud at komafont@#1}{#2\nobreak}%
-}
+\newcommand*\tud at if@fdfileexists[2]{%
+ \begingroup%
% \end{macrocode}
-% Mit \cs{tud at komafont@unset} kann das angegebene Element wieder zurückgesetzt
-% werden. Dabei wird das hinzugefügte Makro auf \cs{relax} gesetzt.
+% Der Schalter \cs{if at tud@res at swa} wird \val{false} gesetzt, falls die Schrift
+% gefunden wurde. Der zu prüfenden Schriftname wird dabei in unterschiedlichen
+% Varianten getestet. Zunächst die Standardvariante in Kleinschreibung\dots
% \begin{macrocode}
-\newcommand*\tud at komafont@unset[1]{%
- \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
- \csdef{tud at komafont@#1}{\relax}%
-}
+ \@tud at res@swatrue%
+ \tud at lowerstring\tud at res@a{#1#2.fd}%
+ \IfFileExists{\tud at res@a}{\@tud at res@swafalse}{}%
% \end{macrocode}
-% Werden \KOMAScript-Schriftelemente auf ihre Ausgangsdefinition zurückgesetzt,
-% so kann diesen mit \cs{tud at komafont@reset} kann das passende Hilfsmakro
-% abermals zugewiesen werden.
+% \dots gefolgt von der Variante mit Kleinschreibung der Kodierung und dem
+% Namen der Schrift wie angegeben\dots
% \begin{macrocode}
-\newcommand*\tud at komafont@reset[1]{%
- \ifcsdef{tud at komafont@#1}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}{}%
+ \if at tud@res at swa%
+ \tud at lowerstring\tud at res@a{#1}%
+ \edef\tud at res@a{\tud at res@a#2.fd}%
+ \IfFileExists{\tud at res@a}{\@tud at res@swafalse}{}%
+ \fi%
+% \end{macrocode}
+% \dots abgeschlossen mit der Variante wie gegeben.
+% \begin{macrocode}
+ \if at tud@res at swa%
+ \edef\tud at res@a{#1#2.fd}%
+ \IfFileExists{\tud at res@a}{\@tud at res@swafalse}{}%
+ \fi%
+% \end{macrocode}
+% Wurde die Schriftdatei gefunden, ist \cs{if at tud@res at swa}|=|\cs{iffalse}.
+% \begin{macrocode}
+ \if at tud@res at swa%
+ \aftergroup\@secondoftwo%
+ \else%
+ \aftergroup\@firstoftwo%
+ \fi%
+ \endgroup%
}
% \end{macrocode}
-% \end{macro}^^A \tud at komafont@unset
-% \end{macro}^^A \tud at komafont@reset
-% \end{macro}^^A \tud at komafont@set
+% \end{macro}^^A \tud at if@fdfileexists
%
-% \subsubsection{Optionsdefinition für \TUDScript}
+% \subsection{Optionsdefinition für \TUDScript}
%
% In Anlehnung an \KOMAScript{} werden hier Befehle zur Definition und
% Ausführung unterschiedlicher Klassenoptionen mithilfe der Funktionen aus
@@ -1069,7 +1078,7 @@
% \end{macrocode}
% \end{macro}^^A \TUD at parameter@error
%
-% \subsubsection{Ausführung von paketspezifischem Quellcode}
+% \subsection{Ausführung von paketspezifischem Quellcode}
%
% Ab und an ist es notwendig, bestimmten Quelltext gezielt in Abhängigkeit vom
% Ladezustand eines Paketes auszuführen.
@@ -1206,7 +1215,7 @@
%</package&base>
% \fi
%
-% \subsubsection{Bedingt verzögerte Ausführung von \KOMAScript-Optionen}
+% \subsection{Bedingt verzögerte Ausführung von \KOMAScript-Optionen}
%
% \begin{macro}{\TUD at KOMAoptions}
% \changes{v2.05}{2015/07/17}{neu}^^A
@@ -1250,10 +1259,56 @@
% \end{macro}^^A \TUD at KOMAoptions
%
% \iffalse
+%<*class&option>
+% \fi
+%
+% \section{Zusätzliches für die \TUDScript-Klassen}
+%
+% \subsection{Erweiterung von \KOMAScript-Schriftelementen}
+%
+% \begin{macro}{\tud at komafont@set}
+% \begin{macro}{\tud at komafont@unset}
+% \begin{macro}{\tud at komafont@reset}
+% \changes{v2.02}{2014/08/24}{neu}^^A
+% Es wird die Möglichkeit geschaffen, bestimmten Schriftelementen weitere
+% Eigenschaften mitzugeben. Damit dies optionsabhängig geschehen kann und
+% \cs{addtokomafont} nur einmalig verwendete werden muss, wird im Zweifelsfall
+% einem Schriftelement ein Hilfsmakro \cs{tud at komafont@\meta{Element}}
+% zugewiesen, welches intern angepasst werden kann. Mit \cs{tud at komafont@set}
+% werden dem angegebenen Element die gewünschten Schriftattribute zugeteilt.
+% \ToDo{nur für Klassen notwendig!}[v2.06]
+% \begin{macrocode}
+\newcommand*\tud at komafont@set[2]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{#2\nobreak}%
+}
+% \end{macrocode}
+% Mit \cs{tud at komafont@unset} kann das angegebene Element wieder zurückgesetzt
+% werden. Dabei wird das hinzugefügte Makro auf \cs{relax} gesetzt.
+% \begin{macrocode}
+\newcommand*\tud at komafont@unset[1]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{\relax}%
+}
+% \end{macrocode}
+% Werden \KOMAScript-Schriftelemente auf ihre Ausgangsdefinition zurückgesetzt,
+% so kann diesen mit \cs{tud at komafont@reset} kann das passende Hilfsmakro
+% abermals zugewiesen werden.
+% \begin{macrocode}
+\newcommand*\tud at komafont@reset[1]{%
+ \ifcsdef{tud at komafont@#1}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}{}%
+}
+% \end{macrocode}
+% \end{macro}^^A \tud at komafont@unset
+% \end{macro}^^A \tud at komafont@reset
+% \end{macro}^^A \tud at komafont@set
+%
+% \iffalse
+%</class&option>
%<*class&body>
% \fi
%
-% \section{Externe Pakete für die \TUDScript-Klassen}
+% \subsection{Externe Pakete für die \TUDScript-Klassen}
%
% \changes{v2.01}{2014/04/24}{Versionsanforderungen bei benötigten Paketen}^^A
% \changes{v2.02}{2014/07/08}{Warnung bei Verwendung von \pkg{graphics}}^^A
@@ -1263,7 +1318,7 @@
% Pakete möglichst gering zu halten und nur die wirklich notwendigen zu
% verwenden.
%
-% \subsection{Erweiterte Definition von Umgebungen mit dem Paket \pkg{environ}}
+% \subsubsection{Erweiterte Umgebungsdefinition mit dem Paket \pkg{environ}}
%
% Die \env{abstract}-Umgebung wird im Vergleich zu den \KOMAScript-Klassen
% stark erweitert. Für diese sowie für die Umgebungen \env{declarations} und
@@ -1303,7 +1358,7 @@
% \end{macro}^^A \tud at x@multicol at check
% \end{macro}^^A \tud at x@multicol at num
%
-% \subsection{Pakete für Grafiken und Farben}
+% \subsubsection{Pakete für Grafiken und Farben}
%
% Es folgen die Pakete, welche bei Bedarf am Ende der Präambel geladen werden.
% \begin{macrocode}
Modified: trunk/Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx 2019-07-18 20:33:55 UTC (rev 51662)
@@ -1,4 +1,4 @@
-% \CheckSum{1468}
+% \CheckSum{1469}
% \iffalse meta-comment
%
% TUD-Script -- Corporate Design of Technische Universität Dresden
@@ -52,7 +52,7 @@
% \fi
%
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
-\ProvidesFile{tudscr-comp.dtx}[2019/07/09 v2.06a TUD-Script\space%
+\ProvidesFile{tudscr-comp.dtx}[2019/07/17 v2.06b TUD-Script\space%
%
% \iffalse
%</dtx>
@@ -391,6 +391,8 @@
% \changes{v2.06}{2018/06/26}{neu}^^A
% \begin{macro}{\tud at v@2.06a}
% \changes{v2.06a}{2019/07/09}{neu}^^A
+% \begin{macro}{\tud at v@2.06b}
+% \changes{v2.06a}{2019/07/17}{neu}^^A
% \begin{macro}{\tud at v@last}
% \changes{v2.02}{2014/08/22}{neu}^^A
% \changes{v2.03}{2015/01/13}{angepasst}^^A
@@ -428,9 +430,11 @@
\csdef{tud at v@2.05m}{3}
\csdef{tud at v@2.06}{4}
\csdef{tud at v@2.06a}{4}
+\csdef{tud at v@2.06b}{4}
\csdef{tud at v@last}{4}
% \end{macrocode}
% \end{macro}^^A \tud at v@last
+% \end{macro}^^A \tud at v@2.06b
% \end{macro}^^A \tud at v@2.06a
% \end{macro}^^A \tud at v@2.06
% \end{macro}^^A \tud at v@2.05m
Modified: trunk/Master/texmf-dist/source/latex/tudscr/tudscr-fonts.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tudscr/tudscr-fonts.dtx 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/source/latex/tudscr/tudscr-fonts.dtx 2019-07-18 20:33:55 UTC (rev 51662)
@@ -1,4 +1,4 @@
-% \CheckSum{3088}
+% \CheckSum{3083}
% \iffalse meta-comment
%
% TUD-Script -- Corporate Design of Technische Universität Dresden
@@ -52,7 +52,7 @@
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
% \fi
%
-\ProvidesFile{tudscr-fonts.dtx}[2019/07/09 v2.06a TUD-Script\space%
+\ProvidesFile{tudscr-fonts.dtx}[2019/07/17 v2.06b TUD-Script\space%
%
% \iffalse
%</dtx>
@@ -361,8 +361,10 @@
% \changes{v2.04}{2015/03/10}{neu}^^A
% \begin{macro}{\tud at cdfont@@check}
% \changes{v2.06}{2018/07/12}{Auswahl der Schriftfamilie angepasst}^^A
+% \changes{v2.06b}{2019/07/17}{Verwendung von \cs{tud at if@fdfileexists}}^^A
% \begin{macro}{\tud at cdfont@@@check}
% \changes{v2.06}{2019/06/18}{neu}^^A
+% \changes{v2.06b}{2019/07/17}{Verwendung von \cs{tud at if@fdfileexists}}^^A
% \begin{macro}{\tud at cdfont@missing}
% \changes{v2.05l}{2017/03/29}{neu}^^A
% Mit \cs{tud at cdfont@check} wird geprüft, ob die Schrift \OpenSans respektive
@@ -443,7 +445,6 @@
% Fließtext für die aktuelle Kodierung im gleichen Maße geprüft.
% \begin{macrocode}
\def\tud at res@b##1##2{%
- \begingroup%
% \end{macrocode}
% Der Schalter \cs{if at tud@res at swa} wird \val{false} gesetzt, falls die Schrift
% gefunden wurde. Der zu prüfenden Schriftname wird dabei in unterschiedlichen
@@ -450,28 +451,17 @@
% Varianten getestet, da \cs{IfFileExists} auf unixoiden Betriebssystemen
% case-sensitiv ist.
% \begin{macrocode}
- \@tud at res@swatrue%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \if at tud@res at swa%
- \tud at lowerstring\tud at res@b{##1}%
- \edef\tud at res@b{\tud at res@b##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \if at tud@res at swa%
- \edef\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
+ \tud at if@fdfileexists{##1}{##2}{}{%
% \end{macrocode}
% Existiert die Schrift nicht, wird die entsprechende Warnung ausgegeben.
% \begin{macrocode}
- \edef\tud at res@a{%
- \endgroup%
- \if at tud@res at swa%
- \noexpand\tud at res@a{\tud at res@b}%
- \fi%
- }%
- \tud at res@a%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1##2.fd}%
+ }%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#4}\do{\tud at res@b{\encodingdefault}{\tud at res@c}}%
\fi%
@@ -496,15 +486,14 @@
\tud at cdfont@missing[##1]{##2}{\tud at cdmath@wrn}%
}%
\def\tud at res@b##1##2{%
- \begingroup%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \edef\tud at res@a{%
- \endgroup%
- \noexpand\IfFileExists{\tud at res@b}{}{%
- \noexpand\tud at res@a{##1}{\tud at res@b}%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1}{##1##2.fd}%
}%
- }%
- \tud at res@a%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#1}\do{\tud at res@b{\tud at res@c}{#2}}%
% \end{macrocode}
@@ -2566,7 +2555,7 @@
}%
\SetSymbolFont{tudupgrk}{bold}{LGR}{#1}{#3}{#4}%
\tud at if@issymbolfont{tuditgrk}{%
- \SetSymbolFont{tudupgrk}{normal}{LGR}{#1}{#2}{#5}%
+ \SetSymbolFont{tuditgrk}{normal}{LGR}{#1}{#2}{#5}%
}{%
\DeclareSymbolFont{tuditgrk}{LGR}{#1}{#2}{#5}%
}%
@@ -2816,13 +2805,13 @@
% \begin{macrocode}
\let\tud at res@a\@empty%
\if at tud@lgrgreeks%
- \IfFileExists{lgr\tud at cs@use{familydefault}.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at cs@use{familydefault}}{%
\def\tud at res@a{\tud at cs@use{familydefault}}%
}{%
- \IfFileExists{lgr\tud at math@letters at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@letters at fam}{%
\let\tud at res@a\tud at math@letters at fam%
}{%
- \IfFileExists{lgr\tud at math@operators at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@operators at fam}{%
\let\tud at res@a\tud at math@operators at fam%
}{}%
}%
@@ -2849,6 +2838,12 @@
{\tud at cs@use{updefault}}{\tud at cs@use{itdefault}}%
\let\tud at res@c\@empty%
\def\tud at res@b##1##2{%
+ \ifcsundef{up##1}{%
+ \eappto\tud at res@c{%
+ \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
+ {\noexpand\mathalpha}{tudupgrk}{##2}%
+ }%
+ }{}%
\ifcsundef{it##1}{%
\eappto\tud at res@c{%
\noexpand\DeclareMathSymbol{\csname it##1\endcsname}%
@@ -2855,12 +2850,6 @@
{\noexpand\mathalpha}{tuditgrk}{##2}%
}%
}{}%
- \ifcsundef{up##1}{%
- \eappto\tud at res@c{%
- \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
- {\noexpand\mathalpha}{tudupgrk}{##2}%
- }%
- }{}%
}%
\tud at res@b{Gamma}{71}%
\tud at res@b{Delta}{68}%
@@ -3150,15 +3139,44 @@
% Für die Schriftfamilie \OpenSans existieren leider bisher keine Kodierung für
% den Mathematikmodus (\val{OML}, \val{OMS}, \val{OMX}), weshalb hierfür das
% Paket \pkg{mathastext} genutzt wird, um trotzdem einen mathematischen Satz zu
-% ermöglichen.
+% ermöglichen. Dabei wird die Computer~Modern in der \val{LGR}~Kodierung
+% zwingend benötigt.
% \begin{macrocode}
+ \@tud at res@swafalse%
\if at tud@cdfont at fam@exist%
+ \@tud at res@swatrue%
\if at tud@cdoldfont at active\else%
+ \tud at if@fdfileexists{LGR}{cmr}{}{%
+ \@tud at res@swafalse%
+ \def\tud at res@a{%
+%<*class>
+ \ClassWarningNoLine{\TUD at Class@Name}%
+%</class>
+%<*package>
+ \PackageWarningNoLine{tudscrfonts}%
+%</package>
+ {%
+ 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 at tud@cdmath at active%
+ \tud at res@a%
+ \else%
+ \eappto\tud at cdmath@wrn{\expandonce\tud at res@a}%
+ \fi%
+ }%
+ \fi%
+ \fi%
% \end{macrocode}
-% Um die Mathematikschriften suaber zu definieren, ist das Laden von bestimmten
+% Um die Mathematikschriften sauber zu definieren, ist das Laden von bestimmten
% Paketen durch den Anwender ungünstig. Deshalb wird für diesen Fall eine
% Warnung ausgegeben.
% \begin{macrocode}
+ \if at tud@res at swa%
+ \if at tud@cdoldfont at active\else%
\if at tud@cdmath at active%
\def\tud at res@a##1{%
%<*class>
Modified: trunk/Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx 2019-07-18 20:33:55 UTC (rev 51662)
@@ -1,4 +1,4 @@
-% \CheckSum{4472}
+% \CheckSum{4470}
% \iffalse meta-comment
%
% TUD-Script -- Corporate Design of Technische Universität Dresden
@@ -52,7 +52,7 @@
% \fi
%
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
-\ProvidesFile{tudscr-manual.dtx}[2019/06/28 v2.06 TUD-Script\space%
+\ProvidesFile{tudscr-manual.dtx}[2019/07/17 v2.06b TUD-Script\space%
%
% \iffalse
%</dtx>
@@ -191,9 +191,6 @@
% \begin{macrocode}
\newcommand*\tud at english[1]{#1}
\AtBeginDocument{%
-%<*doc>
- \providecommand*\iflanguageloaded[3]{#3}%
-%</doc>
\iflanguageloaded{english}{%
\renewcommand*\tud at english[1]{\foreignlanguage{english}{#1}}%
}{}%
Modified: trunk/Master/texmf-dist/source/latex/tudscr/tudscr-version.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tudscr/tudscr-version.dtx 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/source/latex/tudscr/tudscr-version.dtx 2019-07-18 20:33:55 UTC (rev 51662)
@@ -1,4 +1,4 @@
-% \CheckSum{147}
+% \CheckSum{135}
% \iffalse meta-comment
%
% TUD-Script -- Corporate Design of Technische Universität Dresden
@@ -128,10 +128,7 @@
%<*!(package|class)>
\fi
%</!(package|class)>
-% \end{macrocode}
-% \ToDo{Version eintragen}[Release]
-% \begin{macrocode}
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
% \end{macrocode}
% \end{macro}^^A \TUDScriptVersionNumber
@@ -310,19 +307,12 @@
%<*package|class>
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
-%<*!doc>
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
-%</!doc>
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
-%<*!doc>
- }%
-%</!doc>
- \expandafter\endgroup\tud at res@a%
- \csname xspace\endcsname%
+ \textsf{%
+ T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script%
+ }%
+ \ifcsname xspace\endcsname%
+ \xspace%
+ \fi%
}%
}{}
%</package|class>
Modified: trunk/Master/texmf-dist/source/latex/tudscr/tudscr.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/tudscr/tudscr.ins 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/source/latex/tudscr/tudscr.ins 2019-07-18 20:33:55 UTC (rev 51662)
@@ -81,6 +81,7 @@
\file{tudscrbook.cls}{%
\from{tudscr-version.dtx}{class,book}%
\from{tudscr-base.dtx}{class,book,load}%
+ \from{tudscr-base.dtx}{class,book,option}%
\from{tudscr-fonts.dtx}{class,book,option}%
\from{tudscr-area.dtx}{class,book,option}%
\from{tudscr-pagestyle.dtx}{class,book,option}%
@@ -105,6 +106,7 @@
\file{tudscrreprt.cls}{%
\from{tudscr-version.dtx}{class,report}%
\from{tudscr-base.dtx}{class,report,load}%
+ \from{tudscr-base.dtx}{class,report,option}%
\from{tudscr-fonts.dtx}{class,report,option}%
\from{tudscr-area.dtx}{class,report,option}%
\from{tudscr-pagestyle.dtx}{class,report,option}%
@@ -129,6 +131,7 @@
\file{tudscrartcl.cls}{%
\from{tudscr-version.dtx}{class,article}%
\from{tudscr-base.dtx}{class,article,load}%
+ \from{tudscr-base.dtx}{class,article,option}%
\from{tudscr-fonts.dtx}{class,article,option}%
\from{tudscr-area.dtx}{class,article,option}%
\from{tudscr-pagestyle.dtx}{class,article,option}%
@@ -153,6 +156,7 @@
\file{tudscrposter.cls}{%
\from{tudscr-version.dtx}{class,poster}%
\from{tudscr-base.dtx}{class,poster,load}%
+ \from{tudscr-base.dtx}{class,poster,option}%
\from{tudscr-fonts.dtx}{class,poster,option}%
\from{tudscr-area.dtx}{class,poster,option}%
\from{tudscr-pagestyle.dtx}{class,poster,option}%
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/fix-tudscrfonts.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/fix-tudscrfonts.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/fix-tudscrfonts.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -15,7 +15,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 at outlook.com>, 2012-2019
%%
@@ -58,26 +58,23 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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-comp.dtx
\ProvidesPackage{fix-tudscrfonts}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package for font fixes
(compatibility for old tud(scr) classes)%
]
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/mathswap.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/mathswap.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/mathswap.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -8,7 +8,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 at outlook.com>, 2012-2019
%%
@@ -29,7 +29,7 @@
%%% From File: tudscr-mathswap.dtx
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mathswap}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(swap mathematical separators)%
]
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrartcl.cls 2019-07-18 20:33:55 UTC (rev 51662)
@@ -6,6 +6,7 @@
%%
%% tudscr-version.dtx (with options: `class,article')
%% tudscr-base.dtx (with options: `class,article,load')
+%% tudscr-base.dtx (with options: `class,article,option')
%% tudscr-fonts.dtx (with options: `class,article,option')
%% tudscr-area.dtx (with options: `class,article,option')
%% tudscr-pagestyle.dtx (with options: `class,article,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 at outlook.com>, 2012-2019
%%
@@ -72,13 +73,13 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\newcommand*\TUD at ProvidesClass[3]{%
\ProvidesClass{#1}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD at Class@KOMA{#2}%
@@ -102,15 +103,12 @@
\providecommand*\TUDClassName{\TUDScriptClassName}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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
@@ -117,6 +115,18 @@
\RequirePackage{tudscrbase}[\TUD at Version]
\renewcommand*\TUD at KOMAoptions[1]{\PassOptionsToClass{#1}{\TUD at Class@KOMA}}
\AfterClass{\TUD at Class@KOMA}{\let\TUD at KOMAoptions\KOMAoptions}
+%%% From File: tudscr-base.dtx
+\newcommand*\tud at komafont@set[2]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{#2\nobreak}%
+}
+\newcommand*\tud at komafont@unset[1]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{\relax}%
+}
+\newcommand*\tud at komafont@reset[1]{%
+ \ifcsdef{tud at komafont@#1}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}{}%
+}
%%% From File: tudscr-fonts.dtx
\PreventPackageFromLoading[%
\ClassWarning{\TUD at Class@Name}{%
@@ -1175,6 +1185,7 @@
\csdef{tud at v@2.05m}{3}
\csdef{tud at v@2.06}{4}
\csdef{tud at v@2.06a}{4}
+\csdef{tud at v@2.06b}{4}
\csdef{tud at v@last}{4}
\newcommand*\tud at v@get[2]{%
\begingroup%
@@ -1529,26 +1540,14 @@
}%
\else%
\def\tud at res@b##1##2{%
- \begingroup%
- \@tud at res@swatrue%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \if at tud@res at swa%
- \tud at lowerstring\tud at res@b{##1}%
- \edef\tud at res@b{\tud at res@b##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \if at tud@res at swa%
- \edef\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \edef\tud at res@a{%
- \endgroup%
- \if at tud@res at swa%
- \noexpand\tud at res@a{\tud at res@b}%
- \fi%
- }%
- \tud at res@a%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1##2.fd}%
+ }%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#4}\do{\tud at res@b{\encodingdefault}{\tud at res@c}}%
\fi%
@@ -1565,15 +1564,14 @@
\tud at cdfont@missing[##1]{##2}{\tud at cdmath@wrn}%
}%
\def\tud at res@b##1##2{%
- \begingroup%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \edef\tud at res@a{%
- \endgroup%
- \noexpand\IfFileExists{\tud at res@b}{}{%
- \noexpand\tud at res@a{##1}{\tud at res@b}%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1}{##1##2.fd}%
}%
- }%
- \tud at res@a%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#1}\do{\tud at res@b{\tud at res@c}{#2}}%
\if at tud@res at swa\else%
@@ -2448,7 +2446,7 @@
}%
\SetSymbolFont{tudupgrk}{bold}{LGR}{#1}{#3}{#4}%
\tud at if@issymbolfont{tuditgrk}{%
- \SetSymbolFont{tudupgrk}{normal}{LGR}{#1}{#2}{#5}%
+ \SetSymbolFont{tuditgrk}{normal}{LGR}{#1}{#2}{#5}%
}{%
\DeclareSymbolFont{tuditgrk}{LGR}{#1}{#2}{#5}%
}%
@@ -2533,13 +2531,13 @@
}{}%
\let\tud at res@a\@empty%
\if at tud@lgrgreeks%
- \IfFileExists{lgr\tud at cs@use{familydefault}.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at cs@use{familydefault}}{%
\def\tud at res@a{\tud at cs@use{familydefault}}%
}{%
- \IfFileExists{lgr\tud at math@letters at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@letters at fam}{%
\let\tud at res@a\tud at math@letters at fam%
}{%
- \IfFileExists{lgr\tud at math@operators at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@operators at fam}{%
\let\tud at res@a\tud at math@operators at fam%
}{}%
}%
@@ -2557,6 +2555,12 @@
{\tud at cs@use{updefault}}{\tud at cs@use{itdefault}}%
\let\tud at res@c\@empty%
\def\tud at res@b##1##2{%
+ \ifcsundef{up##1}{%
+ \eappto\tud at res@c{%
+ \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
+ {\noexpand\mathalpha}{tudupgrk}{##2}%
+ }%
+ }{}%
\ifcsundef{it##1}{%
\eappto\tud at res@c{%
\noexpand\DeclareMathSymbol{\csname it##1\endcsname}%
@@ -2563,12 +2567,6 @@
{\noexpand\mathalpha}{tuditgrk}{##2}%
}%
}{}%
- \ifcsundef{up##1}{%
- \eappto\tud at res@c{%
- \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
- {\noexpand\mathalpha}{tudupgrk}{##2}%
- }%
- }{}%
}%
\tud at res@b{Gamma}{71}%
\tud at res@b{Delta}{68}%
@@ -2668,8 +2666,31 @@
}%
}
\newcommand*\tud at cdmath@init{%
+ \@tud at res@swafalse%
\if at tud@cdfont at fam@exist%
+ \@tud at res@swatrue%
\if at tud@cdoldfont at active\else%
+ \tud at if@fdfileexists{LGR}{cmr}{}{%
+ \@tud at res@swafalse%
+ \def\tud at res@a{%
+ \ClassWarningNoLine{\TUD at 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 at tud@cdmath at active%
+ \tud at res@a%
+ \else%
+ \eappto\tud at cdmath@wrn{\expandonce\tud at res@a}%
+ \fi%
+ }%
+ \fi%
+ \fi%
+ \if at tud@res at swa%
+ \if at tud@cdoldfont at active\else%
\if at tud@cdmath at active%
\def\tud at res@a##1{%
\ClassWarningNoLine{\TUD at Class@Name}%
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -9,7 +9,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 at outlook.com>, 2012-2019
%%
@@ -52,26 +52,23 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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
\ProvidesPackage{tudscrbase}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(basics for the bundle)%
]
@@ -165,17 +162,27 @@
\expandafter\def\expandafter #1\expandafter{#1}%
}%
}
-\newcommand*\tud at komafont@set[2]{%
- \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
- \csdef{tud at komafont@#1}{#2\nobreak}%
+\newcommand*\tud at if@fdfileexists[2]{%
+ \begingroup%
+ \@tud at res@swatrue%
+ \tud at lowerstring\tud at res@a{#1#2.fd}%
+ \IfFileExists{\tud at res@a}{\@tud at res@swafalse}{}%
+ \if at tud@res at swa%
+ \tud at lowerstring\tud at res@a{#1}%
+ \edef\tud at res@a{\tud at res@a#2.fd}%
+ \IfFileExists{\tud at res@a}{\@tud at res@swafalse}{}%
+ \fi%
+ \if at tud@res at swa%
+ \edef\tud at res@a{#1#2.fd}%
+ \IfFileExists{\tud at res@a}{\@tud at res@swafalse}{}%
+ \fi%
+ \if at tud@res at swa%
+ \aftergroup\@secondoftwo%
+ \else%
+ \aftergroup\@firstoftwo%
+ \fi%
+ \endgroup%
}
-\newcommand*\tud at komafont@unset[1]{%
- \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
- \csdef{tud at komafont@#1}{\relax}%
-}
-\newcommand*\tud at komafont@reset[1]{%
- \ifcsdef{tud at komafont@#1}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}{}%
-}
\DefineFamily{TUD}
\newcommand*\TUDProcessOptions{\FamilyProcessOptions{TUD}}
\newcommand*\TUDExecuteOptions{\FamilyExecuteOptions{TUD}}
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls 2019-07-18 20:33:55 UTC (rev 51662)
@@ -6,6 +6,7 @@
%%
%% tudscr-version.dtx (with options: `class,book')
%% tudscr-base.dtx (with options: `class,book,load')
+%% tudscr-base.dtx (with options: `class,book,option')
%% tudscr-fonts.dtx (with options: `class,book,option')
%% tudscr-area.dtx (with options: `class,book,option')
%% tudscr-pagestyle.dtx (with options: `class,book,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 at outlook.com>, 2012-2019
%%
@@ -72,13 +73,13 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\newcommand*\TUD at ProvidesClass[3]{%
\ProvidesClass{#1}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD at Class@KOMA{#2}%
@@ -102,15 +103,12 @@
\providecommand*\TUDClassName{\TUDScriptClassName}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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
@@ -117,6 +115,18 @@
\RequirePackage{tudscrbase}[\TUD at Version]
\renewcommand*\TUD at KOMAoptions[1]{\PassOptionsToClass{#1}{\TUD at Class@KOMA}}
\AfterClass{\TUD at Class@KOMA}{\let\TUD at KOMAoptions\KOMAoptions}
+%%% From File: tudscr-base.dtx
+\newcommand*\tud at komafont@set[2]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{#2\nobreak}%
+}
+\newcommand*\tud at komafont@unset[1]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{\relax}%
+}
+\newcommand*\tud at komafont@reset[1]{%
+ \ifcsdef{tud at komafont@#1}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}{}%
+}
%%% From File: tudscr-fonts.dtx
\PreventPackageFromLoading[%
\ClassWarning{\TUD at Class@Name}{%
@@ -1243,6 +1253,7 @@
\csdef{tud at v@2.05m}{3}
\csdef{tud at v@2.06}{4}
\csdef{tud at v@2.06a}{4}
+\csdef{tud at v@2.06b}{4}
\csdef{tud at v@last}{4}
\newcommand*\tud at v@get[2]{%
\begingroup%
@@ -1608,26 +1619,14 @@
}%
\else%
\def\tud at res@b##1##2{%
- \begingroup%
- \@tud at res@swatrue%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \if at tud@res at swa%
- \tud at lowerstring\tud at res@b{##1}%
- \edef\tud at res@b{\tud at res@b##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \if at tud@res at swa%
- \edef\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \edef\tud at res@a{%
- \endgroup%
- \if at tud@res at swa%
- \noexpand\tud at res@a{\tud at res@b}%
- \fi%
- }%
- \tud at res@a%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1##2.fd}%
+ }%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#4}\do{\tud at res@b{\encodingdefault}{\tud at res@c}}%
\fi%
@@ -1644,15 +1643,14 @@
\tud at cdfont@missing[##1]{##2}{\tud at cdmath@wrn}%
}%
\def\tud at res@b##1##2{%
- \begingroup%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \edef\tud at res@a{%
- \endgroup%
- \noexpand\IfFileExists{\tud at res@b}{}{%
- \noexpand\tud at res@a{##1}{\tud at res@b}%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1}{##1##2.fd}%
}%
- }%
- \tud at res@a%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#1}\do{\tud at res@b{\tud at res@c}{#2}}%
\if at tud@res at swa\else%
@@ -2527,7 +2525,7 @@
}%
\SetSymbolFont{tudupgrk}{bold}{LGR}{#1}{#3}{#4}%
\tud at if@issymbolfont{tuditgrk}{%
- \SetSymbolFont{tudupgrk}{normal}{LGR}{#1}{#2}{#5}%
+ \SetSymbolFont{tuditgrk}{normal}{LGR}{#1}{#2}{#5}%
}{%
\DeclareSymbolFont{tuditgrk}{LGR}{#1}{#2}{#5}%
}%
@@ -2612,13 +2610,13 @@
}{}%
\let\tud at res@a\@empty%
\if at tud@lgrgreeks%
- \IfFileExists{lgr\tud at cs@use{familydefault}.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at cs@use{familydefault}}{%
\def\tud at res@a{\tud at cs@use{familydefault}}%
}{%
- \IfFileExists{lgr\tud at math@letters at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@letters at fam}{%
\let\tud at res@a\tud at math@letters at fam%
}{%
- \IfFileExists{lgr\tud at math@operators at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@operators at fam}{%
\let\tud at res@a\tud at math@operators at fam%
}{}%
}%
@@ -2636,6 +2634,12 @@
{\tud at cs@use{updefault}}{\tud at cs@use{itdefault}}%
\let\tud at res@c\@empty%
\def\tud at res@b##1##2{%
+ \ifcsundef{up##1}{%
+ \eappto\tud at res@c{%
+ \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
+ {\noexpand\mathalpha}{tudupgrk}{##2}%
+ }%
+ }{}%
\ifcsundef{it##1}{%
\eappto\tud at res@c{%
\noexpand\DeclareMathSymbol{\csname it##1\endcsname}%
@@ -2642,12 +2646,6 @@
{\noexpand\mathalpha}{tuditgrk}{##2}%
}%
}{}%
- \ifcsundef{up##1}{%
- \eappto\tud at res@c{%
- \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
- {\noexpand\mathalpha}{tudupgrk}{##2}%
- }%
- }{}%
}%
\tud at res@b{Gamma}{71}%
\tud at res@b{Delta}{68}%
@@ -2747,8 +2745,31 @@
}%
}
\newcommand*\tud at cdmath@init{%
+ \@tud at res@swafalse%
\if at tud@cdfont at fam@exist%
+ \@tud at res@swatrue%
\if at tud@cdoldfont at active\else%
+ \tud at if@fdfileexists{LGR}{cmr}{}{%
+ \@tud at res@swafalse%
+ \def\tud at res@a{%
+ \ClassWarningNoLine{\TUD at 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 at tud@cdmath at active%
+ \tud at res@a%
+ \else%
+ \eappto\tud at cdmath@wrn{\expandonce\tud at res@a}%
+ \fi%
+ }%
+ \fi%
+ \fi%
+ \if at tud@res at swa%
+ \if at tud@cdoldfont at active\else%
\if at tud@cdmath at active%
\def\tud at res@a##1{%
\ClassWarningNoLine{\TUD at Class@Name}%
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcolor.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcolor.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcolor.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -9,7 +9,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 at outlook.com>, 2012-2019
%%
@@ -52,26 +52,23 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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-color.dtx
\ProvidesPackage{tudscrcolor}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(corporate design colors)%
]
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -12,7 +12,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 at outlook.com>, 2012-2019
%%
@@ -55,7 +55,7 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
@@ -70,20 +70,17 @@
\fi
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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-comp.dtx
\ProvidesPackage{tudscrcomp-book}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(compatibility for old tud(scr) classes)%
]
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -12,7 +12,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 at outlook.com>, 2012-2019
%%
@@ -55,7 +55,7 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
@@ -70,20 +70,17 @@
\fi
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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-comp.dtx
\ProvidesPackage{tudscrcomp-poster}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(compatibility for old tud(scr) classes)%
]
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -9,7 +9,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 at outlook.com>, 2012-2019
%%
@@ -52,7 +52,7 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
@@ -67,20 +67,17 @@
\fi
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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-comp.dtx
\ProvidesPackage{tudscrcomp}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(compatibility for old tud(scr) classes)%
]
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrdoc.cls 2019-07-18 20:33:55 UTC (rev 51662)
@@ -14,7 +14,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 at outlook.com>, 2012-2019
%%
@@ -57,13 +57,13 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\newcommand*\TUD at ProvidesClass[3]{%
\ProvidesClass{#1}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD at Class@KOMA{#2}%
@@ -87,11 +87,12 @@
\providecommand*\TUDClassName{\TUDScriptClassName}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- \expandafter\endgroup\tud at 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
@@ -270,7 +271,6 @@
\newcommand*\vKOMAScript{v\TUD at Version@KOMA}
\newcommand*\tud at english[1]{#1}
\AtBeginDocument{%
- \providecommand*\iflanguageloaded[3]{#3}%
\iflanguageloaded{english}{%
\renewcommand*\tud at english[1]{\foreignlanguage{english}{#1}}%
}{}%
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -17,7 +17,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 at outlook.com>, 2012-2019
%%
@@ -60,26 +60,23 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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-fonts.dtx
\ProvidesPackage{tudscrfonts}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(corporate design fonts)%
]
@@ -510,6 +507,7 @@
\csdef{tud at v@2.05m}{3}
\csdef{tud at v@2.06}{4}
\csdef{tud at v@2.06a}{4}
+\csdef{tud at v@2.06b}{4}
\csdef{tud at v@last}{4}
\newcommand*\tud at v@get[2]{%
\begingroup%
@@ -768,26 +766,14 @@
}%
\else%
\def\tud at res@b##1##2{%
- \begingroup%
- \@tud at res@swatrue%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \if at tud@res at swa%
- \tud at lowerstring\tud at res@b{##1}%
- \edef\tud at res@b{\tud at res@b##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \if at tud@res at swa%
- \edef\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \edef\tud at res@a{%
- \endgroup%
- \if at tud@res at swa%
- \noexpand\tud at res@a{\tud at res@b}%
- \fi%
- }%
- \tud at res@a%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1##2.fd}%
+ }%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#4}\do{\tud at res@b{\encodingdefault}{\tud at res@c}}%
\fi%
@@ -804,15 +790,14 @@
\tud at cdfont@missing[##1]{##2}{\tud at cdmath@wrn}%
}%
\def\tud at res@b##1##2{%
- \begingroup%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \edef\tud at res@a{%
- \endgroup%
- \noexpand\IfFileExists{\tud at res@b}{}{%
- \noexpand\tud at res@a{##1}{\tud at res@b}%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1}{##1##2.fd}%
}%
- }%
- \tud at res@a%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#1}\do{\tud at res@b{\tud at res@c}{#2}}%
\if at tud@res at swa\else%
@@ -1693,7 +1678,7 @@
}%
\SetSymbolFont{tudupgrk}{bold}{LGR}{#1}{#3}{#4}%
\tud at if@issymbolfont{tuditgrk}{%
- \SetSymbolFont{tudupgrk}{normal}{LGR}{#1}{#2}{#5}%
+ \SetSymbolFont{tuditgrk}{normal}{LGR}{#1}{#2}{#5}%
}{%
\DeclareSymbolFont{tuditgrk}{LGR}{#1}{#2}{#5}%
}%
@@ -1778,13 +1763,13 @@
}{}%
\let\tud at res@a\@empty%
\if at tud@lgrgreeks%
- \IfFileExists{lgr\tud at cs@use{familydefault}.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at cs@use{familydefault}}{%
\def\tud at res@a{\tud at cs@use{familydefault}}%
}{%
- \IfFileExists{lgr\tud at math@letters at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@letters at fam}{%
\let\tud at res@a\tud at math@letters at fam%
}{%
- \IfFileExists{lgr\tud at math@operators at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@operators at fam}{%
\let\tud at res@a\tud at math@operators at fam%
}{}%
}%
@@ -1802,6 +1787,12 @@
{\tud at cs@use{updefault}}{\tud at cs@use{itdefault}}%
\let\tud at res@c\@empty%
\def\tud at res@b##1##2{%
+ \ifcsundef{up##1}{%
+ \eappto\tud at res@c{%
+ \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
+ {\noexpand\mathalpha}{tudupgrk}{##2}%
+ }%
+ }{}%
\ifcsundef{it##1}{%
\eappto\tud at res@c{%
\noexpand\DeclareMathSymbol{\csname it##1\endcsname}%
@@ -1808,12 +1799,6 @@
{\noexpand\mathalpha}{tuditgrk}{##2}%
}%
}{}%
- \ifcsundef{up##1}{%
- \eappto\tud at res@c{%
- \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
- {\noexpand\mathalpha}{tudupgrk}{##2}%
- }%
- }{}%
}%
\tud at res@b{Gamma}{71}%
\tud at res@b{Delta}{68}%
@@ -1913,8 +1898,31 @@
}%
}
\newcommand*\tud at cdmath@init{%
+ \@tud at res@swafalse%
\if at tud@cdfont at fam@exist%
+ \@tud at res@swatrue%
\if at tud@cdoldfont at active\else%
+ \tud at if@fdfileexists{LGR}{cmr}{}{%
+ \@tud at res@swafalse%
+ \def\tud at res@a{%
+ \PackageWarningNoLine{tudscrfonts}%
+ {%
+ 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 at tud@cdmath at active%
+ \tud at res@a%
+ \else%
+ \eappto\tud at cdmath@wrn{\expandonce\tud at res@a}%
+ \fi%
+ }%
+ \fi%
+ \fi%
+ \if at tud@res at swa%
+ \if at tud@cdoldfont at active\else%
\if at tud@cdmath at active%
\def\tud at res@a##1{%
\PackageWarningNoLine{tudscrfonts}%
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrmanual.cls 2019-07-18 20:33:55 UTC (rev 51662)
@@ -16,7 +16,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 at outlook.com>, 2012-2019
%%
@@ -59,13 +59,13 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\newcommand*\TUD at ProvidesWrapperClass[3]{%
\ProvidesClass{#1}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD at Class@Parent{#2}%
@@ -87,15 +87,12 @@
\providecommand*\TUDClassName{\TUDScriptClassName}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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-manual.dtx
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrposter.cls 2019-07-18 20:33:55 UTC (rev 51662)
@@ -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 at outlook.com>, 2012-2019
%%
@@ -72,13 +73,13 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\newcommand*\TUD at ProvidesClass[3]{%
\ProvidesClass{#1}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD at Class@KOMA{#2}%
@@ -102,15 +103,12 @@
\providecommand*\TUDClassName{\TUDScriptClassName}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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
@@ -117,6 +115,18 @@
\RequirePackage{tudscrbase}[\TUD at Version]
\renewcommand*\TUD at KOMAoptions[1]{\PassOptionsToClass{#1}{\TUD at Class@KOMA}}
\AfterClass{\TUD at Class@KOMA}{\let\TUD at KOMAoptions\KOMAoptions}
+%%% From File: tudscr-base.dtx
+\newcommand*\tud at komafont@set[2]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{#2\nobreak}%
+}
+\newcommand*\tud at komafont@unset[1]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{\relax}%
+}
+\newcommand*\tud at komafont@reset[1]{%
+ \ifcsdef{tud at komafont@#1}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}{}%
+}
%%% From File: tudscr-fonts.dtx
\PreventPackageFromLoading[%
\ClassWarning{\TUD at Class@Name}{%
@@ -1081,6 +1091,7 @@
\csdef{tud at v@2.05m}{3}
\csdef{tud at v@2.06}{4}
\csdef{tud at v@2.06a}{4}
+\csdef{tud at v@2.06b}{4}
\csdef{tud at v@last}{4}
\newcommand*\tud at v@get[2]{%
\begingroup%
@@ -1435,26 +1446,14 @@
}%
\else%
\def\tud at res@b##1##2{%
- \begingroup%
- \@tud at res@swatrue%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \if at tud@res at swa%
- \tud at lowerstring\tud at res@b{##1}%
- \edef\tud at res@b{\tud at res@b##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \if at tud@res at swa%
- \edef\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \edef\tud at res@a{%
- \endgroup%
- \if at tud@res at swa%
- \noexpand\tud at res@a{\tud at res@b}%
- \fi%
- }%
- \tud at res@a%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1##2.fd}%
+ }%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#4}\do{\tud at res@b{\encodingdefault}{\tud at res@c}}%
\fi%
@@ -1471,15 +1470,14 @@
\tud at cdfont@missing[##1]{##2}{\tud at cdmath@wrn}%
}%
\def\tud at res@b##1##2{%
- \begingroup%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \edef\tud at res@a{%
- \endgroup%
- \noexpand\IfFileExists{\tud at res@b}{}{%
- \noexpand\tud at res@a{##1}{\tud at res@b}%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1}{##1##2.fd}%
}%
- }%
- \tud at res@a%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#1}\do{\tud at res@b{\tud at res@c}{#2}}%
\if at tud@res at swa\else%
@@ -2354,7 +2352,7 @@
}%
\SetSymbolFont{tudupgrk}{bold}{LGR}{#1}{#3}{#4}%
\tud at 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 at res@a\@empty%
\if at tud@lgrgreeks%
- \IfFileExists{lgr\tud at cs@use{familydefault}.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at cs@use{familydefault}}{%
\def\tud at res@a{\tud at cs@use{familydefault}}%
}{%
- \IfFileExists{lgr\tud at math@letters at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@letters at fam}{%
\let\tud at res@a\tud at math@letters at fam%
}{%
- \IfFileExists{lgr\tud at math@operators at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@operators at fam}{%
\let\tud at res@a\tud at math@operators at fam%
}{}%
}%
@@ -2463,6 +2461,12 @@
{\tud at cs@use{updefault}}{\tud at cs@use{itdefault}}%
\let\tud at res@c\@empty%
\def\tud at res@b##1##2{%
+ \ifcsundef{up##1}{%
+ \eappto\tud at res@c{%
+ \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
+ {\noexpand\mathalpha}{tudupgrk}{##2}%
+ }%
+ }{}%
\ifcsundef{it##1}{%
\eappto\tud at res@c{%
\noexpand\DeclareMathSymbol{\csname it##1\endcsname}%
@@ -2469,12 +2473,6 @@
{\noexpand\mathalpha}{tuditgrk}{##2}%
}%
}{}%
- \ifcsundef{up##1}{%
- \eappto\tud at res@c{%
- \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
- {\noexpand\mathalpha}{tudupgrk}{##2}%
- }%
- }{}%
}%
\tud at res@b{Gamma}{71}%
\tud at res@b{Delta}{68}%
@@ -2574,8 +2572,31 @@
}%
}
\newcommand*\tud at cdmath@init{%
+ \@tud at res@swafalse%
\if at tud@cdfont at fam@exist%
+ \@tud at res@swatrue%
\if at tud@cdoldfont at active\else%
+ \tud at if@fdfileexists{LGR}{cmr}{}{%
+ \@tud at res@swafalse%
+ \def\tud at res@a{%
+ \ClassWarningNoLine{\TUD at 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 at tud@cdmath at active%
+ \tud at res@a%
+ \else%
+ \eappto\tud at cdmath@wrn{\expandonce\tud at res@a}%
+ \fi%
+ }%
+ \fi%
+ \fi%
+ \if at tud@res at swa%
+ \if at tud@cdoldfont at active\else%
\if at tud@cdmath at active%
\def\tud at res@a##1{%
\ClassWarningNoLine{\TUD at Class@Name}%
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls 2019-07-18 20:33:55 UTC (rev 51662)
@@ -6,6 +6,7 @@
%%
%% tudscr-version.dtx (with options: `class,report')
%% tudscr-base.dtx (with options: `class,report,load')
+%% tudscr-base.dtx (with options: `class,report,option')
%% tudscr-fonts.dtx (with options: `class,report,option')
%% tudscr-area.dtx (with options: `class,report,option')
%% tudscr-pagestyle.dtx (with options: `class,report,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 at outlook.com>, 2012-2019
%%
@@ -72,13 +73,13 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
\newcommand*\TUD at ProvidesClass[3]{%
\ProvidesClass{#1}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
^^J#3 (#2)%
]%
\newcommand*\TUD at Class@KOMA{#2}%
@@ -102,15 +103,12 @@
\providecommand*\TUDClassName{\TUDScriptClassName}
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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
@@ -117,6 +115,18 @@
\RequirePackage{tudscrbase}[\TUD at Version]
\renewcommand*\TUD at KOMAoptions[1]{\PassOptionsToClass{#1}{\TUD at Class@KOMA}}
\AfterClass{\TUD at Class@KOMA}{\let\TUD at KOMAoptions\KOMAoptions}
+%%% From File: tudscr-base.dtx
+\newcommand*\tud at komafont@set[2]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{#2\nobreak}%
+}
+\newcommand*\tud at komafont@unset[1]{%
+ \ifcsdef{tud at komafont@#1}{}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}%
+ \csdef{tud at komafont@#1}{\relax}%
+}
+\newcommand*\tud at komafont@reset[1]{%
+ \ifcsdef{tud at komafont@#1}{\addtokomafont{#1}{\csuse{tud at komafont@#1}}}{}%
+}
%%% From File: tudscr-fonts.dtx
\PreventPackageFromLoading[%
\ClassWarning{\TUD at Class@Name}{%
@@ -1247,6 +1257,7 @@
\csdef{tud at v@2.05m}{3}
\csdef{tud at v@2.06}{4}
\csdef{tud at v@2.06a}{4}
+\csdef{tud at v@2.06b}{4}
\csdef{tud at v@last}{4}
\newcommand*\tud at v@get[2]{%
\begingroup%
@@ -1612,26 +1623,14 @@
}%
\else%
\def\tud at res@b##1##2{%
- \begingroup%
- \@tud at res@swatrue%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \if at tud@res at swa%
- \tud at lowerstring\tud at res@b{##1}%
- \edef\tud at res@b{\tud at res@b##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \if at tud@res at swa%
- \edef\tud at res@b{##1##2.fd}%
- \IfFileExists{\tud at res@b}{\@tud at res@swafalse}{}%
- \fi%
- \edef\tud at res@a{%
- \endgroup%
- \if at tud@res at swa%
- \noexpand\tud at res@a{\tud at res@b}%
- \fi%
- }%
- \tud at res@a%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1##2.fd}%
+ }%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#4}\do{\tud at res@b{\encodingdefault}{\tud at res@c}}%
\fi%
@@ -1648,15 +1647,14 @@
\tud at cdfont@missing[##1]{##2}{\tud at cdmath@wrn}%
}%
\def\tud at res@b##1##2{%
- \begingroup%
- \tud at lowerstring\tud at res@b{##1##2.fd}%
- \edef\tud at res@a{%
- \endgroup%
- \noexpand\IfFileExists{\tud at res@b}{}{%
- \noexpand\tud at res@a{##1}{\tud at res@b}%
+ \tud at if@fdfileexists{##1}{##2}{}{%
+ \begingroup%
+ \edef\tud at res@a{%
+ \endgroup%
+ \noexpand\tud at res@a{##1}{##1##2.fd}%
}%
- }%
- \tud at res@a%
+ \tud at res@a%
+ }%
}%
\@for\tud at res@c:={#1}\do{\tud at res@b{\tud at res@c}{#2}}%
\if at tud@res at swa\else%
@@ -2531,7 +2529,7 @@
}%
\SetSymbolFont{tudupgrk}{bold}{LGR}{#1}{#3}{#4}%
\tud at if@issymbolfont{tuditgrk}{%
- \SetSymbolFont{tudupgrk}{normal}{LGR}{#1}{#2}{#5}%
+ \SetSymbolFont{tuditgrk}{normal}{LGR}{#1}{#2}{#5}%
}{%
\DeclareSymbolFont{tuditgrk}{LGR}{#1}{#2}{#5}%
}%
@@ -2616,13 +2614,13 @@
}{}%
\let\tud at res@a\@empty%
\if at tud@lgrgreeks%
- \IfFileExists{lgr\tud at cs@use{familydefault}.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at cs@use{familydefault}}{%
\def\tud at res@a{\tud at cs@use{familydefault}}%
}{%
- \IfFileExists{lgr\tud at math@letters at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@letters at fam}{%
\let\tud at res@a\tud at math@letters at fam%
}{%
- \IfFileExists{lgr\tud at math@operators at fam.fd}{%
+ \tud at if@fdfileexists{LGR}{\tud at math@operators at fam}{%
\let\tud at res@a\tud at math@operators at fam%
}{}%
}%
@@ -2640,6 +2638,12 @@
{\tud at cs@use{updefault}}{\tud at cs@use{itdefault}}%
\let\tud at res@c\@empty%
\def\tud at res@b##1##2{%
+ \ifcsundef{up##1}{%
+ \eappto\tud at res@c{%
+ \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
+ {\noexpand\mathalpha}{tudupgrk}{##2}%
+ }%
+ }{}%
\ifcsundef{it##1}{%
\eappto\tud at res@c{%
\noexpand\DeclareMathSymbol{\csname it##1\endcsname}%
@@ -2646,12 +2650,6 @@
{\noexpand\mathalpha}{tuditgrk}{##2}%
}%
}{}%
- \ifcsundef{up##1}{%
- \eappto\tud at res@c{%
- \noexpand\DeclareMathSymbol{\csname up##1\endcsname}%
- {\noexpand\mathalpha}{tudupgrk}{##2}%
- }%
- }{}%
}%
\tud at res@b{Gamma}{71}%
\tud at res@b{Delta}{68}%
@@ -2751,8 +2749,31 @@
}%
}
\newcommand*\tud at cdmath@init{%
+ \@tud at res@swafalse%
\if at tud@cdfont at fam@exist%
+ \@tud at res@swatrue%
\if at tud@cdoldfont at active\else%
+ \tud at if@fdfileexists{LGR}{cmr}{}{%
+ \@tud at res@swafalse%
+ \def\tud at res@a{%
+ \ClassWarningNoLine{\TUD at 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 at tud@cdmath at active%
+ \tud at res@a%
+ \else%
+ \eappto\tud at cdmath@wrn{\expandonce\tud at res@a}%
+ \fi%
+ }%
+ \fi%
+ \fi%
+ \if at tud@res at swa%
+ \if at tud@cdoldfont at active\else%
\if at tud@cdmath at active%
\def\tud at res@a##1{%
\ClassWarningNoLine{\TUD at Class@Name}%
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrsupervisor.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -11,7 +11,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 at outlook.com>, 2012-2019
%%
@@ -54,7 +54,7 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
@@ -69,20 +69,17 @@
\fi
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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-supervisor.dtx
\ProvidesPackage{tudscrsupervisor}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(commands for supervisors)%
]
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/tudscrtutorial.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/tudscrtutorial.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/tudscrtutorial.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -14,7 +14,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 at outlook.com>, 2012-2019
%%
@@ -57,7 +57,7 @@
\fi%
}
\fi
- \TUD at Version@Check{2019/07/09 v2.06a TUD-Script}
+ \TUD at Version@Check{2019/07/17 v2.06b TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex at outlook.com}
@@ -72,20 +72,17 @@
\fi
\@ifundefined{TUDScript}{%
\DeclareRobustCommand\TUDScript{%
- \begingroup%
- \def\tud at res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
- \tud at ifdin{%
- \edef\tud at res@a{\tud at res@b{SCRIPT}}%
- }{%
- \edef\tud at res@a{\noexpand\textsf{\tud at res@b{Script}}}%
- }%
- \expandafter\endgroup\tud at 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-manual.dtx
\ProvidesPackage{tudscrtutorial}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(internal tutorials)%
]
Modified: trunk/Master/texmf-dist/tex/latex/tudscr/twocolfix.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tudscr/twocolfix.sty 2019-07-18 20:33:40 UTC (rev 51661)
+++ trunk/Master/texmf-dist/tex/latex/tudscr/twocolfix.sty 2019-07-18 20:33:55 UTC (rev 51662)
@@ -8,7 +8,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 at outlook.com>, 2012-2019
%%
@@ -29,7 +29,7 @@
%%% From File: tudscr-twocolfix.dtx
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{twocolfix}[%
- 2019/07/09 v2.06a TUD-Script
+ 2019/07/17 v2.06b TUD-Script
package
(twocolumn layout bugfix)%
]
More information about the tex-live-commits
mailing list