summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls111
1 files changed, 70 insertions, 41 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls
index ac85c3a0cac..b56c900ad86 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrreprt.cls
@@ -70,7 +70,7 @@
\fi%
}%
\fi%
- \@TUDVersion{2015/02/15 v2.03 TUD-KOMA-Script}%
+ \@TUDVersion{2015/06/11 v2.03a TUD-KOMA-Script}%
\endgroup%
\providecommand*\tudscrmail{tudscr@gmail.com}
\newcommand*\cls@name{report}
@@ -78,7 +78,7 @@
\newcommand*\tudcls@name{tudscrreprt}
\NeedsTeXFormat{LaTeX2e}[2011/06/27]
\ProvidesClass{\tudcls@name}[%
- 2015/02/15 v2.03 TUD-KOMA-Script
+ 2015/06/11 v2.03a TUD-KOMA-Script
document class (\cls@name)%
]
\typeout{The Corporate Design of Technische Universitaet Dresden}
@@ -106,7 +106,6 @@
\newif\if@tud@dinbold
\newcommand*\tud@univers{lun}
\newcommand*\tud@dinbold{0m6}
-\newcommand*\tud@mathenc{OT1}
\newif\if@tud@fontspec
\TUD@key{fontspec}[true]{%
\TUD@set@ifkey{fontspec}{@tud@fontspec}{#1}%
@@ -136,15 +135,9 @@
\fi%
}
\AtEndPreamble{%
- \@expandtwoargs\in@{OT}{\encodingdefault}%
- \ifin@%
- \def\tud@mathenc{OT1}%
- \else%
- \def\tud@mathenc{T1}%
- \fi%
\if@tud@fontspec%
\edef\@tempa{%
- \lowercase{\noexpand\InputIfFileExists{\tud@mathenc\tud@univers.fd}}%
+ \lowercase{\noexpand\InputIfFileExists{OT1\tud@univers.fd}}%
}%
\def\@tempb#1{%
\ClassInfoNoLine{\tudcls@name}{%
@@ -167,7 +160,7 @@
\@tempa{\@tud@universtrue}{\@tempb{Univers}}%
\if@tud@fontspec%
\edef\@tempa{%
- \lowercase{\noexpand\InputIfFileExists{\tud@mathenc\tud@dinbold.fd}}%
+ \lowercase{\noexpand\InputIfFileExists{OT1\tud@dinbold.fd}}%
}%
\else%
\edef\@tempa{%
@@ -1226,22 +1219,22 @@
\SetSymbolFont{letters}{universbold}{OML}{\tud@univers}{b}{sl}%
\SetSymbolFont{symbols}{universbold}{OMS}{\tud@univers}{b}{n}%
\SetSymbolFont{largesymbols}{universbold}{OMX}{iwona}{b}{n}%
- \SetMathAlphabet{\mathbf}{univers}{\tud@mathenc}{\tud@univers}{b}{n}%
- \SetMathAlphabet{\mathsf}{univers}{\tud@mathenc}{\tud@univers}{l}{n}%
- \SetMathAlphabet{\mathit}{univers}{\tud@mathenc}{\tud@univers}{l}{sl}%
- \SetMathAlphabet{\mathtt}{univers}{\tud@mathenc}{\tud@univers t}{l}{n}%
- \SetMathAlphabet{\mathbf}{universbold}{\tud@mathenc}{\tud@univers}{eb}{n}%
- \SetMathAlphabet{\mathsf}{universbold}{\tud@mathenc}{\tud@univers}{b}{n}%
- \SetMathAlphabet{\mathit}{universbold}{\tud@mathenc}{\tud@univers}{b}{sl}%
- \SetMathAlphabet{\mathtt}{universbold}{\tud@mathenc}{\tud@univers t}{b}{n}%
+ \SetMathAlphabet{\mathbf}{univers}{OT1}{\tud@univers}{b}{n}%
+ \SetMathAlphabet{\mathsf}{univers}{OT1}{\tud@univers}{l}{n}%
+ \SetMathAlphabet{\mathit}{univers}{OT1}{\tud@univers}{l}{sl}%
+ \SetMathAlphabet{\mathtt}{univers}{OT1}{\tud@univers t}{l}{n}%
+ \SetMathAlphabet{\mathbf}{universbold}{OT1}{\tud@univers}{eb}{n}%
+ \SetMathAlphabet{\mathsf}{universbold}{OT1}{\tud@univers}{b}{n}%
+ \SetMathAlphabet{\mathit}{universbold}{OT1}{\tud@univers}{b}{sl}%
+ \SetMathAlphabet{\mathtt}{universbold}{OT1}{\tud@univers t}{b}{n}%
\DeclareMathVersion{dinbold}%
- \SetSymbolFont{operators}{dinbold}{\tud@mathenc}{\tud@dinbold}{b}{n}%
+ \SetSymbolFont{operators}{dinbold}{OT1}{\tud@dinbold}{b}{n}%
\SetSymbolFont{letters}{dinbold}{OML}{\tud@dinbold}{b}{sl}%
\SetSymbolFont{symbols}{dinbold}{OMS}{\tud@dinbold}{b}{n}%
\SetSymbolFont{largesymbols}{dinbold}{OMX}{iwona}{ebc}{n}%
- \SetMathAlphabet{\mathbf}{dinbold}{\tud@mathenc}{\tud@dinbold}{b}{n}%
- \SetMathAlphabet{\mathsf}{dinbold}{\tud@mathenc}{\tud@dinbold}{b}{n}%
- \SetMathAlphabet{\mathit}{dinbold}{\tud@mathenc}{\tud@dinbold}{b}{sl}%
+ \SetMathAlphabet{\mathbf}{dinbold}{OT1}{\tud@dinbold}{b}{n}%
+ \SetMathAlphabet{\mathsf}{dinbold}{OT1}{\tud@dinbold}{b}{n}%
+ \SetMathAlphabet{\mathit}{dinbold}{OT1}{\tud@dinbold}{b}{sl}%
\DeclareMathSymbol{\upDelta}{\mathalpha}{operators}{1}%
\DeclareMathSymbol{\upOmega}{\mathalpha}{operators}{10}%
\DeclareMathSymbol{\upGamma}{\mathalpha}{operators}{0}%
@@ -3017,22 +3010,46 @@
}%
}
\let\tud@@part\@part
-\patchcmd{\tud@@part}{%
- \ifnumbered{part}{%
- \size@partnumber{\partformat}%
- \partheadmidvskip%
- }{}%
+\ifcsdef{scr@v@3.17}{%
+ \patchcmd{\tud@@part}{%
+ \ifnumbered{part}{%
+ \size@partnumber{\partformat}%
+ \setlength{\@tempskipa}{\scr@part@innerskip}%
+ \partheadmidvskip%
+ }{}%
+ }{%
+ \ifnumbered{part}{%
+ \size@partnumber{\tud@makeuppercase{\partformat}}%
+ \if@tud@parttitle%
+ \enskip%
+ \else%
+ \tud@headmidvskip%
+ \fi%
+ }{%
+ \if@tud@parttitle\else%
+ \size@partnumber{\vphantom{\partname}}%
+ \tud@headmidvskip%
+ \fi%
+ }%
+ }{}{\tud@patch@wrn{@part}}%
}{%
- \ifnumbered{part}{%
- \size@partnumber{\tud@makeuppercase{\partformat}}%
- \partheadmidvskip%
+ \patchcmd{\tud@@part}{%
+ \ifnumbered{part}{%
+ \size@partnumber{\partformat}%
+ \partheadmidvskip%
+ }{}%
}{%
- \if@tud@parttitle\else%
- \size@partnumber{\vphantom{\partname}}%
+ \ifnumbered{part}{%
+ \size@partnumber{\tud@makeuppercase{\partformat}}%
\partheadmidvskip%
- \fi%
- }%
-}{}{\tud@patch@wrn{@part}}%
+ }{%
+ \if@tud@parttitle\else%
+ \size@partnumber{\vphantom{\partname}}%
+ \partheadmidvskip%
+ \fi%
+ }%
+ }{}{\tud@patch@wrn{@part}}%
+}
\let\tud@@spart\@spart
\patchcmd{\tud@@spart}{%
\normalfont
@@ -3077,13 +3094,25 @@
\newcommand*\tud@@@makechapterhead{}
\let\tud@@@makechapterhead\@@makechapterhead
\ifcsdef{scr@v@3.15}{%
- \patchcmd{\tud@@@makechapterhead}{\chapterformat\chapterheadmidvskip}{%
- \tud@headmidvskip@neg%
- \tud@makeuppercase{\chapterformat}\tud@headmidvskip
- }{}{\tud@patch@wrn{@@makechapterhead}}
+ \ifcsdef{scr@v@3.17}{%
+ \patchcmd{\tud@@@makechapterhead}{%
+ \chapterformat
+ \setlength{\@tempskipa}{\scr@chapter@innerskip}%
+ \chapterheadmidvskip
+ }{%
+ \tud@headmidvskip@neg%
+ \tud@makeuppercase{\chapterformat}%
+ \tud@headmidvskip%
+ }{}{\tud@patch@wrn{@@makechapterhead}}%
+ }{%
+ \patchcmd{\tud@@@makechapterhead}{\chapterformat\chapterheadmidvskip}{%
+ \tud@headmidvskip@neg%
+ \tud@makeuppercase{\chapterformat}\tud@headmidvskip
+ }{}{\tud@patch@wrn{@@makechapterhead}}%
+ }%
\patchcmd{\tud@@@makechapterhead}{\IfUsePrefixLine{}{\raggedchapter}}{%
\IfUsePrefixLine{\IfUseNumber{\setlength\parskip{\z@}}{}}{\raggedchapter}%
- }{}{\tud@patch@wrn{@@makechapterhead}}
+ }{}{\tud@patch@wrn{@@makechapterhead}}%
}{%
\patchcmd{\tud@@@makechapterhead}{\chapterheadstartvskip}{%
\chapterheadstartvskip%