From f93232fc4944831a98499a64f0dd9c4f982aab07 Mon Sep 17 00:00:00 2001 From: Joshua Taillon Date: Tue, 1 Aug 2017 13:06:55 -0400 Subject: [PATCH] add \scholar{} command for link to google scholar profile --- awesome-cv.cls | 10 ++++++++++ examples/coverletter.tex | 1 + examples/cv.tex | 1 + examples/resume.tex | 1 + 4 files changed, 13 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c1074..d1a345a 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -314,6 +314,10 @@ % Usage: \reddit{} \newcommand*{\reddit}[1]{\def\@reddit{#1}} +% Defines writer's google scholar (optional) +% Usage: \scholar{} +\newcommand*{\scholar}[1]{\def\@scholar{#1}} + % Defines writer's xing (optional) % Usage: \xing{} \newcommand*{\xing}[1]{\def\@xing{#1}} @@ -484,6 +488,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}% }% + \ifthenelse{\isundefined{\@scholar}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://scholar.google.com/citations?user=\@scholar}{\faGraduationCap\acvHeaderIconSep{Google Scholar}}% + }% \ifthenelse{\isundefined{\@skype}}% {}% {% diff --git a/examples/coverletter.tex b/examples/coverletter.tex index c47f6ff..214b79f 100644 --- a/examples/coverletter.tex +++ b/examples/coverletter.tex @@ -66,6 +66,7 @@ % \stackoverflow{SO-id}{SO-name} % \twitter{@twit} % \skype{skype-id} +% \scholar{google-scholar-id} % \reddit{reddit-id} % \extrainfo{extra informations} diff --git a/examples/cv.tex b/examples/cv.tex index 9a5ce93..91b2c21 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -65,6 +65,7 @@ % \gitlab{gitlab-id} % \stackoverflow{SO-id}{SO-name} % \twitter{@twit} +% \scholar{google-scholar-id} % \skype{skype-id} % \reddit{reddit-id} % \extrainfo{extra informations} diff --git a/examples/resume.tex b/examples/resume.tex index ecc9a90..080c6d9 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -66,6 +66,7 @@ % \stackoverflow{SO-id}{SO-name} % \twitter{@twit} % \skype{skype-id} +% \scholar{google-scholar-id} % \reddit{reddit-id} % \extrainfo{extra informations}