diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/paralist')
-rw-r--r-- | Master/texmf-dist/tex/latex/paralist/paralist.sty | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/paralist/paralist.sty b/Master/texmf-dist/tex/latex/paralist/paralist.sty index efaf694688f..46809e1a590 100644 --- a/Master/texmf-dist/tex/latex/paralist/paralist.sty +++ b/Master/texmf-dist/tex/latex/paralist/paralist.sty @@ -32,7 +32,7 @@ %% Right brace \} Tilde \~} %% \ProvidesPackage{paralist}% - [2002/03/18 v2.3b Extended list environments (BS)] + [2013/06/09 v2.4 Extended list environments] \NeedsTeXFormat{LaTeX2e} \newif\if@plnewitem\@plnewitemtrue \newif\if@plnewenum\@plnewenumtrue @@ -106,7 +106,7 @@ \fi \fi \if@pldoadjust - \csname c@\@enumctr\endcsname7 + \setcounter{\@enumctr}{\@enum@widestlabel} \settowidth{\@tempdima}{% \csname label\@enumctr\endcsname\hspace{\labelsep}}% \advance\@listdepth by 1\relax @@ -186,6 +186,10 @@ \fi \expandafter\edef\csname label\@enumctr\endcsname{\the\pl@lab}% \expandafter\let\csname the\@enumctr\endcsname\pl@the + \@ifnextchar[{\@enumwidestlabel@{#1}}{\@enumwidestlabel@{#1}[7]}% +} +\def\@enumwidestlabel@#1[#2]{% + \def\@enum@widestlabel{#2} #1} \def\@itemlabel@#1[#2]{% \@plmylabeltrue @@ -466,7 +470,6 @@ \PackageInfo{Paralist}{% Using the configuration file paralist.cfg}}{} \fi - \endinput %% %% End of file `paralist.sty'. |