mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
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:
parent
e30df3973f
commit
bef59daccd
10 changed files with 7 additions and 2 deletions
|
|
@ -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}%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue