mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Correction to list spacing
This commit is contained in:
parent
7b7e28a172
commit
ea9ddf7eff
2 changed files with 12 additions and 6 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue