summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx')
-rw-r--r--Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx118
1 files changed, 61 insertions, 57 deletions
diff --git a/Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx b/Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx
index fad964c5039..48e0d8ee888 100644
--- a/Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx
+++ b/Master/texmf-dist/source/latex/tudscr/tudscr-comp.dtx
@@ -1,10 +1,10 @@
-% \CheckSum{1490}
+% \CheckSum{1491}
% \iffalse meta-comment
%
% TUD-Script -- Corporate Design of Technische Universität Dresden
% ----------------------------------------------------------------------------
%
-% Copyright (C) Falk Hanisch <tudscr@gmail.com>, 2012-2017
+% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2017
%
% ----------------------------------------------------------------------------
%
@@ -51,7 +51,7 @@
%<*driver>
\ifx\ProvidesFile\@undefined\def\ProvidesFile#1[#2]{}\fi
\ProvidesFile{tudscr-comp.dtx}[%
- 2017/02/04 v2.05h TUD-Script\space%
+ 2017/03/12 v2.05i TUD-Script\space%
%</driver>
%<package&identify&comp&base>\ProvidesPackage{tudscrcomp}[%
%<package&identify&comp&book>\ProvidesPackage{tudscrcomp-book}[%
@@ -113,11 +113,11 @@
%<*class|(package&fonts)>
% \fi
%
-% \begin{macro}{\TUD@key@deprecated}
+% \begin{macro}{\TUD@deprecated@key}
% \changes{v2.03}{2015/02/05}{neu}^^A
-% \begin{macro}{\TUD@cmd@deprecated}
+% \begin{macro}{\TUD@deprecated@cs}
% \changes{v2.03}{2015/02/05}{neu}^^A
-% \begin{macro}{\TUD@len@deprecated}
+% \begin{macro}{\TUD@deprecated@lengthcs}
% \changes{v2.05}{2016/06/20}{neu}^^A
% Um alte Optionen und Befehle dem Anwender bei der Verwendung kenntlich zu
% machen, werden entsprechende Warnungen definiert. Für Optionen wird dabei
@@ -125,7 +125,7 @@
% definert.
% \begin{macrocode}
%<*option>
-\newcommand*\TUD@key@deprecated[2]{%
+\newcommand*\TUD@deprecated@key[2]{%
%<*class>
\ClassWarning{\TUD@Class@Name}%
%</class>
@@ -145,7 +145,7 @@
% den alten überschrieben.
% \begin{macrocode}
%<*class&body>
-\newcommand*\TUD@cmd@deprecated[2]{%
+\newcommand*\TUD@deprecated@cs[2]{%
\AtBeginDocument{%
\ifcsundef{#1}{%
\expandafter\newrobustcmd\csname #1\endcsname{%
@@ -159,7 +159,7 @@
}{}%
}%
}
-\newcommand*\TUD@len@deprecated[2][]{%
+\newcommand*\TUD@deprecated@lengthcs[2][]{%
\ifdim\csuse{#2}<\maxdimen\relax%
\ClassWarning{\TUD@Class@Name}{%
Using the length `\@backslashchar#2' is deprecated.\MessageBreak%
@@ -173,9 +173,9 @@
}
%</class&body>
% \end{macrocode}
-% \end{macro}^^A \TUD@len@deprecated
-% \end{macro}^^A \TUD@cmd@deprecated
-% \end{macro}^^A \TUD@key@deprecated
+% \end{macro}^^A \TUD@deprecated@lengthcs
+% \end{macro}^^A \TUD@deprecated@cs
+% \end{macro}^^A \TUD@deprecated@key
%
% \iffalse
%<*option>
@@ -328,6 +328,8 @@
% \changes{v2.05g}{2017/01/26}{neu}^^A
% \begin{macro}{\tud@v@2.05h}
% \changes{v2.05h}{2017/02/04}{neu}^^A
+% \begin{macro}{\tud@v@2.05i}
+% \changes{v2.05i}{2017/02/17}{neu}^^A
% \begin{macro}{\tud@v@last}
% \changes{v2.02}{2014/08/22}{neu}^^A
% \changes{v2.03}{2015/01/13}{angepasst}^^A
@@ -359,9 +361,11 @@
\csdef{tud@v@2.05f}{3}
\csdef{tud@v@2.05g}{3}
\csdef{tud@v@2.05h}{3}
+\csdef{tud@v@2.05i}{3}
\csdef{tud@v@last}{3}
% \end{macrocode}
% \end{macro}^^A \tud@v@last
+% \end{macro}^^A \tud@v@2.05i
% \end{macro}^^A \tud@v@2.05h
% \end{macro}^^A \tud@v@2.05g
% \end{macro}^^A \tud@v@2.05f
@@ -500,9 +504,9 @@
\TUD@set@ifkey{cdfonts}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{cdfonts=#1}{cdfont=true}%
+ \TUD@deprecated@key{cdfonts=#1}{cdfont=true}%
\else%
- \TUD@key@deprecated{cdfonts=#1}{cdfont=false}%
+ \TUD@deprecated@key{cdfonts=#1}{cdfont=false}%
\fi%
\fi%
}
@@ -510,9 +514,9 @@
\TUD@set@ifkey{tudfonts}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{tudfonts=#1}{cdfont=true}%
+ \TUD@deprecated@key{tudfonts=#1}{cdfont=true}%
\else%
- \TUD@key@deprecated{tudfonts=#1}{cdfont=false}%
+ \TUD@deprecated@key{tudfonts=#1}{cdfont=false}%
\fi%
\fi%
}
@@ -526,9 +530,9 @@
\TUD@set@ifkey{heavyfont}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{heavyfont}{cdfont=heavy}%
+ \TUD@deprecated@key{heavyfont}{cdfont=heavy}%
\else%
- \TUD@key@deprecated{heavyfont=#1}{cdfont=true}%
+ \TUD@deprecated@key{heavyfont=#1}{cdfont=true}%
\fi%
\fi%
}
@@ -545,9 +549,9 @@
\TUD@set@ifkey{din}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{din}{cdfont=din}%
+ \TUD@deprecated@key{din}{cdfont=din}%
\else%
- \TUD@key@deprecated{din=#1}{cdfont=nodin}%
+ \TUD@deprecated@key{din=#1}{cdfont=nodin}%
\fi%
\fi%
}
@@ -555,9 +559,9 @@
\TUD@set@ifkey{nodin}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{nodin}{cdfont=nodin}%
+ \TUD@deprecated@key{nodin}{cdfont=nodin}%
\else%
- \TUD@key@deprecated{nodin=#1}{cdfont=din}%
+ \TUD@deprecated@key{nodin=#1}{cdfont=din}%
\fi%
\fi%
}
@@ -565,9 +569,9 @@
\TUD@set@ifkey{noDIN}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{noDIN}{cdfont=nodin}%
+ \TUD@deprecated@key{noDIN}{cdfont=nodin}%
\else%
- \TUD@key@deprecated{noDIN=#1}{cdfont=din}%
+ \TUD@deprecated@key{noDIN=#1}{cdfont=din}%
\fi%
\fi%
}
@@ -587,9 +591,9 @@
\TUD@set@ifkey{sansmath}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{sansmath}{cdmath=true}%
+ \TUD@deprecated@key{sansmath}{cdmath=true}%
\else%
- \TUD@key@deprecated{sansmath=#1}{cdmath=false}%
+ \TUD@deprecated@key{sansmath=#1}{cdmath=false}%
\fi%
\fi%
}
@@ -597,9 +601,9 @@
\TUD@set@ifkey{serifmath}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{serifmath}{cdmath=false}%
+ \TUD@deprecated@key{serifmath}{cdmath=false}%
\else%
- \TUD@key@deprecated{serifmath=#1}{cdmath=true}%
+ \TUD@deprecated@key{serifmath=#1}{cdmath=true}%
\fi%
\fi%
}
@@ -616,7 +620,7 @@
% Umbenennung der zu allgemein bezeichneten Option, um zukünftig potenziellen
% Konflikten mit \KOMAScript{} aus dem Weg zu gehen.
% \begin{macrocode}
-\TUD@key{geometry}[true]{\TUD@key@deprecated{geometry=#1}{cdgeometry=#1}}
+\TUD@key{geometry}[true]{\TUD@deprecated@key{geometry=#1}{cdgeometry=#1}}
% \end{macrocode}
% \end{option}^^A geometry
% \begin{option}{barfont}
@@ -627,7 +631,7 @@
% \begin{macrocode}
\TUD@key{barfont}[true]{%
\TUD@set@numkey{barfont}{@tempa}{%
- \TUD@numkey@bool,%
+ \TUD@bool@numkey,%
{nocd}{0},{nocdfont}{0},{nocdfonts}{0},{notudfonts}{0},%
{cd}{1},{cdfont}{1},{cdfonts}{1},{tudfonts}{1},%
{light}{1},{lightfont}{1},{lite}{1},{litefont}{1},{noheavyfont}{1},%
@@ -635,11 +639,11 @@
}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\ifcase\@tempa\relax% false
- \TUD@key@deprecated{barfont=#1}{cdhead=false}%
+ \TUD@deprecated@key{barfont=#1}{cdhead=false}%
\or% true
- \TUD@key@deprecated{barfont=#1}{cdhead=true}%
+ \TUD@deprecated@key{barfont=#1}{cdhead=true}%
\or% heavy
- \TUD@key@deprecated{barfont=#1}{cdhead=heavy}%
+ \TUD@deprecated@key{barfont=#1}{cdhead=heavy}%
\fi%
\fi%
}
@@ -654,9 +658,9 @@
\TUD@set@ifkey{widehead}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{widehead}{cdhead=paperwidth}%
+ \TUD@deprecated@key{widehead}{cdhead=paperwidth}%
\else%
- \TUD@key@deprecated{widehead=#1}{cdhead=textwidth}%
+ \TUD@deprecated@key{widehead=#1}{cdhead=textwidth}%
\fi%
\fi%
}
@@ -669,9 +673,9 @@
\TUD@set@ifkey{tudfoot}{@tempswa}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\if@tempswa%
- \TUD@key@deprecated{tudfoot}{cdfoot=true}%
+ \TUD@deprecated@key{tudfoot}{cdfoot=true}%
\else%
- \TUD@key@deprecated{tudfoot=#1}{cdfoot=false}%
+ \TUD@deprecated@key{tudfoot=#1}{cdfoot=false}%
\fi%
\fi%
}
@@ -685,7 +689,7 @@
% \begin{macrocode}
\TUD@key{color}[true]{%
\TUD@set@numkey{color}{@tempa}{%
- \TUD@numkey@bool,%
+ \TUD@bool@numkey,%
{nocolor}{0},{nocolour}{0},{monochrome}{0},{monochromatic}{0},%
{color}{1},{colour}{1},%
{lite}{2},{light}{2},{pale}{2},%
@@ -698,15 +702,15 @@
}{#1}%
\ifx\FamilyKeyState\FamilyKeyStateProcessed%
\ifcase\@tempa\relax% false
- \TUD@key@deprecated{color=#1}{cd=true}%
+ \TUD@deprecated@key{color=#1}{cd=true}%
\or% true
- \TUD@key@deprecated{color=#1}{cd=color}%
+ \TUD@deprecated@key{color=#1}{cd=color}%
\or% litecolor
- \TUD@key@deprecated{color=#1}{cd=pale}%
+ \TUD@deprecated@key{color=#1}{cd=pale}%
\or% bicolor
- \TUD@key@deprecated{color=#1}{cd=bicolor}%
+ \TUD@deprecated@key{color=#1}{cd=bicolor}%
\or% full
- \TUD@key@deprecated{color=#1}{cd=fullcolor}%
+ \TUD@deprecated@key{color=#1}{cd=fullcolor}%
\fi%
\fi%
}
@@ -768,7 +772,7 @@
% Für die Angabe des Lehrstuhls bzw. der Professur mit kann anstelle von
% \cs{chair} als Aliasbefehl auch \cs{professorship} genutzt werden.
% \begin{macrocode}
-\TUD@cmd@deprecated{professorship}{chair}
+\TUD@deprecated@cs{professorship}{chair}
% \end{macrocode}
% \end{macro}^^A \professorship
%
@@ -781,41 +785,41 @@
% Zur Angabe von Matrikelnummer kann auch \cs{studentid} oder
% \cs{matriculationnumber} genutzt werden.
% \begin{macrocode}
-\TUD@cmd@deprecated{studentid}{matriculationnumber}
-\TUD@cmd@deprecated{matriculationid}{matriculationnumber}
+\TUD@deprecated@cs{studentid}{matriculationnumber}
+\TUD@deprecated@cs{matriculationid}{matriculationnumber}
% \end{macrocode}
% \end{macro}^^A \matriculationid
% \end{macro}^^A \studentid
% \begin{macro}{\enrolmentyear}
% Das Immatrikulationsjahr kann auch mit \cs{enrolmentyear} angegeben werden.
% \begin{macrocode}
-\TUD@cmd@deprecated{enrolmentyear}{matriculationyear}
+\TUD@deprecated@cs{enrolmentyear}{matriculationyear}
% \end{macrocode}
% \end{macro}^^A \enrolmentyear
% \begin{macro}{\birthplace}
% Zur Angabe des Geburtsortes kann auch \cs{birthplace} verwendet werden.
% \begin{macrocode}
-\TUD@cmd@deprecated{birthplace}{placeofbirth}
+\TUD@deprecated@cs{birthplace}{placeofbirth}
% \end{macrocode}
% \end{macro}^^A \birthplace
% \begin{macro}{\submissiondate}
% Der Befehl \cs{submissiondate} kann als Aliasbefehl für den Standardbefehl
% \cs{date} zur Datumsangabe genutzt werden.
% \begin{macrocode}
-\TUD@cmd@deprecated{submissiondate}{date}
+\TUD@deprecated@cs{submissiondate}{date}
% \end{macrocode}
% \end{macro}^^A \submissiondate
% \begin{macro}{\oralexaminationdate}
% Für \cs{defensedate} kann als Aliasbefehl auch \cs{oralexaminationdate}
% verwendet werden.
% \begin{macrocode}
-\TUD@cmd@deprecated{oralexaminationdate}{defensedate}
+\TUD@deprecated@cs{oralexaminationdate}{defensedate}
% \end{macrocode}
% \end{macro}^^A \oralexaminationdate
% \begin{macro}{\birthday}
% Der Geburtstag kann auch mit \cs{birthday} angegeben werden.
% \begin{macrocode}
-\TUD@cmd@deprecated{birthday}{dateofbirth}
+\TUD@deprecated@cs{birthday}{dateofbirth}
% \end{macrocode}
% \end{macro}^^A \birthday
%
@@ -826,15 +830,15 @@
% \begin{macro}{\location}
% Für die Angabe des Ortes kann auch \cs{location} genutzt werden.
% \begin{macrocode}
-\TUD@cmd@deprecated{location}{place}
+\TUD@deprecated@cs{location}{place}
% \end{macrocode}
% \end{macro}^^A \location
% \begin{macro}{\logofile}
% \begin{macro}{\logofilename}
% Diese beiden Befehle können anstelle von \cs{headlogo} eingesetzt werden.
% \begin{macrocode}
-\TUD@cmd@deprecated{logofile}{headlogo}
-\TUD@cmd@deprecated{logofilename}{headlogo}
+\TUD@deprecated@cs{logofile}{headlogo}
+\TUD@deprecated@cs{logofilename}{headlogo}
% \end{macrocode}
% \end{macro}^^A \logofilename
% \end{macro}^^A \logofile
@@ -845,9 +849,9 @@
% anzusehen.
% \begin{macrocode}
\AfterPackage{tudscrsupervisor}{%
- \TUD@cmd@deprecated{startdate}{issuedate}%
- \TUD@cmd@deprecated{finaldate}{duedate}%
- \TUD@cmd@deprecated{maturitydate}{duedate}%
+ \TUD@deprecated@cs{startdate}{issuedate}%
+ \TUD@deprecated@cs{finaldate}{duedate}%
+ \TUD@deprecated@cs{maturitydate}{duedate}%
}
% \end{macrocode}
% \end{macro}^^A \maturitydate