diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrartcl.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/koma-script/scrartcl.cls | 107 |
1 files changed, 48 insertions, 59 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls b/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls index 9dc74cf92f6..7c2eeb8734f 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls @@ -92,7 +92,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2008/11/14 v3.01 KOMA-Script}% + \@CheckKOMAScriptVersion{2008/11/23 v3.01a KOMA-Script}% \endgroup \newcommand*{\KOMAClassName}{% scrartcl% @@ -113,7 +113,7 @@ \addtotoclist[float]{lof} \addtotoclist[float]{lot} %%% From File: scrkcomp.dtx -\newcommand*{\scr@compatibility}{0} +\newcommand*{\scr@compatibility}{\scr@v@last} \KOMA@key{version}[last]{% \scr@ifundefinedorrelax{scr@v@#1}{% \def\scr@compatibility{0}% @@ -123,6 +123,9 @@ Because of this, version was set to `first'% }% }{% + \ClassInfoNoLine{\KOMAClassName}{% + Switching compatibility level to `#1'% + }% \edef\scr@compatibility{\@nameuse{scr@v@#1}}% }% } @@ -158,6 +161,7 @@ \@namedef{scr@v@2.98c}{7} \@namedef{scr@v@3.00}{8} \@namedef{scr@v@3.01}{8} +\@namedef{scr@v@3.01a}{8} \@namedef{scr@v@last}{8} %%% From File: scrkmisc.dtx \KOMA@key{draft}[true]{% @@ -168,7 +172,7 @@ \setlength{\overfullrule}{\z@}% \fi } -\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{final}{draft=false} +\KOMA@DeclareStandardOption{final}{draft=false} \DeclareOption{leqno}{\input{leqno.clo}} \DeclareOption{fleqn}{\input{fleqn.clo}} %%% From File: scrklang.dtx @@ -281,11 +285,13 @@ \KOMA@key{twoside}[true]{% \if@atdocument\else\PassOptionsToPackage{twoside=#1}{typearea}\fi% } -\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{oneside}{twoside=false} +\KOMA@DeclareStandardOption% + {oneside}{twoside=false} \KOMA@key{twocolumn}[true]{% \if@atdocument\else\PassOptionsToPackage{twocolumn=#1}{typearea}\fi% } -\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{onecolumn}{twocolumn=false} +\KOMA@DeclareStandardOption% + {onecolumn}{twocolumn=false} \DeclareOption*{% \x@paper} %%% From File: scrkpar.dtx @@ -393,25 +399,24 @@ \endgroup \fi } -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{parskip-}{parskip=full-} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{parskip+}{parskip=full+} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{parskip*}{parskip=full*} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{halfparskip}{parskip=half} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{halfparskip-}{parskip=half-} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{halfparskip+}{parskip=half+} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{halfparskip*}{parskip=half*} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{parindent}{parskip=false} +\KOMA@DeclareDeprecatedOption{parskip-}{parskip=full-} +\KOMA@DeclareDeprecatedOption{parskip+}{parskip=full+} +\KOMA@DeclareDeprecatedOption{parskip*}{parskip=full*} +\KOMA@DeclareDeprecatedOption{halfparskip}{parskip=half} +\KOMA@DeclareDeprecatedOption{halfparskip-}{parskip=half-} +\KOMA@DeclareDeprecatedOption{halfparskip+}{parskip=half+} +\KOMA@DeclareDeprecatedOption{halfparskip*}{parskip=half*} +\KOMA@DeclareDeprecatedOption{parindent}{parskip=false} %%% From File: scrktitl.dtx \newif\if@titlepage \@titlepagefalse \KOMA@ifkey{titlepage}{@titlepage}% -\KOMA@DeclareObsoleteOption% - [\PackageInfoNoLine]% +\KOMA@DeclareStandardOption% {notitlepage}{titlepage=false} \newif\if@abstrt\@abstrtfalse \KOMA@ifkey{abstract}{@abstrt} -\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{abstracton}{abstract=true} -\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{abstractoff}{abstract=false} +\KOMA@DeclareStandardOption{abstracton}{abstract=true} +\KOMA@DeclareStandardOption{abstractoff}{abstract=false} %%% From File: scrksect.dtx %% \fi \newcommand*{\scr@dotchangeatdocument}[1]{% @@ -453,10 +458,8 @@ \newcommand*{\scr@altsecnumhookfalse}{% \@altsecnumformatfalse\global\let\@altsecnumformattrue\@altsecnumformatfalse } -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{pointednumbers}% - {numbers=enddot} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{pointlessnumbers}% - {numbers=noenddot} +\KOMA@DeclareDeprecatedOption{pointednumbers}{numbers=enddot} +\KOMA@DeclareDeprecatedOption{pointlessnumbers}{numbers=noenddot} \newcommand*{\size@part}{} \newcommand*{\size@partnumber}{} \newcommand*{\size@section}{} @@ -505,27 +508,22 @@ \or \fi } -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{bigheadings}% - {headings=big} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{normalheadings}% - {headings=normal} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{smallheadings}% - {headings=small} +\KOMA@DeclareDeprecatedOption{bigheadings}{headings=big} +\KOMA@DeclareDeprecatedOption{normalheadings}{headings=normal} +\KOMA@DeclareDeprecatedOption{smallheadings}{headings=small} %%% From File: scrkpage.dtx \newif\if@hsl \KOMA@key{headsepline}[true]{% \KOMA@set@ifkey{headsepline}{@hsl}{#1}% \KOMA@options{headinclude=#1}{}% } -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{headnosepline}{% - headsepline=false} +\KOMA@DeclareDeprecatedOption{headnosepline}{headsepline=false} \newif\if@fsl \KOMA@key{footsepline}[true]{% \KOMA@set@ifkey{footsepline}{@fsl}{#1}% \KOMA@options{footinclude=#1}{}% } -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{footnosepline}{% - footsepline=false} +\KOMA@DeclareDeprecatedOption{footnosepline}{footsepline=false} \@twosidefalse \KOMA@key{cleardoublepage}{% \begingroup% @@ -581,12 +579,9 @@ {\thispagestyle{#1}\cleardoublestandardpage}} \newcommand*{\cleardoubleemptypage}{\cleardoublepageusingstyle{empty}} \newcommand*{\cleardoubleplainpage}{\cleardoublepageusingstyle{plain}} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{cleardoubleempty}% - {cleardoublepage=empty} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{cleardoubleplain}% - {cleardoublepage=plain} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{cleardoublestandard}% - {cleardoublepage=current} +\KOMA@DeclareDeprecatedOption{cleardoubleempty}{cleardoublepage=empty} +\KOMA@DeclareDeprecatedOption{cleardoubleplain}{cleardoublepage=plain} +\KOMA@DeclareDeprecatedOption{cleardoublestandard}{cleardoublepage=current} %%% From File: scrkfloa.dtx \newif\if@tablecaptionabove\@tablecaptionabovefalse \newif\ifonelinecaptions\onelinecaptionstrue @@ -633,16 +628,12 @@ \renewcommand*{\scap@valign}{b}% \fi } -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{tablecaptionabove}% - {captions=tableheading} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{tablecaptionbelow}% - {captions=tablesignature} +\KOMA@DeclareDeprecatedOption{tablecaptionabove}{captions=tableheading} +\KOMA@DeclareDeprecatedOption{tablecaptionbelow}{captions=tablesignature} \newif\if@komalongtable\@komalongtabletrue \DeclareOption{origlongtable}{\@komalongtablefalse} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{onelinecaption} - {captions=oneline} -\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{noonelinecaption} - {captions=nooneline} +\KOMA@DeclareDeprecatedOption{onelinecaption}{captions=oneline} +\KOMA@DeclareDeprecatedOption{noonelinecaption}{captions=nooneline} %%% From File: scrkftn.dtx \KOMA@key{footnotes}{% \ifx\@footnotemark\scr@saved@footnotemark @@ -726,8 +717,8 @@ \@tocleftfalse \fi } -\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{tocleft}{toc=flat} -\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{tocindent}{toc=graduated} +\KOMA@DeclareDeprecatedOption{tocleft}{toc=flat} +\KOMA@DeclareDeprecatedOption{tocindent}{toc=graduated} \newcommand*{\float@@listhead}{% \section* } @@ -776,11 +767,10 @@ }% \fi } -\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{liststotoc}{listof=totoc} -\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{liststotocnumbered} - {listof=numbered} -\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{listsleft}{listof=flat} -\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{listsindent}{listof=graduated} +\KOMA@DeclareDeprecatedOption{liststotoc}{listof=totoc} +\KOMA@DeclareDeprecatedOption{liststotocnumbered}{listof=numbered} +\KOMA@DeclareDeprecatedOption{listsleft}{listof=flat} +\KOMA@DeclareDeprecatedOption{listsindent}{listof=graduated} %%% From File: scrkbib.dtx \newcommand{\newbibstyle}[3][]{% \scr@ifundefinedorrelax{scr@bibstyle@#2}{% @@ -866,10 +856,9 @@ \csname scr@bibstyle@#1\endcsname }% } -\KOMA@DeclareObsoleteOption[\ClassInfoNoLine]{openbib}{bibliography=openstyle} -\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{bibtotoc}{bibliography=totoc} -\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{bibtotocnumbered}{% - bibliography=totocnumbered} +\KOMA@DeclareStandardOption{openbib}{bibliography=openstyle} +\KOMA@DeclareDeprecatedOption{bibtotoc}{bibliography=totoc} +\KOMA@DeclareDeprecatedOption{bibtotocnumbered}{bibliography=totocnumbered} %%% From File: scrkidx.dtx \newcommand*{\idx@@heading}{% \section* @@ -889,7 +878,7 @@ }% \fi } -\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{idxtotoc}{index=totoc} +\KOMA@DeclareDeprecatedOption{idxtotoc}{index=totoc} %%% From File: scrklist.dtx %%% From File: scrkmisc.dtx \KOMAExecuteOptions{% @@ -2707,9 +2696,9 @@ \kern\multiplefootnotemarker\relax } \@ifundefined{FN@mf@prepare}{}{} -\newcommand*{\scr@saved@footnotetext}{} +\newcommand{\scr@saved@footnotetext}{} \let\scr@saved@footnotetext\@footnotetext -\renewcommand*{\@footnotetext}[1]{% +\renewcommand{\@footnotetext}[1]{% \scr@saved@footnotetext{#1}% \csname FN@mf@prepare\endcsname } |