Moved the font style definitions to moderncv.cls
This commit is contained in:
13
moderncv.cls
13
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{<title>}
|
||||
|
||||
@ -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}
|
||||
|
||||
@ -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}
|
||||
|
||||
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user