add skillmatrix to casual and classic styles

This commit is contained in:
David 2021-01-16 00:22:36 +01:00
commit ddede375ed
3 changed files with 123 additions and 121 deletions

View file

@ -50,6 +50,9 @@
% 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}}%
%% include moderncv Skillmatrix code
\input{moderncvbodyiskillmatrix.sty}
% commands
\renewcommand*{\recomputecvbodylengths}{%
% body lengths
@ -59,11 +62,10 @@
\setlength{\doubleitemcolumnwidth}{0.5\doubleitemcolumnwidth}%
\setlength{\listdoubleitemcolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
\setlength{\listdoubleitemcolumnwidth}{0.5\listdoubleitemcolumnwidth}%
\recomputecvskillmatrixlengths
% regular lengths
\setlength{\parskip}{0\p@}}
%% include moderncv code
\input{moderncvskillmatrix.sty}
\@initializelength{\baseletterheight}
\settoheight{\baseletterheight}{\sectionstyle{o}}