File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 468
468
\RequirePackage {tweaklist}% distributed with moderncv, not found on ctan and slightly modified
469
469
\renewcommand *{\itemhook }{
470
470
\setlength {\topsep }{0pt}%
471
+ \setlength {\parsep }{0pt}%
472
+ \setlength {\parskip }{0pt}%
471
473
\setlength {\itemsep }{0pt}}
472
474
\renewcommand *{\enumhook }{\itemhook {}}
473
475
\renewcommand *{\deschook }{\itemhook {}}
Original file line number Diff line number Diff line change 33
33
\expandafter
34
34
\list
35
35
\csname label\@enumctr \endcsname
36
- {\usecounter\@enumctr\def\makelabel ##1{\hss\llap {##1}}%
37
- \enumhook \csname enumhook\romannumeral\the\@enumdepth \endcsname }%
36
+ {%
37
+ \enumhook \csname enumhook\romannumeral\the\@enumdepth \endcsname %
38
+ \usecounter\@enumctr\def\makelabel ##1{\hss\llap {##1}}%
39
+ }%
38
40
\fi }
39
41
\def\itemize {%
40
42
\ifnum \@itemdepth >\thr@@\@toodeep \else
43
45
\expandafter
44
46
\list
45
47
\csname \@itemitem \endcsname
46
- {\def\makelabel ##1{\hss\llap {##1}}%
47
- \itemhook \csname itemhook\romannumeral\the\@itemdepth \endcsname }%
48
+ {%
49
+ \itemhook \csname itemhook\romannumeral\the\@itemdepth \endcsname %
50
+ \def\makelabel ##1{\hss\llap {##1}}%
51
+ }%
48
52
\fi }
49
53
\newenvironment {description}
50
- {\list {}{\labelwidth\z@ \itemindent -\leftmargin
51
- \let\makelabel\descriptionlabel\deschook }}
54
+ {\list {}{\deschook\ labelwidth\z@ \itemindent -\leftmargin
55
+ \let\makelabel\descriptionlabel }}
52
56
{\endlist }
You can’t perform that action at this time.
0 commit comments