Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \makeatletter
- \renewcommand{\makehead}{%\@initializecommand
- \setlength{\makeheaddetailswidth}{0.8\textwidth}%
- \hfil%
- \parbox{\makeheaddetailswidth}{%
- \centering%
- % name and title
- \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)
- % optional detailed information
- \if@details{%
- \addressfont\color{color2}%
- \ifthenelse{\isundefined{\@addressstreet}}{}{\addtomakeheaddetails{\addresssymbol\@addressstreet}%
- \ifthenelse{\equal{\@addresscity}{}}{}{\addtomakeheaddetails[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty
- \ifthenelse{\equal{\@addresscountry}{}}{}{\addtomakeheaddetails[~--~]{\@addresscountry}}%
- \flushmakeheaddetails\@firstmakeheaddetailselementtrue\par\vspace{-\baselineskip}\null}% <========================
- \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
- \addtomakeheaddetails{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}%
- \ifthenelse{\isundefined{\@email}}{}{\addtomakeheaddetails{\emailsymbol\emaillink{\@email}}}%
- \ifthenelse{\isundefined{\@homepage}}{}{\addtomakeheaddetails{\homepagesymbol\httplink{\@homepage}}}%
- \collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
- \addtomakeheaddetails{\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}}%
- \ifthenelse{\isundefined{\@extrainfo}}{}{\addtomakeheaddetails{\@extrainfo}}%
- \flushmakeheaddetails}\fi}\\[2.5em]}
- \makeatother
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement