diff --git a/moderncv.cls b/moderncv.cls index 5b5dbbd..844365c 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -291,6 +291,15 @@ \newcommand*{\subsectionfont}{} \newcommand*{\hintfont}{} +% styles +\newcommand*{\namestyle}[1]{{\namefont#1}} +\newcommand*{\titlestyle}[1]{{\titlefont#1}} +\newcommand*{\addressstyle}[1]{{\addressfont#1}} +\newcommand*{\quotestyle}[1]{{\quotefont#1}} +\newcommand*{\sectionstyle}[1]{{\sectionfont#1}} +\newcommand*{\subsectionstyle}[1]{{\subsectionfont#1}} +\newcommand*{\hintstyle}[1]{{\hintfont#1}} + % recompute all resume lengths \newcommand*{\recomputecvlengths}{} @@ -305,11 +314,11 @@ % makes the resume title % usage: \makecvtitle -\newcommand*{\makecvtitle}{}% +\newcommand*{\makecvtitle}{} % makes the resume footer % usage: \makecvfooter -\newcommand*{\makecvfooter}{\makefooter}% +\newcommand*{\makecvfooter}{\makefooter} % makes a resume section % usage: \section{} diff --git a/moderncvstylebanking.sty b/moderncvstylebanking.sty index 71dd7fa..b2bb8d6 100644 --- a/moderncvstylebanking.sty +++ b/moderncvstylebanking.sty @@ -107,13 +107,13 @@ \renewcommand*{\hintfont}{\bfseries} % styles -\newcommand*{\namestyle}[1]{{\namefont\textcolor{color1}{#1}}} -\newcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} -\newcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}} -\newcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} -\newcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} -\newcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} -\newcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} +\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color1}{#1}}} +\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} +\renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}} +\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} +\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} +\renewcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} +\renewcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} % lengths \newlength{\quotewidth} diff --git a/moderncvstyleclassic.sty b/moderncvstyleclassic.sty index f207d8f..5956132 100644 --- a/moderncvstyleclassic.sty +++ b/moderncvstyleclassic.sty @@ -58,13 +58,13 @@ \renewcommand*{\hintfont}{} % styles -\newcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}} -\newcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} -\newcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}} -\newcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} -\newcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} -\newcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} -\newcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} +\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}} +\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} +\renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}} +\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} +\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} +\renewcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} +\renewcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} % lengths \newlength{\quotewidth} diff --git a/moderncvstyleoldstyle.sty b/moderncvstyleoldstyle.sty index 291775e..07da570 100644 --- a/moderncvstyleoldstyle.sty +++ b/moderncvstyleoldstyle.sty @@ -65,13 +65,13 @@ \renewcommand*{\hintfont}{\bfseries} % styles -\newcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}} -\newcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} -\newcommand*{\addressstyle}[1]{{\addressfont\textcolor{color2}{#1}}} -\newcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} -\newcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} -\newcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} -\newcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} +\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}} +\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} +\renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color2}{#1}}} +\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} +\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} +\renewcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}} +\renewcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}} % lengths \newlength{\quotewidth}