diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-17 22:17:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-17 22:17:02 +0000 |
commit | 1f4ae7ade1db6dd9d9509a1fcf16415579b9aa05 (patch) | |
tree | 15c2a51cf9ece63634fa308f27a9e83518daf38e /Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls | |
parent | 619cd4fa56b479610e70e9c4481c78e919ffda7b (diff) |
tudscr (17jun16)
git-svn-id: svn://tug.org/texlive/trunk@41474 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls | 69 |
1 files changed, 47 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls b/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls index e469db7310c..0fd03c6b4f8 100644 --- a/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls +++ b/Master/texmf-dist/tex/latex/tudscr/tudscrbook.cls @@ -70,14 +70,14 @@ \fi% }% \fi% - \@TUDVersion{2016/03/26 v2.04d TUD-KOMA-Script}% + \@TUDVersion{2016/06/17 v2.04e TUD-KOMA-Script}% \endgroup% \providecommand*\tudscrmail{tudscr@gmail.com} \newcommand*\TUD@ProvidesClass[3]{% \newcommand*\TUDClassName@KOMA{#2}% \@ifundefined{TUDClassName@Parent}{\newcommand*\TUDClassName{#1}}{}% \ProvidesClass{#1}[% - 2016/03/26 v2.04d TUD-KOMA-Script + 2016/06/17 v2.04e TUD-KOMA-Script ^^J#3 (#2)% ]% \@ifundefined{TUDClassName@Parent}{\TUD@ClassInfo}{}% @@ -3849,27 +3849,52 @@ \if@tempswa \newcommand*\tud@@startpart{}% \let\tud@@startpart\scr@@startpart% - \patchcmd{\tud@@startpart}{% - \ifnumbered{#1}{% - \usekomafont{#1prefix}{\@nameuse{#1format}}% - \setlength{\@tempskipa}{\@nameuse{scr@#1@innerskip}}% - \partheadmidvskip - }{}% - }{% - \ifnumbered{#1}{% - \usekomafont{#1prefix}{\tud@makeuppercase{\@nameuse{#1format}}}% - \if@tud@parttitle% - \enskip% - \else% - \tud@headmidvskip% - \fi% + \ifcsdef{scr@v@3.21}{\@tempswatrue}{\@tempswafalse}% + \if@tempswa% + \patchcmd{\tud@@startpart}{% + \ifnumbered{#1}{% + \usekomafont{#1prefix}{\nobreak\@nameuse{#1format}}% + \setlength{\@tempskipa}{\@nameuse{scr@#1@innerskip}}% + \partheadmidvskip + }{}% }{% - \if@tud@parttitle\else% - \usekomafont{#1prefix}{\vphantom{\partname}}% - \tud@headmidvskip% - \fi% - }% - }{}{\tud@patch@wrn{scr@startpart}}% + \ifnumbered{#1}{% + \usekomafont{#1prefix}{\nobreak\tud@makeuppercase{\@nameuse{#1format}}}% + \if@tud@parttitle% + \enskip% + \else% + \tud@headmidvskip% + \fi% + }{% + \if@tud@parttitle\else% + \usekomafont{#1prefix}{\vphantom{\partname}}% + \tud@headmidvskip% + \fi% + }% + }{}{\tud@patch@wrn{scr@startpart}}% + \else% + \patchcmd{\tud@@startpart}{% + \ifnumbered{#1}{% + \usekomafont{#1prefix}{\@nameuse{#1format}}% + \setlength{\@tempskipa}{\@nameuse{scr@#1@innerskip}}% + \partheadmidvskip + }{}% + }{% + \ifnumbered{#1}{% + \usekomafont{#1prefix}{\tud@makeuppercase{\@nameuse{#1format}}}% + \if@tud@parttitle% + \enskip% + \else% + \tud@headmidvskip% + \fi% + }{% + \if@tud@parttitle\else% + \usekomafont{#1prefix}{\vphantom{\partname}}% + \tud@headmidvskip% + \fi% + }% + }{}{\tud@patch@wrn{scr@startpart}}% + \fi% \newcommand*\tud@@startspart{}% \let\tud@@startspart\scr@@startspart% \patchcmd{\tud@@startspart}{% |