[contemporary] Properly support qr and noqr options

This commit is contained in:
Javier Lopez-Gomez 2024-05-01 13:47:23 +02:00
commit b5d6a6e79f
2 changed files with 7 additions and 4 deletions

View file

@ -17,9 +17,11 @@
\@initializecommand{\moderncvstyleheadoptions}{}
\DeclareOption{left} {\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,left}}
\DeclareOption{right}{\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,right}}
\DeclareOption{qr} {\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,qr}}
\DeclareOption{noqr}{\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,noqr}}
\DeclareOption*{}% avoid choking on unknown options
\ExecuteOptions{left}
\ExecuteOptions{left,qr}
\ProcessOptions*\relax% \ProcessOptions* processes the options in the order provided (i.e., with the later ones possibly overriding the former ones), while \ProcessOptions processes them in the order of the package
%-------------------------------------------------------------------------------