From 0eecbe41f434df42fd6db358c560fbe723414f1d Mon Sep 17 00:00:00 2001 From: David Date: Wed, 20 Jan 2021 00:36:33 +0100 Subject: [PATCH] fix \setcvskilllegendcolumns not working for bodyiv --- moderncvskillmatrix.sty | 1 - template.tex | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/moderncvskillmatrix.sty b/moderncvskillmatrix.sty index 5ae0d1e..8d58f16 100644 --- a/moderncvskillmatrix.sty +++ b/moderncvskillmatrix.sty @@ -282,7 +282,6 @@ \fi% \if@moderncvbodyiv% \setlength{\skilllegend@bodylength}{\maincolumnwidth-\skilllegend@hintscolumnwidth-\separatorcolumnwidth}% - \par\@aftersectionfalse\ignorespaces% \fi% % in case second argument is given but left empty use default \ifdefempty{\arg@new@legend@leftDescriptorFactor}{% diff --git a/template.tex b/template.tex index c931e55..5dc8e29 100644 --- a/template.tex +++ b/template.tex @@ -9,7 +9,7 @@ \documentclass[11pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman') % moderncv themes -\moderncvstyle{fancy} % style options are 'casual' (default), 'classic', 'banking', 'oldstyle' and 'fancy' +\moderncvstyle{oldstyle} % style options are 'casual' (default), 'classic', 'banking', 'oldstyle' and 'fancy' \moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red' %\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name %\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page @@ -110,10 +110,10 @@ Detailed achievements:% \cvitemwithcomment{Language 3}{Skill level}{Comment} \section{Computer skills} -% \setcvskillcolumns[][0.45][\widthof{``Year''}]% +\setcvskillcolumns[][0.45][\widthof{``Year''}]% % \setcvskillcolumns[\widthof{``Languag''}][0.48][] % \setcvskillcolumns[\widthof{``Languag''}]% -% \setcvskilllegendcolumns[0ex][0.5]% +\setcvskilllegendcolumns[][0.46]% % for the fancy style, there needs to be a % after this command % \setcvskilllegendcolumns[0ex][0.46]% % % Add a legend if you are usng \cvskill{<1-5>} commant