introduce \setcvskillcolumns to adjust the cvskill matrix columns

This commit is contained in:
David 2021-01-19 19:43:33 +01:00
commit 867761fc49
2 changed files with 74 additions and 40 deletions

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{banking} % style options are 'casual' (default), 'classic', 'banking', 'oldstyle' and 'fancy'
\moderncvstyle{classic} % 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,9 +110,11 @@ Detailed achievements:%
\cvitemwithcomment{Language 3}{Skill level}{Comment}
\section{Computer skills}
\skillMatrixColumnWidth[3em][]
\setcvskillcolumns[][0.45][\widthof{``Year''}]%
% \setcvskillcolumns[\widthof{``Languag''}][0.48][]
% \setcvskillcolumns[\widthof{``Languag''}]%
% % Add a legend if you are usng \cvSkill{<1-5>} commant
\cvSkillMatrixLegend*[1em]{} %Optional add a Legend descriptor or a star for dashed lines.
\cvSkillMatrixLegend*[1em]{}% %Optional add a Legend descriptor or a star for dashed lines.
% \cvSkillMatrixLegend*{Legend}
\cvdoubleitem{Languages}{\cvSkill{1}, Bash, 2 years}{category 4}{XXX, YYY, ZZZ}
\cvdoubleitem{category 2}{XXX, YYY, ZZZ}{category 5}{XXX, YYY, ZZZ}