Updated the banking style header to include the option to show a title

This commit is contained in:
Xavier Danaux
2012-10-30 20:12:05 -04:00
parent e00709f654
commit a4b4fe9b8e

View File

@ -87,8 +87,9 @@
\hfil% \hfil%
\parbox{\maketitlewidth}{% \parbox{\maketitlewidth}{%
\centering% \centering%
% name (title is not visible) % name and title
\namestyle{\@firstname~\@familyname}\\% \namestyle{\@firstname~\@familyname}%
\ifthenelse{\isundefined{\@title}}{}{\titlestyle{~|~\@title}}\\%
% detailed information % detailed information
\addressfont\color{color2}% \addressfont\color{color2}%
\ifthenelse{\isundefined{\@addressstreet}}{}{\addtomaketitle{\addresssymbol\@addressstreet}% \ifthenelse{\isundefined{\@addressstreet}}{}{\addtomaketitle{\addresssymbol\@addressstreet}%
@ -107,8 +108,8 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% fonts % fonts
\renewcommand*{\namefont}{\Huge\bfseries\upshape} \renewcommand*{\namefont}{\Huge\bfseries\upshape}
\renewcommand*{\titlefont}{\LARGE\mdseries\slshape} \renewcommand*{\titlefont}{\Huge\mdseries\upshape}
\renewcommand*{\addressfont}{\small\mdseries\upshape} \renewcommand*{\addressfont}{\normalsize\mdseries\upshape}
\renewcommand*{\quotefont}{\large\slshape} \renewcommand*{\quotefont}{\large\slshape}
\renewcommand*{\sectionfont}{\Large\bfseries\upshape} \renewcommand*{\sectionfont}{\Large\bfseries\upshape}
\renewcommand*{\subsectionfont}{\large\upshape\fontseries{sb}\selectfont} \renewcommand*{\subsectionfont}{\large\upshape\fontseries{sb}\selectfont}
@ -116,7 +117,7 @@
% styles % styles
\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color1}{#1}}} \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*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}}
\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}} \renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}}
\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}} \renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}}