diff options
author | Karl Berry <karl@freefriends.org> | 2009-07-26 21:54:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-07-26 21:54:04 +0000 |
commit | 8059015c6e46d916a33089e9ac465d6132386c9f (patch) | |
tree | 7859eaea4db5ba2d74ea5ade977d4dc1a3b5faee /Master/texmf-dist/tex/latex/koma-script/scrreprt.cls | |
parent | 22d1a59617efa3f989f4da4849acd895d17570a2 (diff) |
koma-script update
git-svn-id: svn://tug.org/texlive/trunk@14462 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrreprt.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/koma-script/scrreprt.cls | 119 |
1 files changed, 48 insertions, 71 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls b/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls index 5ab4d4f180b..340f6b76eaa 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls @@ -95,7 +95,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2009/07/07 v3.04 KOMA-Script}% + \@CheckKOMAScriptVersion{2009/07/24 v3.04a KOMA-Script}% \endgroup \newcommand*{\KOMAClassName}{% scrreprt% @@ -177,6 +177,8 @@ \@namedef{scr@v@3.03a}{10} \@namedef{scr@v@3.03b}{10} \@namedef{scr@v@3.04}{10} +\@namedef{scr@v@3.05}{10} +\@namedef{scr@v@3.04a}{10} \@namedef{scr@v@last}{10} %%% From File: scrkmisc.dtx \KOMA@key{draft}[true]{% @@ -1536,8 +1538,8 @@ #1% }}% \newcommand*{\next@tpage}{\clearpage\thispagestyle{empty}}% -\if@titlepage - \newcommand*\maketitle[1][1]{% +\newcommand*\maketitle[1][1]{% + \if@titlepage \begin{titlepage} \setcounter{page}{% #1% @@ -1597,35 +1599,8 @@ \if@twoside \next@tpage\cleardoubleemptypage \fi \fi \end{titlepage} - \setcounter{footnote}{0}% - \global\let\thanks\relax - \global\let\maketitle\relax - \global\let\@thanks\@empty - \global\let\@author\@empty - \global\let\@date\@empty - \global\let\@title\@empty - \global\let\@subtitle\@empty - \global\let\@extratitle\@empty - \global\let\@titlehead\@empty - \global\let\@subject\@empty - \global\let\@publishers\@empty - \global\let\@uppertitleback\@empty - \global\let\@lowertitleback\@empty - \global\let\@dedication\@empty - \global\let\author\relax - \global\let\title\relax - \global\let\extratitle\relax - \global\let\titlehead\relax - \global\let\subject\relax - \global\let\publishers\relax - \global\let\uppertitleback\relax - \global\let\lowertitleback\relax - \global\let\dedication\relax - \global\let\date\relax - \global\let\and\relax - }% -\else - \newcommand*\maketitle[1][1]{\par + \else + \par \@tempcnta=% #1% \relax\ifnum\@tempcnta=1\else @@ -1652,35 +1627,35 @@ \fi \thispagestyle{\titlepagestyle}\@thanks \endgroup - \setcounter{footnote}{0}% - \let\thanks\relax - \let\maketitle\relax - \let\@maketitle\relax - \global\let\@thanks\@empty - \global\let\@author\@empty - \global\let\@date\@empty - \global\let\@title\@empty - \global\let\@subtitle\@empty - \global\let\@extratitle\@empty - \global\let\@titlehead\@empty - \global\let\@subject\@empty - \global\let\@publishers\@empty - \global\let\@uppertitleback\@empty - \global\let\@lowertitleback\@empty - \global\let\@dedication\@empty - \global\let\author\relax - \global\let\title\relax - \global\let\extratitle\relax - \global\let\titlehead\relax - \global\let\subject\relax - \global\let\publishers\relax - \global\let\uppertitleback\relax - \global\let\lowertitleback\relax - \global\let\dedication\relax - \global\let\date\relax - \global\let\and\relax - }% -\fi + \fi + \setcounter{footnote}{0}% + \let\thanks\relax + \let\maketitle\relax + \let\@maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@date\@empty + \global\let\@title\@empty + \global\let\@subtitle\@empty + \global\let\@extratitle\@empty + \global\let\@titlehead\@empty + \global\let\@subject\@empty + \global\let\@publishers\@empty + \global\let\@uppertitleback\@empty + \global\let\@lowertitleback\@empty + \global\let\@dedication\@empty + \global\let\author\relax + \global\let\title\relax + \global\let\extratitle\relax + \global\let\titlehead\relax + \global\let\subject\relax + \global\let\publishers\relax + \global\let\uppertitleback\relax + \global\let\lowertitleback\relax + \global\let\dedication\relax + \global\let\date\relax + \global\let\and\relax +}% \newcommand*{\@maketitle}{% \clearpage \let\footnote\thanks @@ -1741,8 +1716,8 @@ \newkomafont{subtitle}{\usekomafont{title}\large}% \newcommand*{\scr@fnt@title}{\titlefont}% \newcommand*{\scr@fnt@subject}{\subject@font}% -\if@titlepage - \newenvironment{abstract}{% +\newenvironment{abstract}{% + \if@titlepage \titlepage \null\vfil \@beginparpenalty\@lowpenalty @@ -1752,11 +1727,7 @@ \@endparpenalty\@M \end{center} \fi - }{% - \par\vfil\null\endtitlepage - } -\else - \newenvironment{abstract}{% + \else \if@twocolumn\if@abstrt \addsec*{\abstractname} \fi @@ -1770,10 +1741,14 @@ \fi \quotation \fi - }{% + \fi +}{% + \if@titlepage + \par\vfil\null\endtitlepage + \else \if@twocolumn\else\endquotation\fi - } -\fi + \fi +} %%% From File: scrksect.dtx \newcommand*\appendix{\par% \setcounter{chapter}{0}% @@ -3098,6 +3073,8 @@ \setcounter{dbltopnumber}{2} \renewcommand*\dbltopfraction{.7} \renewcommand*\dblfloatpagefraction{.5} +\newcommand*{\captionof}[1]{\def\@captype{#1}\caption} +\BeforePackage{capt-of}{\let\captionof\relax} \newcommand*\figurename{Figure} \newcommand*\tablename{Table} \newcounter{figure}[chapter] |