diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls | 54 |
1 files changed, 17 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls index f4b0ae9bac2..882dfabcbc5 100644 --- a/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls +++ b/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls @@ -29,7 +29,7 @@ %% %% TUD-Script -- Corporate Design of Technische Universitaet Dresden %% -%% 2017/03/12 v2.05i TUD-Script +%% 2017/03/27 v2.05k TUD-Script %% %% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2017 %% @@ -72,13 +72,13 @@ \fi% } \fi - \TUD@Version@Check{2017/03/12 v2.05i TUD-Script} + \TUD@Version@Check{2017/03/27 v2.05k TUD-Script} \endgroup \NeedsTeXFormat{LaTeX2e} \providecommand*\tudscrmail{hanisch.latex@outlook.com} \newcommand*\TUD@ProvidesClass[3]{% \ProvidesClass{#1}[% - 2017/03/12 v2.05i TUD-Script + 2017/03/27 v2.05k TUD-Script ^^J#3 (#2)% ]% \newcommand*\TUD@Class@KOMA{#2}% @@ -1102,6 +1102,7 @@ \csdef{tud@v@2.05g}{3} \csdef{tud@v@2.05h}{3} \csdef{tud@v@2.05i}{3} +\csdef{tud@v@2.05k}{3} \csdef{tud@v@last}{3} \newcommand*\tud@v@get[2]{% \begingroup% @@ -2037,7 +2038,7 @@ \if@tud@x@bm@requested% \tud@font@math@init% \UnPreventPackageFromLoading{bm}% - \RequirePackage{bm}% + \RequirePackage{bm}[2017/01/16]% \fi% \AtBeginDocument{\tud@font@math@init\let\tud@font@math@init\relax}% } @@ -3733,7 +3734,7 @@ }% \BeforeSelectAnyPageStyle{\tud@BeforeSelectAnyPageStyle{##1}}% \tud@cdgeometry@process% - \fi + \fi% \let\tud@cdgeometry@init\relax% }% } @@ -4945,10 +4946,10 @@ \let\@spart\tud@@spart% }% \if@tud@parttitle% - \tud@sectioning@set[addpart]{part}{\usekomafont{parttitle}}% + \tud@sectioning@set{part}{\usekomafont{parttitle}}% \tud@font@koma@set{partnumber}{\usekomafont{parttitle}}% \else% - \tud@sectioning@set[addpart]{part}{% + \tud@sectioning@set{part}{% \tud@sec@fontface% \tud@color{\tud@part@fontcolor}% }% @@ -4986,7 +4987,7 @@ \tud@cmd@store{@@makechapterhead}% \let\@@makechapterhead\tud@@makechapterhead% }% - \tud@sectioning@set[addchap]{chapter}{% + \tud@sectioning@set{chapter}{% \tud@sec@fontface% \tud@sec@fontsize% \tud@color{\tud@chapter@fontcolor}% @@ -5008,7 +5009,7 @@ \ifcase\tud@layout@section@num\relax\or\else% *color \renewcommand*\tud@section@fontcolor{HKS41}% \fi% - \tud@sectioning@set[addsec]{section}{% + \tud@sectioning@set{section}{% \tud@sec@fontface% \ifstr{\tud@pagecolor}{HKS41}{}{\tud@color{\tud@section@fontcolor}}% }% @@ -5378,32 +5379,22 @@ } \newcommand*\tud@part{} \newcommand*\tud@spart{} -\newcommand*\tud@addpart{} -\newcommand*\tud@saddpart{} \newcommand*\tud@chapter{} \newcommand*\tud@schapter{} -\newcommand*\tud@addchap{} -\newcommand*\tud@saddchap{} \newcommand*\tud@section{} \newcommand*\tud@ssection{} -\newcommand*\tud@addsec{} -\newcommand*\tud@saddsec{} \newcommand*\tud@subsection{} \newcommand*\tud@ssubsection{} \newcommand*\tud@subsubsection{} \newcommand*\tud@ssubsubsection{} -\newcommand*\tud@sectioning@set[3][]{% - \tud@cmd@store{#2}% - \ifstr{#2}{minisec}{% +\newcommand*\tud@sectioning@set[2]{% + \tud@cmd@store{#1}% + \ifstr{#1}{minisec}{% \renewcommand\minisec[1]{\@@tud@minisec{\tud@makeuppercase{##1}}}% }{% - \tud@sectioning@case{#2}% - \ifblank{#1}{}{% - \tud@cmd@store{#1}% - \tud@sectioning@case{#1}% - }% + \tud@sectioning@case{#1}% }% - \tud@font@koma@set{#2}{#3}% + \tud@font@koma@set{#1}{#2}% } \newcommand*\tud@sectioning@case[1]{% \csedef{#1}{% @@ -5423,18 +5414,7 @@ \expandafter\csname @@tud@#1\endcsname*% {\noexpand\tud@sectioning@uppercase{##1}}% }% - \ifstr{#1}{addsec}{% - \def\tud@addsec[##1]##2{% - \@@tud@addsec[{##1}]{\tud@sectioning@uppercase##2}% - }% - \def\tud@saddsec##1{% - \@@tud@addsec*{\tud@sectioning@uppercase##1}% - }% - }{}% - \@tempswafalse% - \ifstr{#1}{chapter}{\@tempswatrue}{}% - \ifstr{#1}{addchap}{\@tempswatrue}{}% - \if@tempswa% + \ifstr{#1}{chapter}{% \def\@tempa{,s}% \@for\@tempb:=\@tempa\do{% \expandafter\pretocmd\expandafter{\csname tud@\@tempb#1\endcsname}{% @@ -5444,7 +5424,7 @@ \tud@chapter@app% }{}{\tud@patch@wrn{tud@sectioning@case}}% }% - \fi% + }{}% } \newcommand*\tud@sectioning@reset[2][]{% \tud@cmd@restore{#2}% |