mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Fix underfull \hbox warning in fancy style
This commit is contained in:
parent
faa52b174b
commit
b292ae0b62
1 changed files with 15 additions and 6 deletions
|
|
@ -96,13 +96,22 @@
|
||||||
\ifthenelse{\equal{\@title}{}}{
|
\ifthenelse{\equal{\@title}{}}{
|
||||||
\ifthenelse{\isundefined{\@quote}}%
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
{}%
|
{}%
|
||||||
{\\[1.25em]\begin{minipage}{\quotewidth}\quotestyle{\@quote}\end{minipage}\\[2.5em]}
|
{%
|
||||||
}{
|
\\[1.25em]%
|
||||||
\\[1.25em]\titlestyle{\@title}\\[2.5em]%
|
\begin{minipage}{\quotewidth}%
|
||||||
|
\quotestyle{\@quote}%
|
||||||
|
\end{minipage}}%
|
||||||
|
}{%
|
||||||
|
\\[1.25em]%
|
||||||
|
\titlestyle{\@title}
|
||||||
% optional quote
|
% optional quote
|
||||||
\ifthenelse{\isundefined{\@quote}}%
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
{}%
|
{\vspace{2.5em}}%
|
||||||
{\begin{minipage}{\quotewidth}\quotestyle{\@quote}\end{minipage}\\[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
|
\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
|
% underlying command to implement \makecvtitle, identical to \@cvitem from moderncvbodyv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue