I am running Debian 10 ("Buster") and texlive. Trying to use the moderncvskillsmatrix widget, which isn't included in my distro, so I've installed the hacked version from:


I much prefer this layout to the "official" one, for the reasons given in the blog. Unfortunately, it doesn't play nice with my distro; the cells of the table are not well aligned. Here is my MWE:





\section{Skill matrix}



\cvskillentry*{Category}{Skill}{3}{Comment goes here}




The result is:


You can see I've tried playing around with the formatting commands (commented out) but they don't really help much. For example, same script but un-commented:


I gather this has something to do with the blog author's hacks having removed a column from the table, and re-ordered things -- I suppose he has no issues in his LaTeX distro and config. But unfortunately I don't (yet) know enough TeX to figure out exactly where things are going wrong and hack a solution of my own.

Log for completeness:


1 Answer 1


From the .log it seems you are running an old version (2015) of moderncv

(1) Use the distribution from CTAN A modern curriculum vitae class

(2) Correct the line \cvskillentry (missing number).

(3) Output a

This is the complete file. The command \listfiles at the beginning will add a list of all loaded files and their versions at the end of the .log file.

% !TeX TS-program = pdflatex







\section{Skill matrix}

%% Usage \cvskillhead[<post_padding>][<Level>][<Skill>][<Years>][<Comment>]%
\cvskillhead[-0.1em]%   this inserts the standard legend in english and adjust padding

%% \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}% 

\cvskillentry*{Category}{3}{Skill}{3}{Comment goes here} % changed <<<<<<<<<<<<<<<<<<<<<<<

%% Usage \cvskilllegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>}


At the end of the the .log file the listing of loaded files included

moderncvheadi.sty    2022-02-21 v2.3.1 modern curriculum vitae and letter header variant: 1
moderncvbodyi.sty    2022-02-21 v2.3.1 modern curriculum vitae and letter body variant: 1
moderncvskillmatrix.sty    2022-02-21 v2.3.1 modern curriculum vitae and letter skill matrix

Compiled in a windows machine

pdflatex: security risk: running with elevated privileges
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (MiKTeX 21.3)
entering extended mode
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18>
Document Class: moderncv 2022-02-21 v2.3.1 modern curriculum vitae and letter document class
  • Definitely I will be upgrading to Debian 11 (and therefore texlive and moderncv) soon, so that will help. And learning the \listfiles command is very useful. However, this answer doesn't quite apply to my question because I was asking in the context of the modified version of moderncvskillsmatrix linked in the blog. Still, upgrading to a new moderncv version might fix the issue regardless, and if so I'll mark this answer correct. I'll test as soon as I am able. Mar 13, 2022 at 2:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .