From 1f82bb91d7ee92fb7ef274db3778626e6af5339f Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 16 May 2024 21:15:59 +0200 Subject: [PATCH] restore previous cvlistitem spacing, resolves #188 (#189) --- moderncvbodyi.sty | 2 +- moderncvbodyiii.sty | 2 +- moderncvbodyiv.sty | 2 +- moderncvbodyv.sty | 2 +- moderncvbodyvi.sty | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/moderncvbodyi.sty b/moderncvbodyi.sty index 4f46194..8736f6a 100644 --- a/moderncvbodyi.sty +++ b/moderncvbodyi.sty @@ -49,7 +49,7 @@ \@initializelength{\listitemcolumnwidth} % used by \cvlistdoubleitem \@initializelength{\listdoubleitemcolumnwidth} -\@initializelength{\listitemsymbolspace} \settowidth{\listitemsymbolspace}{0pt} +\@initializelength{\listitemsymbolspace} \setlength{\listitemsymbolspace}{0pt} % default moderncv \photo (change the definition such that by default the photo and its box align with the section bars \RenewDocumentCommand{\photo}{O{\hintscolumnwidth-0.8pt-2\fboxsep}O{0.4pt}m}{\def\@photowidth{#1}\def\@photoframewidth{#2}\def\@photo{#3}}% diff --git a/moderncvbodyiii.sty b/moderncvbodyiii.sty index 453d821..c70895d 100644 --- a/moderncvbodyiii.sty +++ b/moderncvbodyiii.sty @@ -88,7 +88,7 @@ \@initializelength{\listitemcolumnwidth} % used by \cvlistdoubleitem \@initializelength{\listdoubleitemcolumnwidth} -\@initializelength{\listitemsymbolspace} \settowidth{\listitemsymbolspace}{0pt} +\@initializelength{\listitemsymbolspace} \setlength{\listitemsymbolspace}{0pt} % commands \renewcommand*{\recomputecvbodylengths}{% diff --git a/moderncvbodyiv.sty b/moderncvbodyiv.sty index 606d6d7..f606238 100644 --- a/moderncvbodyiv.sty +++ b/moderncvbodyiv.sty @@ -49,7 +49,7 @@ \@initializelength{\listitemcolumnwidth} % used by \cvlistdoubleitem \@initializelength{\listdoubleitemcolumnwidth} -\@initializelength{\listitemsymbolspace} \settowidth{\listitemsymbolspace}{0pt} +\@initializelength{\listitemsymbolspace} \setlength{\listitemsymbolspace}{0pt} % commands \renewcommand*{\recomputecvbodylengths}{% diff --git a/moderncvbodyv.sty b/moderncvbodyv.sty index 336dc83..24a779f 100644 --- a/moderncvbodyv.sty +++ b/moderncvbodyv.sty @@ -53,7 +53,7 @@ % used by \cvlistdoubleitem \@initializelength{\listdoubleitemcolumnwidth} %\@initializelength{\listdoubleitemmaincolumnwidth} -\@initializelength{\listitemsymbolspace} \settowidth{\listitemsymbolspace}{0pt} +\@initializelength{\listitemsymbolspace} \setlength{\listitemsymbolspace}{0pt} % commands \@initializecommand{\recomputecvbodylengths}{% diff --git a/moderncvbodyvi.sty b/moderncvbodyvi.sty index b7f2525..ec7405d 100644 --- a/moderncvbodyvi.sty +++ b/moderncvbodyvi.sty @@ -53,7 +53,7 @@ \@initializelength{\listitemcolumnwidth} % used by \cvlistdoubleitem \@initializelength{\listdoubleitemcolumnwidth} -\@initializelength{\listitemsymbolspace} \settowidth{\listitemsymbolspace}{0pt} +\@initializelength{\listitemsymbolspace} \setlength{\listitemsymbolspace}{0pt} % default moderncv \photo (change the definition such that by default the photo and its box align with the section bars \RenewDocumentCommand{\photo}{O{\hintscolumnwidth-0.8pt-2\fboxsep}O{0.4pt}m}{\def\@photowidth{#1}\def\@photoframewidth{#2}\def\@photo{#3}}%