diff --git a/awesome-cv.cls b/awesome-cv.cls index da3d76229..8047de8cf 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -488,122 +488,162 @@ {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}% + \mbox{ + \href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}% + } }% \ifthenelse{\isundefined{\@dateofbirth}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% % \mbox prevents wrapping of elements% - \mbox{\faBirthdayCake\acvHeaderIconSep\@dateofbirth}% + \mbox{ + \faBirthdayCake\acvHeaderIconSep\@dateofbirth + }% }% \ifthenelse{\isundefined{\@homepage}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}% + \mbox{ + \href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}% + } }% \ifthenelse{\isundefined{\@github}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% + \mbox{ + \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% + } }% \ifthenelse{\isundefined{\@gitlab}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://gitlab.com/\@gitlab}{\faGitlab\acvHeaderIconSep\@gitlab}% + \mbox{ + \href{https://gitlab.com/\@gitlab}{\faGitlab\acvHeaderIconSep\@gitlab}% + } }% \ifthenelse{\isundefined{\@bitbucket}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://bitbucket.com/\@bitbucket}{\faBitbucket\acvHeaderIconSep\@bitbucket}% + \mbox{ + \href{https://bitbucket.com/\@bitbucket}{\faBitbucket\acvHeaderIconSep\@bitbucket}% + } }% \ifthenelse{\isundefined{\@stackoverflowid}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}% + \mbox{ + \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}% + } }% \ifthenelse{\isundefined{\@linkedin}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedin\acvHeaderIconSep\@linkedin}% + \mbox{ + \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedin\acvHeaderIconSep\@linkedin}% + } }% \ifthenelse{\isundefined{\@orcid}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://orcid.org/\@orcid}{\faOrcid\acvHeaderIconSep\@orcid}% + \mbox{ + \href{https://orcid.org/\@orcid}{\faOrcid\acvHeaderIconSep\@orcid}% + } }% \ifthenelse{\isundefined{\@twitter}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}% + \mbox{ + \href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}% + } }% \ifthenelse{\isundefined{\@mastodonname}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://\@mastodoninstance/@\@mastodonname}{\faMastodon\acvHeaderIconSep\@mastodonname}% + \mbox{ + \href{https://\@mastodoninstance/@\@mastodonname}{\faMastodon\acvHeaderIconSep\@mastodonname}% + } }% \ifthenelse{\isundefined{\@skype}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \faSkype\acvHeaderIconSep\@skype% + \mbox{ + \faSkype\acvHeaderIconSep\@skype% + } }% \ifthenelse{\isundefined{\@reddit}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}% + \mbox{ + \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}% + } }% \ifthenelse{\isundefined{\@researchgate}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://www.researchgate.net/profile/\@researchgate}{\faResearchgate\acvHeaderIconSep\@researchgate}% + \mbox{ + \href{https://www.researchgate.net/profile/\@researchgate}{\faResearchgate\acvHeaderIconSep\@researchgate}% + } }% \ifthenelse{\isundefined{\@xing}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} + \mbox{ + \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} + } }% \ifthenelse{\isundefined{\@medium}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://medium.com/@\@medium}{\faMedium\acvHeaderIconSep\@medium}% + \mbox{ + \href{https://medium.com/@\@medium}{\faMedium\acvHeaderIconSep\@medium}% + } }% \ifthenelse{\isundefined{\@kaggle}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://kaggle.com/\@kaggle}{\faKaggle\acvHeaderIconSep\@kaggle}% + \mbox{ + \href{https://kaggle.com/\@kaggle}{\faKaggle\acvHeaderIconSep\@kaggle}% + } }% \ifthenelse{\isundefined{\@hackerrank}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://www.hackerrank.com/\@hackerrank}{\faHackerrank\acvHeaderIconSep\@hackerrank}% + \mbox{ + \href{https://www.hackerrank.com/\@hackerrank}{\faHackerrank\acvHeaderIconSep\@hackerrank}% + } }% \ifthenelse{\isundefined{\@googlescholarid}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://scholar.google.com/citations?user=\@googlescholarid}{\faGraduationCap\acvHeaderIconSep\@googlescholarname}% + \mbox{ + \href{https://scholar.google.com/citations?user=\@googlescholarid}{\faGraduationCap\acvHeaderIconSep\@googlescholarname}% + } }% \ifthenelse{\isundefined{\@extrainfo}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \@extrainfo% + \mbox{ + \@extrainfo% + } }% } \\[\acvHeaderAfterSocialSkip]% \ifthenelse{\isundefined{\@quote}}%