diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty index d4a87982091..c179276d7b0 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty @@ -239,21 +239,21 @@ \DeclareDocumentCommand{\newlistof}{o m m m} {% -\IfValueTF{#1} -{\newlistentry[#1]{#2}{#3}{0}} -{\newlistentry{#2}{#3}{0}} -\@namedef{ext@#2}{#3} -\@ifundefined{c@#3depth}{\newcounter{#3depth}}{} -\setcounter{#3depth}{1} -\@namedef{cftmark#3}{} -\@namedef{listof#2}{\listof{#2}{#4}} -\@namedef{@cftmake#3title}{} -\expandafter\newlength\csname cftbefore#3titleskip\endcsname -\expandafter\newlength\csname cftafter#3titleskip\endcsname -\@namedef{cft#3titlefont}{} -\@namedef{cftafter#3title}{} -\@namedef{cft#3prehook}{} -\@namedef{cft#3posthook}{} + \IfValueTF{#1}% + {\newlistentry[#1]{#2}{#3}{0}}% + {\newlistentry{#2}{#3}{0}}% + \@namedef{ext@#2}{#3}% + \@ifundefined{c@#3depth}{\newcounter{#3depth}}{}% + \setcounter{#3depth}{1}% + \@namedef{cftmark#3}{}% + \@namedef{listof#2}{\listof{#2}{#4}}% + \@namedef{@cftmake#3title}{}% + \expandafter\newlength\csname cftbefore#3titleskip\endcsname% + \expandafter\newlength\csname cftafter#3titleskip\endcsname% + \@namedef{cft#3titlefont}{}% + \@namedef{cftafter#3title}{}% + \@namedef{cft#3prehook}{}% + \@namedef{cft#3posthook}{}% } \newcommand{\cftchapterprecis}[1]{% |