fix \setcvskilllegendcolumns not working for bodyiv

This commit is contained in:
David 2021-01-20 00:36:33 +01:00
commit 0eecbe41f4
2 changed files with 3 additions and 4 deletions

View file

@ -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}{%

View file

@ -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