Fixed a regression bug introduced in version 1.2.0 in the header of the "banking" style when no title is used

This commit is contained in:
Xavier Danaux
2012-12-04 01:32:59 -05:00
parent e30df3973f
commit bef59daccd
10 changed files with 7 additions and 2 deletions

View File

@ -89,7 +89,7 @@
\centering%
% name and title
\namestyle{\@firstname~\@familyname}%
\ifthenelse{\isundefined{\@title}}{}{\titlestyle{~|~\@title}}\\%
\ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}\\% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title)
% detailed information
\addressfont\color{color2}%
\ifthenelse{\isundefined{\@addressstreet}}{}{\addtomaketitle{\addresssymbol\@addressstreet}%