restore previous cvlistitem spacing, resolves #188 (#189)

This commit is contained in:
daniel 2024-05-16 21:15:59 +02:00 committed by GitHub
commit 1f82bb91d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -49,7 +49,7 @@
\@initializelength{\listitemcolumnwidth} \@initializelength{\listitemcolumnwidth}
% used by \cvlistdoubleitem % used by \cvlistdoubleitem
\@initializelength{\listdoubleitemcolumnwidth} \@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 % 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}}% \RenewDocumentCommand{\photo}{O{\hintscolumnwidth-0.8pt-2\fboxsep}O{0.4pt}m}{\def\@photowidth{#1}\def\@photoframewidth{#2}\def\@photo{#3}}%

View file

@ -88,7 +88,7 @@
\@initializelength{\listitemcolumnwidth} \@initializelength{\listitemcolumnwidth}
% used by \cvlistdoubleitem % used by \cvlistdoubleitem
\@initializelength{\listdoubleitemcolumnwidth} \@initializelength{\listdoubleitemcolumnwidth}
\@initializelength{\listitemsymbolspace} \settowidth{\listitemsymbolspace}{0pt} \@initializelength{\listitemsymbolspace} \setlength{\listitemsymbolspace}{0pt}
% commands % commands
\renewcommand*{\recomputecvbodylengths}{% \renewcommand*{\recomputecvbodylengths}{%

View file

@ -49,7 +49,7 @@
\@initializelength{\listitemcolumnwidth} \@initializelength{\listitemcolumnwidth}
% used by \cvlistdoubleitem % used by \cvlistdoubleitem
\@initializelength{\listdoubleitemcolumnwidth} \@initializelength{\listdoubleitemcolumnwidth}
\@initializelength{\listitemsymbolspace} \settowidth{\listitemsymbolspace}{0pt} \@initializelength{\listitemsymbolspace} \setlength{\listitemsymbolspace}{0pt}
% commands % commands
\renewcommand*{\recomputecvbodylengths}{% \renewcommand*{\recomputecvbodylengths}{%

View file

@ -53,7 +53,7 @@
% used by \cvlistdoubleitem % used by \cvlistdoubleitem
\@initializelength{\listdoubleitemcolumnwidth} \@initializelength{\listdoubleitemcolumnwidth}
%\@initializelength{\listdoubleitemmaincolumnwidth} %\@initializelength{\listdoubleitemmaincolumnwidth}
\@initializelength{\listitemsymbolspace} \settowidth{\listitemsymbolspace}{0pt} \@initializelength{\listitemsymbolspace} \setlength{\listitemsymbolspace}{0pt}
% commands % commands
\@initializecommand{\recomputecvbodylengths}{% \@initializecommand{\recomputecvbodylengths}{%

View file

@ -53,7 +53,7 @@
\@initializelength{\listitemcolumnwidth} \@initializelength{\listitemcolumnwidth}
% used by \cvlistdoubleitem % used by \cvlistdoubleitem
\@initializelength{\listdoubleitemcolumnwidth} \@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 % 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}}% \RenewDocumentCommand{\photo}{O{\hintscolumnwidth-0.8pt-2\fboxsep}O{0.4pt}m}{\def\@photowidth{#1}\def\@photoframewidth{#2}\def\@photo{#3}}%