Add \social options: arXiv, INSPIRE (#185)

* Add \social options: arXiv, INSPIRE

https://arxiv.org/ and https://inspirehep.net/ are websites on which
academics often have profiles that would be linked in a CV (particularly
physics and related fields).

Add social options through the academicons font.

* fixup arxiv and inspirehep socials

* fixup arxiv and inspire-hep socials
This commit is contained in:
nathan musoke 2024-05-02 13:46:38 -04:00 committed by GitHub
commit 493742be62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 22 additions and 1 deletions

View file

@ -288,6 +288,8 @@
% - "xbox"
% - "playstation"
% - "battlenet"
% - "arxiv"
% - "inspire"
\collectionnew{socials}
\NewDocumentCommand{\social}{O{}O{}m}{%
\ifthenelse{\equal{#2}{}}%
@ -320,6 +322,8 @@
\ifthenelse{\equal{#1}{xbox}} {\collectionadd[xbox]{socials} {\protect\httpslink[#3]{account.xbox.com/profile?gamertag=#3}}} {}%
\ifthenelse{\equal{#1}{playstation}} {\collectionadd[playstation]{socials} {#3}} {}%
\ifthenelse{\equal{#1}{battlenet}} {\collectionadd[battlenet]{socials} {#3}} {}%
\ifthenelse{\equal{#1}{arxiv}} {\collectionadd[arxiv]{socials} {\protect\httpslink[#3]{arxiv.org/a/#3}}} {}%
\ifthenelse{\equal{#1}{inspire}} {\collectionadd[inspire]{socials} {\protect\httpslink[#3]{inspirehep.net/authoris/#3}}} {}%
}
{\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}%
@ -385,6 +389,8 @@
\newcommand*{\xboxsocialsymbol} {}
\newcommand*{\playstationsocialsymbol} {}
\newcommand*{\battlenetsocialsymbol} {}
\newcommand*{\arxivsocialsymbol} {}
\newcommand*{\inspiresocialsymbol} {}
% other
%------