summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls54
1 files changed, 17 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls
index 0ee3a6e2b99..35422e36cda 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrbook.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}%
@@ -1098,6 +1098,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%
@@ -2033,7 +2034,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}%
}
@@ -3732,7 +3733,7 @@
}%
\BeforeSelectAnyPageStyle{\tud@BeforeSelectAnyPageStyle{##1}}%
\tud@cdgeometry@process%
- \fi
+ \fi%
\let\tud@cdgeometry@init\relax%
}%
}
@@ -4944,10 +4945,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}%
}%
@@ -4985,7 +4986,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}%
@@ -5007,7 +5008,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}}%
}%
@@ -5377,32 +5378,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}{%
@@ -5422,18 +5413,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}{%
@@ -5443,7 +5423,7 @@
\tud@chapter@app%
}{}{\tud@patch@wrn{tud@sectioning@case}}%
}%
- \fi%
+ }{}%
}
\newcommand*\tud@sectioning@reset[2][]{%
\tud@cmd@restore{#2}%