diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tocloft/tocloft.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tocloft/tocloft.sty | 63 |
1 files changed, 31 insertions, 32 deletions
diff --git a/Master/texmf-dist/tex/latex/tocloft/tocloft.sty b/Master/texmf-dist/tex/latex/tocloft/tocloft.sty index 4724c1d4546..3f8b7d26340 100644 --- a/Master/texmf-dist/tex/latex/tocloft/tocloft.sty +++ b/Master/texmf-dist/tex/latex/tocloft/tocloft.sty @@ -6,25 +6,24 @@ %% %% tocloft.dtx (with options: `usc') %% -%% Author: Peter Wilson (CUA) now at peter.r.wilson@boeing.com -%% (or pandgwilson@earthlink.net) +%% Author: Peter Wilson, Herries Press +%% Maintainer: Will Robertson (will dot robertson at latex-project dot org) +%% Maintainer: Will Robertson (will dot robertson at latex-project dot org) %% Copyright 1998-2003 Peter R. Wilson +%% Copyright 2009 Will Robertson %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either -%% version 1.3 of this license or (at your option) any -%% later version. -%% The latest version of the license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of -%% LaTeX version 2003/06/01 or later. +%% version 1.3c of this license or (at your option) any +%% later version: <http://www.latex-project.org/lppl.txt> %% -%% This work has the LPPL maintenance status "author-maintained". +%% This work has the LPPL maintenance status "maintained". +%% The Current Maintainer of this work is Will Robertson. %% %% This work consists of the files listed in the README file. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tocloft}[2003/09/26 v2.3c parameterised ToC, etc., typesetting] +\ProvidesPackage{tocloft}[2009/09/04 v2.3d parameterised ToC, etc., typesetting] \providecommand{\PRWPackageNote}[2]{% \GenericWarning{% (#1)\@spaces\@spaces\@spaces\@spaces @@ -271,8 +270,8 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cftchapaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cftchapfont #1}\nobreak - \cftchapfillnum{#2}} - \fi} + \cftchapfillnum{#2}}% + \fi}% \fi \if@cfthaschapter \newlength{\cftbeforechapskip} @@ -289,7 +288,7 @@ Consider installing the current version of tocbibind.}} \newcommand{\cftchapdotsep}{\cftnodots} \newcommand{\cftchappagefont}{\bfseries} \newcommand{\cftchapafterpnum}{} - \newcommand{\cftchapfillnum}[1]{ + \newcommand{\cftchapfillnum}[1]{% {\cftchapleader}\nobreak \hb@xt@\@pnumwidth{\hfil\cftchappagefont #1}\cftchapafterpnum\par} \if@cftkoma @@ -317,7 +316,7 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cftsecaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cftsecfont #1}\nobreak - \cftsecfillnum{#2}} + \cftsecfillnum{#2}}% \fi} \newlength{\cftbeforesecskip} \newlength{\cftsecindent} @@ -362,7 +361,7 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cftsubsecaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cftsubsecfont #1}\nobreak - \cftsubsecfillnum{#2}} + \cftsubsecfillnum{#2}}% \fi} \newlength{\cftbeforesubsecskip} \setlength{\cftbeforesubsecskip}{\z@ \@plus.2\p@} @@ -402,7 +401,7 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cftsubsubsecaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cftsubsubsecfont #1}\nobreak - \cftsubsubsecfillnum{#2}} + \cftsubsubsecfillnum{#2}}% \fi} \newlength{\cftbeforesubsubsecskip} \setlength{\cftbeforesubsubsecskip}{\z@ \@plus.2\p@} @@ -442,7 +441,7 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cftparaaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cftparafont #1}\nobreak - \cftparafillnum{#2}} + \cftparafillnum{#2}}% \fi} \newlength{\cftbeforeparaskip} \setlength{\cftbeforeparaskip}{\z@ \@plus.2\p@} @@ -482,7 +481,7 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cftsubparaaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cftsubparafont #1}\nobreak - \cftsubparafillnum{#2}} + \cftsubparafillnum{#2}}% \fi} \newlength{\cftbeforesubparaskip} \setlength{\cftbeforesubparaskip}{\z@ \@plus.2\p@} @@ -518,7 +517,7 @@ Consider installing the current version of tocbibind.}} \fi \fi} -\AtBeginDocument{ +\AtBeginDocument{% \if@cftnctoc\else \renewcommand{\listoffigures}{% \@cfttocstart @@ -531,7 +530,7 @@ Consider installing the current version of tocbibind.}} \fi \@starttoc{lof}% \endgroup - \@cfttocfinish} + \@cfttocfinish}% \fi } @@ -583,7 +582,7 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cftfigaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cftfigfont #1}\nobreak - \cftfigfillnum{#2}} + \cftfigfillnum{#2}}% \fi } \newlength{\cftbeforefigskip} @@ -620,7 +619,7 @@ Consider installing the current version of tocbibind.}} \fi \fi} -\AtBeginDocument{ +\AtBeginDocument{% \if@cftnctoc\else \renewcommand{\listoftables}{% \@cfttocstart @@ -633,7 +632,7 @@ Consider installing the current version of tocbibind.}} \fi \@starttoc{lot}% \endgroup - \@cfttocfinish} + \@cfttocfinish}% \fi } @@ -685,7 +684,7 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cfttabaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cfttabfont #1}\nobreak - \cfttabfillnum{#2}} + \cfttabfillnum{#2}}% \fi } \newlength{\cftbeforetabskip} @@ -706,7 +705,7 @@ Consider installing the current version of tocbibind.}} {\cfttableader}\nobreak \hb@xt@\@pnumwidth{\hfil\cfttabpagefont #1}\cfttabafterpnum\par} -\newcommand{\@cftl@subfig}{ +\newcommand{\@cftl@subfig}{% \renewcommand*{\l@subfigure}[2]{% \ifnum \c@lofdepth > \toclevel@subfigure \vskip \cftbeforesubfigskip @@ -722,9 +721,9 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cftsubfigaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cftsubfigfont ##1}\nobreak - \cftsubfigfillnum{##2}} + \cftsubfigfillnum{##2}}% \fi - } + }% } \newcommand{\@cftsetsubfig}{% @@ -748,7 +747,7 @@ Consider installing the current version of tocbibind.}} \hb@xt@\@pnumwidth{\hfil\cftsubfigpagefont ##1}\cftsubfigafterpnum\par} } -\newcommand{\@cftl@subtab}{ +\newcommand{\@cftl@subtab}{% \renewcommand*{\l@subtable}[2]{% \ifnum \c@lotdepth > \toclevel@subtable \vskip \cftbeforesubtabskip @@ -764,11 +763,11 @@ Consider installing the current version of tocbibind.}} \let\@cftasnumb \cftsubtabaftersnumb \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip {\cftsubtabfont ##1}\nobreak - \cftsubtabfillnum{##2}} + \cftsubtabfillnum{##2}}% \fi - } + }% } -\newcommand{\@cftsetsubtab}{ +\newcommand{\@cftsetsubtab}{% \newlength{\cftbeforesubtabskip} \setlength{\cftbeforesubtabskip}{\z@ \@plus.2\p@} \newlength{\cftsubtabindent} @@ -830,7 +829,7 @@ Consider installing the current version of tocbibind.}} \expandafter\let\expandafter\@cftasnumb\csname cft#2aftersnumb\endcsname \advance\leftskip\@tempdima \null\nobreak\hskip -\leftskip {\@nameuse{cft#2font}##1}\nobreak - \@nameuse{cft#2fillnum}{##2}} + \@nameuse{cft#2fillnum}{##2}}% \fi } % end of \l@#2 |