Correct documentation to reflect new order color before style (#257)

* Correct documentation to reflect new order \moderncvcolor before \moderncvstyle

* adds a direct hint on the command order for style and color

* manually update the userguide.pdf: color and style order

* correct ordering in CHANGELOG for older PR
This commit is contained in:
daniel 2026-02-05 22:25:19 +01:00 committed by GitHub
commit c7d7427f97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View file

@ -240,17 +240,17 @@ where at most one value for each option can be passed to the document class:
\end{tabular}
\subsubsection*{Choosing a \texttt{moderncv} style and color}
Choose a \Moderncv style and color by adjusting the commands
Choose a \Moderncv style and color by adjusting the commands (command order is important!):
\begin{lstlisting}
\moderncvstyle{<style>}
\moderncvcolor{<color>}
\moderncvstyle{<style>}
\end{lstlisting}
As explained in \cvtemplate, the possible values are
\begin{tabular}{r@{\hspace{2ex}}p{0.65\textwidth}}
\textbf{\code{color}:} & \code{black} \cvdoccolorbox{black}, \code{blue} \cvdoccolorbox{cvblue} (default), \code{burgundy} \cvdoccolorbox{cvburgundy}, \code{green} \cvdoccolorbox{cvgreen}, \code{grey} \cvdoccolorbox{cvgrey}, \code{orange} \cvdoccolorbox{cvorange}, \code{purple} \cvdoccolorbox{cvpurple}, \code{red} \cvdoccolorbox{cvred}\\
\textbf{\code{style}:} & \code{casual} (default), \code{classic}, \code{banking}, \code{oldstyle},
\code{fancy} \\
\textbf{\code{color}:} & \code{black} \cvdoccolorbox{black}, \code{blue} \cvdoccolorbox{cvblue} (default), \code{burgundy} \cvdoccolorbox{cvburgundy}, \code{green} \cvdoccolorbox{cvgreen}, \code{grey} \cvdoccolorbox{cvgrey}, \code{orange} \cvdoccolorbox{cvorange}, \code{purple} \cvdoccolorbox{cvpurple}, \code{red} \cvdoccolorbox{cvred}
\code{fancy}
\end{tabular}
\note Some of the styles take additional options to fine-tune their appearance.