From 02a928723b7f8b5724e8ec3860a5b68b60dd9461 Mon Sep 17 00:00:00 2001 From: Javier Lopez-Gomez Date: Wed, 1 May 2024 13:47:23 +0200 Subject: [PATCH] [contemporary] Properly support skill matrix --- moderncvbodyvi.sty | 5 +++++ moderncvstylecontemporary.sty | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/moderncvbodyvi.sty b/moderncvbodyvi.sty index 8a765ce..60f9997 100644 --- a/moderncvbodyvi.sty +++ b/moderncvbodyvi.sty @@ -18,6 +18,10 @@ % required packages %------------------------------------------------------------------------------- \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{\listdoubleitemcolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}% \setlength{\listdoubleitemcolumnwidth}{0.5\listdoubleitemcolumnwidth}% + \recompute@cvskillmatrix@lengths % regular lengths \setlength{\parskip}{0\p@}} diff --git a/moderncvstylecontemporary.sty b/moderncvstylecontemporary.sty index a37c856..848b94d 100644 --- a/moderncvstylecontemporary.sty +++ b/moderncvstylecontemporary.sty @@ -41,6 +41,13 @@ % symbols \moderncvicons{marvosym} +%------------------------------------------------------------------------------- +% Colors +%------------------------------------------------------------------------------- +% skillmatrix +\colorlet{bodyrulecolor}{color1} +\colorlet{skillmatrixfullcolor}{color1} +\colorlet{skillmatrixemptycolor}{color2!30} %------------------------------------------------------------------------------- % header, body & footer