diff --git a/moderncv.cls b/moderncv.cls index f00afc8..f5c53bf 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -312,34 +312,39 @@ % usage: \makefooter \newcommand*{\makefooter}{}% +\newcommand*{\@loadmoderncvpackage}[3][]{% + \begingroup\edef\x{\endgroup% + \noexpand\RequirePackage[#1]{moderncv#2\ifcase#3\or i\or ii\or iii\or iv\or v\or vi\or vii\or viii\or ix\or x\fi}% + }\x} + % loads a style variant (a combination of header, body and footer) % usage: \moderncvstyle{