diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty | 50 |
1 files changed, 23 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty index bc41bf5a6f6..dc03271c268 100644 --- a/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty +++ b/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-book.sty @@ -12,9 +12,9 @@ %% %% TUD-Script -- Corporate Design of Technische Universitaet Dresden %% -%% 2017/05/30 v2.05m TUD-Script +%% 2019/06/28 v2.06 TUD-Script %% -%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2017 +%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2019 %% %% This file was generated from file(s) of the TUD-Script bundle. %% ---------------------------------------------------------------------------- @@ -40,7 +40,7 @@ \def\@tempb##1 v##2 ##3\relax##4\relax{\gdef\TUDScriptVersionNumber{##2}}% \edef\@tempa{\TUD@Version}% \expandafter\@tempb\@tempa\relax? ? \relax\relax% - \gdef\TUD@Version@KOMA{3.17}% + \gdef\TUD@Version@KOMA{3.25}% } \else \newcommand*\TUD@Version@Check[1]{% @@ -55,7 +55,7 @@ \fi% } \fi - \TUD@Version@Check{2017/05/30 v2.05m TUD-Script} + \TUD@Version@Check{2019/06/28 v2.06 TUD-Script} \endgroup \NeedsTeXFormat{LaTeX2e} \providecommand*\tudscrmail{hanisch.latex@outlook.com} @@ -66,18 +66,24 @@ This package can only be used with a class out of the\MessageBreak% tudscr bundle (tudscrbook, tudscrreprt, tudscrartcl, tudscrposter).% }% - \endinput + \endinput% \fi \@ifundefined{TUDScript}{% \DeclareRobustCommand\TUDScript{% - \ifdin{TUD-SCRIPT}{% - \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script}% - }\csname xspace\endcsname% + \begingroup% + \def\tud@res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}% + \tud@ifdin{% + \edef\tud@res@a{\tud@res@b{SCRIPT}}% + }{% + \edef\tud@res@a{\noexpand\textsf{\tud@res@b{Script}}}% + }% + \expandafter\endgroup\tud@res@a% + \csname xspace\endcsname% }% }{} %%% From File: tudscr-comp.dtx \ProvidesPackage{tudscrcomp-book}[% - 2017/05/30 v2.05m TUD-Script + 2019/06/28 v2.06 TUD-Script package (compatibility for old tud(scr) classes)% ] @@ -114,6 +120,8 @@ } %%% From File: tudscr-misc.dtx \DeclareOption*{\TUDoptions{\CurrentOption}} +\TUDExecuteOptions{% +} \TUDProcessOptions\relax %%% From File: tudscr-comp.dtx \newcommand*\einrichtung{\faculty} @@ -161,7 +169,7 @@ \global\@tud@comp@chapterpagetrue% \tud@comp@chapterpage@wrn% } -\newcommand*\tud@comp@chapterpage@set[1][]{% +\newcommand*\tud@comp@chapterpage@set{% \if@tud@comp@chapterpage% \if@tud@chapterpage% \TUDoptions{chapterpage=false}% @@ -170,7 +178,7 @@ \fi% \fi% } -\newcommand*\tud@comp@chapterpage@unset[1][]{% +\newcommand*\tud@comp@chapterpage@unset{% \tud@comp@chapterpage@set% \global\@tud@comp@chapterpagefalse% } @@ -184,22 +192,10 @@ } \AtEndPreamble{% \if@chapter% - \pretocmd{\tud@chapter}{\tud@comp@chapterpage@set}% - {}{\tud@patch@wrn{tud@chapter}}% - \apptocmd{\tud@chapter}{\tud@comp@chapterpage@unset}% - {}{\tud@patch@wrn{tud@chapter}}% - \pretocmd{\tud@schapter}{\tud@comp@chapterpage@set}% - {}{\tud@patch@wrn{tud@schapter}}% - \apptocmd{\tud@schapter}{\tud@comp@chapterpage@unset}% - {}{\tud@patch@wrn{tud@schapter}}% - \pretocmd{\tud@addchap}{\tud@comp@chapterpage@set}% - {}{\tud@patch@wrn{tud@addchap}}% - \apptocmd{\tud@addchap}{\tud@comp@chapterpage@unset}% - {}{\tud@patch@wrn{tud@addchap}}% - \pretocmd{\tud@saddchap}{\tud@comp@chapterpage@set}% - {}{\tud@patch@wrn{tud@saddchap}}% - \apptocmd{\tud@saddchap}{\tud@comp@chapterpage@unset}% - {}{\tud@patch@wrn{tud@saddchap}}% + \pretocmd{\tud@chapter@pre}{\tud@comp@chapterpage@set}% + {}{\tud@patch@wrn{tud@chapter@pre}}% + \apptocmd{\tud@chapter@app}{\tud@comp@chapterpage@unset}% + {}{\tud@patch@wrn{tud@chapter@app}}% \fi% } \endinput |