mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Merge branch 'master' into many_colors
This commit is contained in:
commit
b56f362150
31 changed files with 714 additions and 600 deletions
|
|
@ -85,7 +85,8 @@
|
|||
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
|
||||
\makenewline\csname\collectionloopkey phonesymbol\endcsname~\collectionloopitem}%
|
||||
\ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol~\emaillink{\@email}}%
|
||||
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol~\httpslink{\@homepage}}%
|
||||
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol~%
|
||||
\ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}%
|
||||
\collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
|
||||
\makenewline\csname\collectionloopkey socialsymbol\endcsname~\collectionloopitem}%
|
||||
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}\fi}%
|
||||
|
|
@ -96,14 +97,23 @@
|
|||
\firstnamestyle{\@firstname}~\lastnamestyle{\@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
|
||||
|
|
@ -148,7 +158,8 @@
|
|||
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
|
||||
\makenewline\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}%
|
||||
\ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}%
|
||||
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httpslink{\@homepage}}%
|
||||
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol%
|
||||
\ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}%
|
||||
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}\fi%
|
||||
\end{minipage}\\[2em]
|
||||
% recipient block
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue