1

I have a nested tabu environment in the moderncv class

\documentclass{moderncv} 
\usepackage{tabu} 
\usepackage[utf8]{inputenc} 

\firstname{John} 
\familyname{Smith} 

\begin{document} 

\begin{tabu}{|X|X|} 
   hello & hey\\ 
   nested & \begin{tabu}{X} 
      yes\\no\\ 
   \end{tabu} 
\end{tabu} 

\end{document} 

which gets me the error

|17 error| Illegal unit of measure (pt inserted). \[email protected]  \end{tabu}                       
|17 error| Missing = inserted for \ifdim. \[email protected]  \end{tabu}
|17 error| Illegal unit of measure (pt inserted). \[email protected]  \end{tabu}

It works fine if I change the class to article for example. Does anyone now the conflict with moderncv here?

1
  • I want to add that this worked a couple of months ago, so it might be a change in modercv. (Upgrade OpenSuSe 42.3->15.0) Aug 30, 2018 at 12:50

1 Answer 1

1

The conflict is probably not with moderncv, but with the colortbl package, which gets loaded by moderncv via \RequirePackage[table]{xcolor}.

This conflict occured after an update of the colortbl package. Compare with this topic There is also a workaround for nesting with tabu.

You must log in to answer this question.

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