diff --git a/moderncvheadv.sty b/moderncvheadv.sty index 936ec79..eaabd4a 100644 --- a/moderncvheadv.sty +++ b/moderncvheadv.sty @@ -95,14 +95,23 @@ \namestyle{\@firstname\ \@lastname}% \ifthenelse{\equal{\@title}{}}{ \ifthenelse{\isundefined{\@quote}}% - {}% - {\\[1.25em]\begin{minipage}{\quotewidth}\quotestyle{\@quote}\end{minipage}\\[2.5em]} - }{ - \\[1.25em]\titlestyle{\@title}\\[2.5em]% + {}% + {% + \\[1.25em]% + \begin{minipage}{\quotewidth}% + \quotestyle{\@quote}% + \end{minipage}}% + }{% + \\[1.25em]% + \titlestyle{\@title} % optional quote \ifthenelse{\isundefined{\@quote}}% - {}% - {\begin{minipage}{\quotewidth}\quotestyle{\@quote}\end{minipage}\\[2.5em]}}}% + {\vspace{2.5em}}% + {% + \\[2.5em]% + \begin{minipage}{\quotewidth}% + \quotestyle{\@quote} + \end{minipage}}}}% \par}% to avoid weird spacing bug at the first section if no blank line is left after \makecvhead % underlying command to implement \makecvtitle, identical to \@cvitem from moderncvbodyv