summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/moderncv/tweaklist.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv/tweaklist.sty')
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/tweaklist.sty16
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/moderncv/tweaklist.sty b/Master/texmf-dist/tex/latex/moderncv/tweaklist.sty
index 096bc3f4590..adc93989326 100644
--- a/Master/texmf-dist/tex/latex/moderncv/tweaklist.sty
+++ b/Master/texmf-dist/tex/latex/moderncv/tweaklist.sty
@@ -33,8 +33,10 @@
\expandafter
\list
\csname label\@enumctr\endcsname
- {\usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}%
- \enumhook \csname enumhook\romannumeral\the\@enumdepth\endcsname}%
+ {%
+ \enumhook \csname enumhook\romannumeral\the\@enumdepth\endcsname%
+ \usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}%
+ }%
\fi}
\def\itemize{%
\ifnum \@itemdepth >\thr@@\@toodeep\else
@@ -43,10 +45,12 @@
\expandafter
\list
\csname\@itemitem\endcsname
- {\def\makelabel##1{\hss\llap{##1}}%
- \itemhook \csname itemhook\romannumeral\the\@itemdepth\endcsname}%
+ {%
+ \itemhook \csname itemhook\romannumeral\the\@itemdepth\endcsname%
+ \def\makelabel##1{\hss\llap{##1}}%
+ }%
\fi}
\newenvironment{description}
- {\list{}{\labelwidth\z@ \itemindent-\leftmargin
- \let\makelabel\descriptionlabel\deschook}}
+ {\list{}{\deschook\labelwidth\z@ \itemindent-\leftmargin
+ \let\makelabel\descriptionlabel}}
{\endlist}