diff --git a/awesome-cv.cls b/awesome-cv.cls index 727c947..62718b2 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -406,93 +406,93 @@ Vitae Class] }\acvNamedelim\headerlastnamestyle{% \@lastname% }% - \\[\acvAfternameskip] - \ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\[\acvAfterpositionskip]}} - \ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\[\acvwAfteraddressskip]}} - \headersocialstyle{ - \newbool{isstart} - \setbool{isstart}{true} - \ifthenelse{\isundefined{\@mobile}} - {} - { - \faMobile\acvIconsep\@mobile - \setbool{isstart}{false} - } - \ifthenelse{\isundefined{\@email}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{mailto:\@email}{\faEnvelope\acvIconsep\@email} - } - \ifthenelse{\isundefined{\@homepage}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{http://\@homepage}{\faHome\acvIconsep\@homepage} - } - \ifthenelse{\isundefined{\@github}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{https://github.com/\@github}{\faGithubSquare\acvIconsep\@github} - } - \ifthenelse{\isundefined{\@stackoverflowid}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvIconsep\@stackoverflowname} - } - \ifthenelse{\isundefined{\@linkedin}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvIconsep\@linkedin} - } - \ifthenelse{\isundefined{\@twitter}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{https://twitter.com/\@twitter}{\faTwitter\acvIconsep\@twitter} - } - \ifthenelse{\isundefined{\@skype}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \faSkype\acvIconsep\@skype - } -} \\[\acvAfterSocialskip] - \ifthenelse{\isundefined{\@quote}} - {} - {\vspace{\acvBeforequoteskip}\headerquotestyle{\@quote\\}\vspace{\acvAfterquoteskip}} - \end{center} + \\[\acvAfternameskip]% + \ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\[\acvAfterpositionskip]}}% + \ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\[\acvwAfteraddressskip]}}% + \headersocialstyle{% + \newbool{isstart}% + \setbool{isstart}{true}% + \ifthenelse{\isundefined{\@mobile}}% + {}% + {% + \faMobile\acvIconsep\@mobile% + \setbool{isstart}{false}% + }% + \ifthenelse{\isundefined{\@email}}% + {}% + {% + \ifbool{isstart}% + {% + \setbool{istart}{false}% + }% + {\@headersocialsep}% + \href{mailto:\@email}{\faEnvelope\acvIconsep\@email}% + }% + \ifthenelse{\isundefined{\@homepage}}% + {}% + {% + \ifbool{isstart}% + {% + \setbool{istart}{false}% + }% + {\@headersocialsep}% + \href{http://\@homepage}{\faHome\acvIconsep\@homepage}% + }% + \ifthenelse{\isundefined{\@github}}% + {}% + {% + \ifbool{isstart}% + {% + \setbool{istart}{false}% + }% + {\@headersocialsep}% + \href{https://github.com/\@github}{\faGithubSquare\acvIconsep\@github}% + }% + \ifthenelse{\isundefined{\@stackoverflowid}}% + {}% + {% + \ifbool{isstart}% + {% + \setbool{istart}{false} % + }% + {\@headersocialsep}% + \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvIconsep\@stackoverflowname}% + }% + \ifthenelse{\isundefined{\@linkedin}}% + {}% + {% + \ifbool{isstart}% + {% + \setbool{istart}{false}% + }% + {\@headersocialsep}% + \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvIconsep\@linkedin}% + }% + \ifthenelse{\isundefined{\@twitter}}% + {}% + {% + \ifbool{isstart}% + {% + \setbool{istart}{false} % + }% + {\@headersocialsep}% + \href{https://twitter.com/\@twitter}{\faTwitter\acvIconsep\@twitter}% + }% + \ifthenelse{\isundefined{\@skype}}% + {}% + {% + \ifbool{isstart}% + {% + \setbool{istart}{false} % + }% + {\@headersocialsep}% + \faSkype\acvIconsep\@skype% + }% +} \\[\acvAfterSocialskip]% + \ifthenelse{\isundefined{\@quote}}% + {}% + {\vspace{\acvBeforequoteskip}\headerquotestyle{\@quote\\}\vspace{\acvAfterquoteskip}}% + \end{center}% } % Define a footer for CV