summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty82
1 files changed, 40 insertions, 42 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty
index 8352946ce13..6ff8e12a5f3 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty
@@ -10,7 +10,7 @@
%% ============================================================================
%%
%% TUD-KOMA-Script
-%% Copyright (c) Falk Hanisch <tudscr[at]gmail.com>, 2012-2014
+%% Copyright (c) Falk Hanisch <tudscr@gmail.com>, 2012-2015
%%
%% ============================================================================
%%
@@ -24,13 +24,13 @@
%%
%% ----------------------------------------------------------------------------
%%
-%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
-%% Version 1.3c, verteilt und/oder veraendert werden. Die neuste Version
-%% dieser Lizenz ist http://www.latex-project.org/lppl.txt und Version 1.3c
-%% ist Teil aller Verteilungen von LaTeX 2005/12/01 oder spaeter und dieses
-%% Werks. Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained",
-%% wird somit allein durch den Autor verwaltet. Der aktuelle Verwalter und
-%% Autor dieses Werkes ist Falk Hanisch.
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder veraendert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder spaeter ist Teil aller Verteilungen von LaTeX 2005/12/01
+%% oder spaeter und dieses Werks. Dieses Werk hat den LPPL-Verwaltungs-Status
+%% "author-maintained", wird somit allein durch den Autor verwaltet. Der
+%% aktuelle Verwalter und Autor dieses Werkes ist Falk Hanisch.
%%
%% ============================================================================
%%
@@ -52,7 +52,7 @@
\fi%
}%
\fi%
- \@TUDVersion{2014/12/17 v2.02 TUD-KOMA-Script}%
+ \@TUDVersion{2015/02/15 v2.03 TUD-KOMA-Script}%
\endgroup%
\providecommand*\tudscrmail{tudscr@gmail.com}
\@ifundefined{tudcls@name}{%
@@ -74,9 +74,9 @@
%%% From File: tudscr-comp.dtx
\NeedsTeXFormat{LaTeX2e}[2011/06/27]
\ProvidesPackage{tudscrcomp}[%
- 2014/12/17 v2.02 TUD-KOMA-Script
+ 2015/02/15 v2.03 TUD-KOMA-Script
package
- (compatibility for tudbook)%
+ (compatibility for old tud(scr) classes)%
]
\newcommand*\einrichtung{}
\let\einrichtung\faculty
@@ -103,26 +103,32 @@
}
\TUD@key{colortitle}[true]{%
\TUD@set@ifkey{colortitle}{@tempswa}{#1}%
- \if@tempswa%
- \TUDoptions{cdtitle=color}%
- \else%
- \TUDoptions{cdtitle=true}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@tempswa%
+ \TUDoptions{cdtitle=color}%
+ \else%
+ \TUDoptions{cdtitle=true}%
+ \fi%
\fi%
}
\TUD@key{nocolortitle}[true]{%
\TUD@set@ifkey{nocolortitle}{@tempswa}{#1}%
- \if@tempswa%
- \TUDoptions{cdtitle=true}%
- \else%
- \TUDoptions{cdtitle=color}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@tempswa%
+ \TUDoptions{cdtitle=true}%
+ \else%
+ \TUDoptions{cdtitle=color}%
+ \fi%
\fi%
}
\TUD@key{ddcfooter}[true]{%
\TUD@set@ifkey{ddcfooter}{@tempswa}{#1}%
- \if@tempswa%
- \TUDoptions{ddcfoot=true}%
- \else%
- \TUDoptions{ddcfoot=false}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed%
+ \if@tempswa%
+ \TUDoptions{ddcfoot=true}%
+ \else%
+ \TUDoptions{ddcfoot=false}%
+ \fi%
\fi%
}
\AtBeginDocument{%
@@ -138,22 +144,14 @@
\bib@heading%
#1%
\list{}{%
- \setlength{\labelsep}{\z@}%
- \setlength{\labelwidth}{\z@}%
- \setlength{\itemindent}{-\leftmargin}%
+ \setlength\labelsep{\z@}%
+ \setlength\labelwidth{\z@}%
+ \setlength\itemindent{-\leftmargin}%
}%
}{\endlist}
\newcommand\glossitem[1]{\item[] #1\par}%
}%
}
-\TUD@key{serifmath}[true]{%
- \TUD@set@ifkey{serifmath}{@tempswa}{#1}%
- \if@tempswa%
- \TUDoptions{sansmath=false}%
- \else%
- \TUDoptions{sansmath=true}%
- \fi%
-}
\newif\if@tud@chapterpage@temp
\newcommand*\chapterpage{%
\global\@tud@chapterpage@temptrue%
@@ -172,6 +170,14 @@
\tud@chapterpage@set%
\global\@tud@chapterpage@tempfalse%
}
+\newcommand*\tud@chapterpage@wrn{%
+ \ClassWarning{\tudcls@name}{%
+ The command \string\chapterpage\space is not\MessageBreak%
+ recommended. You should use the same style for\MessageBreak%
+ chapters throughout the document
+ }%
+ \global\let\tud@chapterpage@wrn\relax%
+}
\AtEndPreamble{%
\pretocmd{\tud@chapter}{\tud@chapterpage@set}%
{}{\tud@patch@wrn{tud@nchapter}}%
@@ -190,14 +196,6 @@
\apptocmd{\tud@saddchap}{\tud@chapterpage@unset}%
{}{\tud@patch@wrn{tud@saddchap}}%
}
-\newcommand*\tud@chapterpage@wrn{%
- \ClassWarning{\tudcls@name}{%
- The command \string\chapterpage\space is not\MessageBreak%
- recommended. You should use the same style for\MessageBreak%
- chapters throughout the document
- }%
- \global\let\tud@chapterpage@wrn\relax%
-}
\endinput
%%
%% End of file `tudscrcomp.sty'.