diff options
author | Karl Berry <karl@freefriends.org> | 2011-12-20 01:11:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-12-20 01:11:12 +0000 |
commit | bab3fcb32bd0ad0316456ecb37ef4b3609064f79 (patch) | |
tree | 124f2e9629f1ff9cf7fc5cf36fd157a63c21e901 /Master/texmf-dist/tex/latex/moderncv/tweaklist.sty | |
parent | b900237b52142fc387930db473e26d901673a414 (diff) |
moderncv 0.15 (19dec11)
git-svn-id: svn://tug.org/texlive/trunk@24875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv/tweaklist.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/moderncv/tweaklist.sty | 16 |
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} |