mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Don't break the title and quote formatting
This commit is contained in:
parent
39360f317d
commit
249e5ed899
1 changed files with 10 additions and 5 deletions
|
|
@ -92,11 +92,16 @@
|
|||
\newlength{\makecvheadpictureboxskip}%
|
||||
\setlength{\makecvheadpictureboxskip}{\totalheightof{\usebox{\makecvheadpicturebox}}}%
|
||||
\namestyle{\@firstname\ \@lastname}%
|
||||
\ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\titlestyle{\@title}\\[2.5em]}%
|
||||
\ifthenelse{\equal{\@title}{}}{
|
||||
\ifthenelse{\isundefined{\@quote}}%
|
||||
{}%
|
||||
{\\[1.25em]\begin{minipage}{\quotewidth}\quotestyle{\@quote}\end{minipage}\\[2.5em]}
|
||||
}{
|
||||
\\[1.25em]\titlestyle{\@title}\\[2.5em]%
|
||||
% optional quote
|
||||
\ifthenelse{\isundefined{\@quote}}%
|
||||
{}%
|
||||
{\begin{minipage}{\quotewidth}\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
|
||||
{\begin{minipage}{\quotewidth}\quotestyle{\@quote}\end{minipage}\\[2.5em]}}}%
|
||||
\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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue