Correction to list spacing
This commit is contained in:
@ -468,6 +468,8 @@
|
|||||||
\RequirePackage{tweaklist}% distributed with moderncv, not found on ctan and slightly modified
|
\RequirePackage{tweaklist}% distributed with moderncv, not found on ctan and slightly modified
|
||||||
\renewcommand*{\itemhook}{
|
\renewcommand*{\itemhook}{
|
||||||
\setlength{\topsep}{0pt}%
|
\setlength{\topsep}{0pt}%
|
||||||
|
\setlength{\parsep}{0pt}%
|
||||||
|
\setlength{\parskip}{0pt}%
|
||||||
\setlength{\itemsep}{0pt}}
|
\setlength{\itemsep}{0pt}}
|
||||||
\renewcommand*{\enumhook}{\itemhook{}}
|
\renewcommand*{\enumhook}{\itemhook{}}
|
||||||
\renewcommand*{\deschook}{\itemhook{}}
|
\renewcommand*{\deschook}{\itemhook{}}
|
||||||
|
|||||||
@ -33,8 +33,10 @@
|
|||||||
\expandafter
|
\expandafter
|
||||||
\list
|
\list
|
||||||
\csname label\@enumctr\endcsname
|
\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}
|
\fi}
|
||||||
\def\itemize{%
|
\def\itemize{%
|
||||||
\ifnum \@itemdepth >\thr@@\@toodeep\else
|
\ifnum \@itemdepth >\thr@@\@toodeep\else
|
||||||
@ -43,10 +45,12 @@
|
|||||||
\expandafter
|
\expandafter
|
||||||
\list
|
\list
|
||||||
\csname\@itemitem\endcsname
|
\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}
|
\fi}
|
||||||
\newenvironment{description}
|
\newenvironment{description}
|
||||||
{\list{}{\labelwidth\z@ \itemindent-\leftmargin
|
{\list{}{\deschook\labelwidth\z@ \itemindent-\leftmargin
|
||||||
\let\makelabel\descriptionlabel\deschook}}
|
\let\makelabel\descriptionlabel}}
|
||||||
{\endlist}
|
{\endlist}
|
||||||
|
|||||||
Reference in New Issue
Block a user