mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Fix underfull \hbox warning in banking style
This commit is contained in:
parent
35850429f0
commit
faa52b174b
1 changed files with 11 additions and 4 deletions
|
|
@ -82,7 +82,7 @@
|
||||||
\centering%
|
\centering%
|
||||||
% name and title
|
% name and title
|
||||||
\namestyle{\@firstname~\@lastname}%
|
\namestyle{\@firstname~\@lastname}%
|
||||||
\ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title)
|
\ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title)
|
||||||
% optional detailed information
|
% optional detailed information
|
||||||
\if@details{%
|
\if@details{%
|
||||||
\\%
|
\\%
|
||||||
|
|
@ -100,7 +100,7 @@
|
||||||
\collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
|
\collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
|
||||||
\addtomakeheaddetails{\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}}%
|
\addtomakeheaddetails{\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}}%
|
||||||
\ifthenelse{\isundefined{\@extrainfo}}{}{\addtomakeheaddetails{\@extrainfo}}%
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\addtomakeheaddetails{\@extrainfo}}%
|
||||||
\flushmakeheaddetails}\fi}\\[2.5em]}% need to force a \par after this to avoid weird spacing bug at the first section if no blank line is left after \makehead
|
\flushmakeheaddetails}\fi}}% need to force a \par after this to avoid weird spacing bug at the first section if no blank line is left after \makehead
|
||||||
|
|
||||||
|
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
|
|
@ -118,8 +118,15 @@
|
||||||
\makehead%
|
\makehead%
|
||||||
% optional quote
|
% optional quote
|
||||||
\ifthenelse{\isundefined{\@quote}}%
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
{}%
|
{\vspace{2.5em}}%
|
||||||
{{\centering\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
|
{%
|
||||||
|
\\[2.5em]%
|
||||||
|
{%
|
||||||
|
\centering%
|
||||||
|
\begin{minipage}{\quotewidth}%
|
||||||
|
\centering%
|
||||||
|
\quotestyle{\@quote}%
|
||||||
|
\end{minipage}\\[2.5em]}}%
|
||||||
\par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle}
|
\par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue