moderncv/moderncviconsacademic.sty
Nathan Musoke f4c89ae5bd 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.
2024-04-30 16:00:09 -04:00

68 lines
3.2 KiB
TeX

%% start of file `moderncviconsacademic.sty'.
%% Copyright 2013-2015 Xavier Danaux (xdanaux@gmail.com), 2020-2022 moderncv maintainers (github.com/moderncv).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
%-------------------------------------------------------------------------------
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{moderncviconsacademic}[2022-02-21 v2.3.1 modern curriculum vitae icons: academicons]
%-------------------------------------------------------------------------------
% required packages
%-------------------------------------------------------------------------------
% Package for academic icons
\RequirePackage{academicons}
\RequirePackage{xcolor}
%-------------------------------------------------------------------------------
% set colors
%-------------------------------------------------------------------------------
\input{commons/colors}
\providecolor{orcid}{named}{default-socialicon-color}
\providecolor{researchgate}{named}{default-socialicon-color}
\providecolor{researcherid}{named}{default-socialicon-color}
\providecolor{googlescholar}{named}{default-socialicon-color}
\providecolor{arxiv}{named}{default-socialicon-color}
\providecolor{inspire}{named}{default-socialicon-color}
%-------------------------------------------------------------------------------
% all symbols described in moderncv.cls
%-------------------------------------------------------------------------------
%\newcommand*{\listitemsymbol} {\labelitemi~}
%\newcommand*{\addresssymbol} {}
%\newcommand*{\bornsymbol} {}
%\newcommand*{\mobilephonesymbol} {}
%\newcommand*{\fixedphonesymbol} {}
%\newcommand*{\faxphonesymbol} {}
%\newcommand*{\emailsymbol} {}
%\newcommand*{\homepagesymbol} {}
%\newcommand*{\linkedinsocialsymbol} {}
%\newcommand*{\xingsocialsymbol} {}
%\newcommand*{\twittersocialsymbol} {}
%\newcommand*{\githubsocialsymbol} {}
%\newcommand*{\gitlabsocialsymbol} {}
%\newcommand*{\stackoverflowsocialsymbol}{}
%\newcommand*{\bitbucketsocialsymbol} {}
%\newcommand*{\skypesocialsymbol} {}
\renewcommand*{\orcidsocialsymbol} {{\color{orcid}\small\aiOrcid}~}
\renewcommand*{\researchgatesocialsymbol} {{\color{researchgate}\small\aiResearchGateSquare}~} % alternative: \aiResearchGate
\renewcommand*{\researcheridsocialsymbol} {{\color{researcherid}\small\aiResearcherIDSquare}~} % alternative: \aiResearcherID
\renewcommand*{\googlescholarsocialsymbol}{{\color{googlescholar}\raisebox{-1pt}{\large\aiGoogleScholar}}~}
%\newcommand*{\telegramsocialsymbol} {}
%\newcommand*{\whatsappsocialsymbol} {}
%\newcommand*{\matrixsocialsymbol} {}
%\newcommand*{\signalsocialsymbol} {}
\renewcommand*{\arxivsocialsymbol}{{\color{arxiv}{\small\aiarXiv}}~}
\renewcommand*{\inspiresocialsymbol}{{\color{inspire}{\small\aiInspire}}~}
\endinput
%% end of file `moderncviconsacademic.sty'.