Since the last update of moderncv package I can't compile my CV anymore. It has worked for years before.

There seems to be an option clash. Here's a short version of what I am talking about:


\moderncvbody{1} % classic



\section{My professions}
  • Do you get an error message? If yes, what is the exact text of the error?
    – Marijn
    Mar 6, 2021 at 14:05
  • I get ! LaTeX Error: Option clash for package moderncvskillmatrix. @Marijn Mar 6, 2021 at 14:35
  • Yes, that's the error I get. So how can I fix this? It was always working before with the same template.
    – fs27
    Mar 6, 2021 at 17:30
  • What's strange is that I still get a PDF output, but I can't see anything when I compile it.
    – fs27
    Mar 10, 2021 at 15:25

2 Answers 2


With the current version 2.1.0 of class moderncv was a new package added to all moderncvbodyx.sty files (with x from i to vi). This new package moderncvskillmatrix calls options like moderncvbodyi to know where it comes from.

Calling \moderncvstyle[left, norules]{banking} calls internal moderncvbodyiii which calls moderncvskillmatrix with option moderncvbodyiii resulting later in the error message ...

Calling \moderncvbody{1} to get the layout of the body from style classic itself calls package moderncvskillmatrix with option moderncvbodyi. Now you have the option clash, same package called with two different options ...

To get what you want, the header of style banking and the body of style classic you can omit calling style banking. Call instead simply \moderncvhead{3} to get the same result.

So with the following MWE (important code changes marked with <=========)


%\moderncvstyle[left, norules]{banking} % 
\moderncvhead{3} % banking <============================================
\moderncvbody{1} % classic

\name{Max}{Mustermann} % <==============================================


\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}  % arguments 3 to 6 can be left empty

\section{Master thesis}
\cvitem{title}{\emph{Title}} % <========================================
\cvitem{description}{Short thesis abstract}

\cventry{year--year}{Job title}{Employer}{City}{}{General description no longer than 1--2 lines.\newline{}
Detailed achievements:
\item Achievement 1
\item Achievement 2 (with sub-achievements)
  \item Sub-achievement (a);
  \item Sub-achievement (b), with sub-sub-achievements (don't do this!);
    \item Sub-sub-achievement i;
    \item Sub-sub-achievement ii;
    \item Sub-sub-achievement iii;
  \item Sub-achievement (c);
\item Achievement 3
\item Achievement 4
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2\newline{}}
\cventry{year--year}{Job title}{Employer}{City}{}{Description}

you get the wished resulting pdf:

resulting pdf

Please see that I changed depreciated commands of class moderncv to the new ones ...


I had the same problem and found a very usefull help here : https://nuanceabounds.org/fix-latex-package-option-clash-error-passoptionstopackage/ which basically made me add \PassOptionsToPackage{moderncvbodyiii,moderncvbodyi}{moderncvskillmatrix} at the very beginning of my tex document. Now it works perfectly :)

  • Thank you very much! Now it works.
    – fs27
    Mar 19, 2021 at 9:00

You must log in to answer this question.

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