From a4b4fe9b8e684a9b066a240299bdefb3184d7e9a Mon Sep 17 00:00:00 2001 From: Xavier Danaux Date: Tue, 30 Oct 2012 20:12:05 -0400 Subject: [PATCH] Updated the banking style header to include the option to show a title --- moderncvstylebanking.sty | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/moderncvstylebanking.sty b/moderncvstylebanking.sty index 7d8d863..5fd470c 100644 --- a/moderncvstylebanking.sty +++ b/moderncvstylebanking.sty @@ -87,8 +87,9 @@ \hfil% \parbox{\maketitlewidth}{% \centering% - % name (title is not visible) - \namestyle{\@firstname~\@familyname}\\% + % name and title + \namestyle{\@firstname~\@familyname}% + \ifthenelse{\isundefined{\@title}}{}{\titlestyle{~|~\@title}}\\% % detailed information \addressfont\color{color2}% \ifthenelse{\isundefined{\@addressstreet}}{}{\addtomaketitle{\addresssymbol\@addressstreet}% @@ -107,8 +108,8 @@ %------------------------------------------------------------------------------- % fonts \renewcommand*{\namefont}{\Huge\bfseries\upshape} -\renewcommand*{\titlefont}{\LARGE\mdseries\slshape} -\renewcommand*{\addressfont}{\small\mdseries\upshape} +\renewcommand*{\titlefont}{\Huge\mdseries\upshape} +\renewcommand*{\addressfont}{\normalsize\mdseries\upshape} \renewcommand*{\quotefont}{\large\slshape} \renewcommand*{\sectionfont}{\Large\bfseries\upshape} \renewcommand*{\subsectionfont}{\large\upshape\fontseries{sb}\selectfont} @@ -116,7 +117,7 @@ % styles \renewcommand*{\namestyle}[1]{{\namefont\textcolor{color1}{#1}}} -\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}} +\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2!85}{#1}}} \renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}} \renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} \renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}}