From 444f0db6ed770cc09dbe77595537de5c0959f125 Mon Sep 17 00:00:00 2001 From: Oliver Ford Date: Fri, 26 Nov 2021 17:33:52 +0000 Subject: [PATCH] Add ResearchGate & Orcid social links Closes #379. Co-authored-by: @Nour002 --- awesome-cv.cls | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index 800b74e..a1b88db 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -303,10 +303,18 @@ % Usage: \linkedin{} \newcommand*{\linkedin}[1]{\def\@linkedin{#1}} +% Defines writer's orcid (optional) +% Usage: \orcid{} +\newcommand*{\orcid}[1]{\def\@orcid{#1}} + % Defines writer's twitter (optional) % Usage: \twitter{} \newcommand*{\twitter}[1]{\def\@twitter{#1}} +% Defines writer's resarchgate (optional) +% Usage: \researchgate{} +\newcommand*{\researchgate}[1]{\def\@researchgate{#1}} + % Defines writer's skype (optional) % Usage: \skype{} \newcommand*{\skype}[1]{\def\@skype{#1}} @@ -497,6 +505,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \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}% + }% \ifthenelse{\isundefined{\@twitter}}% {}% {% @@ -515,6 +529,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \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}% + }% \ifthenelse{\isundefined{\@xing}}% {}% {%