[contemporary] Properly support skill matrix

This commit is contained in:
Javier Lopez-Gomez 2024-05-01 13:47:23 +02:00
commit 02a928723b
2 changed files with 12 additions and 0 deletions

View file

@ -18,6 +18,10 @@
% required packages % required packages
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\RequirePackage{moderncvverticaltimeline} \RequirePackage{moderncvverticaltimeline}
% No customization currently exists for `modercvbodyvi`; just reuse
% `moderncvbodyi`. We might consider supporting a short table format (only skill
% name and rating) in the future.
\RequirePackage[moderncvbodyi,circle]{moderncvskillmatrix}
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
@ -61,6 +65,7 @@
\setlength{\doubleitemcolumnwidth}{0.5\doubleitemcolumnwidth}% \setlength{\doubleitemcolumnwidth}{0.5\doubleitemcolumnwidth}%
\setlength{\listdoubleitemcolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}% \setlength{\listdoubleitemcolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
\setlength{\listdoubleitemcolumnwidth}{0.5\listdoubleitemcolumnwidth}% \setlength{\listdoubleitemcolumnwidth}{0.5\listdoubleitemcolumnwidth}%
\recompute@cvskillmatrix@lengths
% regular lengths % regular lengths
\setlength{\parskip}{0\p@}} \setlength{\parskip}{0\p@}}

View file

@ -41,6 +41,13 @@
% symbols % symbols
\moderncvicons{marvosym} \moderncvicons{marvosym}
%-------------------------------------------------------------------------------
% Colors
%-------------------------------------------------------------------------------
% skillmatrix
\colorlet{bodyrulecolor}{color1}
\colorlet{skillmatrixfullcolor}{color1}
\colorlet{skillmatrixemptycolor}{color2!30}
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% header, body & footer % header, body & footer