色彩更多,欢乐更多。
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{casual}
\moderncvcolor{blue}
\usepackage{lipsum}
\usepackage[scale=0.75]{geometry}
\firstname{John}
\familyname{Smith}
\begin{document}
\makeatletter
\renewcommand*{\opening}[1]{\def\@opening{{\color{color1}#1}}}
\renewcommand*{\closing}[1]{\def\@closing{{\color{color1}#1}}}
\makeatother
\renewcommand*{\addressfont}{\normalsize\mdseries\slshape\color{color2}}
\recipient{HR Department}{Corporation\\123 Pleasant Lane\\12345 City, State}
\date{\today}
\opening{Dear Sir or Madam,}
\closing{Sincerely yours,}
\enclosure[Attached]{curriculum vit\ae{}}
\makelettertitle
This is the letter text, no wombats can be found here.
\makeletterclosing
\end{document}