Correct documentation to reflect new order \moderncvcolor before \moderncvstyle

This commit is contained in:
LLdaniel 2025-09-25 10:41:08 +02:00
commit 5246ac12e7
2 changed files with 4 additions and 3 deletions

View file

@ -15,6 +15,7 @@ version next
- Add contemporary CV header style to cover letter, which also makes icons
visible (#186)
- Fix minor horizontal spacing issue in 'contemporary' style header
- Correct documentation to reflect new order \moderncvcolor before \moderncvstyle (#256)
version 2.4.1 (18 Jul 2024)
- Fix commons/colors.tex not found in package (#194)

View file

@ -242,15 +242,15 @@ where at most one value for each option can be passed to the document class:
\subsubsection*{Choosing a \texttt{moderncv} style and color}
Choose a \Moderncv style and color by adjusting the commands
\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.