add \scholar{} command for link to google scholar profile

This commit is contained in:
Joshua Taillon 2017-08-01 13:06:55 -04:00
parent 725fe4e3ef
commit f93232fc49
4 changed files with 13 additions and 0 deletions

View file

@ -314,6 +314,10 @@
% Usage: \reddit{<reddit account>}
\newcommand*{\reddit}[1]{\def\@reddit{#1}}
% Defines writer's google scholar (optional)
% Usage: \scholar{<user-scholar-id>}
\newcommand*{\scholar}[1]{\def\@scholar{#1}}
% Defines writer's xing (optional)
% Usage: \xing{<xing name>}
\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}}%
{}%
{%

View file

@ -66,6 +66,7 @@
% \stackoverflow{SO-id}{SO-name}
% \twitter{@twit}
% \skype{skype-id}
% \scholar{google-scholar-id}
% \reddit{reddit-id}
% \extrainfo{extra informations}

View file

@ -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}

View file

@ -66,6 +66,7 @@
% \stackoverflow{SO-id}{SO-name}
% \twitter{@twit}
% \skype{skype-id}
% \scholar{google-scholar-id}
% \reddit{reddit-id}
% \extrainfo{extra informations}