mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
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:
parent
74e61f8ddf
commit
493742be62
7 changed files with 22 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ version 2.?.? (29 Jun 2023)
|
|||
- Replace instances of ~~~ in codebase with \hspace to be more compatible with
|
||||
babel for Spanish (#109).
|
||||
- Added Codeberg and Mastodon social icons (#107).
|
||||
- New \social options: arXiv, INSPIRE (#185)
|
||||
|
||||
version 2.3.1 (21 Feb 2022)
|
||||
- Fix duplicate GitLab icon (#105).
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@
|
|||
familydefault, sfdefault, rmdefault, inputenc, moderncv, document, bibliographyitemlabel,
|
||||
addresssymbol, mobilephonesymbol, fixedphonesymbol, faxphonesymbol, emailsymbol, homepagesymbol, linkedinsocialsymbol,
|
||||
xingsocialsymbol, twittersocialsymbol, githubsocialsymbol, gitlabsocialsymbol,
|
||||
stackoverflowsocialsymbol, bitbucketsocialsymbol, skypesocialsymbol, orcidsocialsymbol, researchgatesocialsymbol,
|
||||
stackoverflowsocialsymbol, bitbucketsocialsymbol, skypesocialsymbol, orcidsocialsymbol, researchgatesocialsymbol, arxivsocialsymbol, inspiresocialsymbol,
|
||||
researcheridsocialsymbol, telegramsocialsymbol, whatsappsocialsymbol, signalsocialsymbol, matrixsocialsymbol, googlescholarsocialsymbol, cvstretchability, bornsymbol
|
||||
},
|
||||
emphstyle={[2]\color{cvblue!60!cvgrey}\bfseries},
|
||||
|
|
@ -330,6 +330,7 @@ Takes the platform as an optional argument.
|
|||
The following values are supported for \code{<platform>}:
|
||||
\begin{itemize}
|
||||
\begin{multicols}{4}
|
||||
\item \code{arxiv}
|
||||
\item \code{battlenet}
|
||||
\item \code{bitbucket}
|
||||
\item \code{codeberg}
|
||||
|
|
@ -337,6 +338,7 @@ The following values are supported for \code{<platform>}:
|
|||
\item \code{github}
|
||||
\item \code{gitlab}
|
||||
\item \code{googlescholar}
|
||||
\item \code{inspire}
|
||||
\item \code{instagram}
|
||||
\item \code{linkedin}
|
||||
\item \code{mastodon}
|
||||
|
|
@ -711,6 +713,8 @@ Currently \Moderncv supports the following commands as \code{<\\symbolcommand>}:
|
|||
\item \code{\\bitbucketsocialsymbol}
|
||||
\item \code{\\skypesocialsymbol}
|
||||
\item \code{\\bornsymbol}
|
||||
\item \code{\\arxivsocialsymbol}
|
||||
\item \code{\\inspiresocialsymbol}
|
||||
\end{multicols}
|
||||
\end{itemize}
|
||||
The possible options for \code{<\\symbol>} depend on the package that is used.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
%------
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@
|
|||
\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
|
||||
|
|
@ -57,6 +59,8 @@
|
|||
%\newcommand*{\whatsappsocialsymbol} {}
|
||||
%\newcommand*{\matrixsocialsymbol} {}
|
||||
%\newcommand*{\signalsocialsymbol} {}
|
||||
\renewcommand*{\arxivsocialsymbol}{{\color{arxiv}{\small\aiarXiv}}~}
|
||||
\renewcommand*{\inspiresocialsymbol}{{\color{inspire}{\small\aiInspire}}~}
|
||||
|
||||
|
||||
\endinput
|
||||
|
|
|
|||
|
|
@ -98,6 +98,8 @@
|
|||
\renewcommand*{\battlenetsocialsymbol} {{\color{battlenet}\small\faBattleNet}~}
|
||||
%\renewcommand*{\signalsocialsymbol} {}
|
||||
%\renewcommand*{\matrixsocialsymbol} {}
|
||||
% \renewcommand*{\arxivsocialsymbol} {{\color{arxiv}{\small\faarXiv}}~}
|
||||
% \renewcommand*{\inspiresocialsymbol} {{\color{inspire}{\small\faInspire}}~}
|
||||
\renewcommand*{\bornsymbol} {{\color{born}\small\faAsterisk}~} % alternative: \faBabyCarriage
|
||||
|
||||
\endinput
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@
|
|||
\renewcommand*{\xboxsocialsymbol} {\textbf{xb}~}
|
||||
\renewcommand*{\playstationsocialsymbol} {\textbf{psn}~}
|
||||
\renewcommand*{\battlenetsocialsymbol} {\textbf{bn}~}
|
||||
\renewcommand*{\arxivsocialsymbol} {\textbf{arx}~}
|
||||
\renewcommand*{\inspiresocialsymbol} {\textbf{ins}~}
|
||||
|
||||
\renewcommand*{\listitemsymbol} {\labelitemi~}
|
||||
|
||||
|
|
|
|||
|
|
@ -90,6 +90,8 @@
|
|||
\social[xbox]{jdoe} % optional, remove / comment the line if not wanted
|
||||
\social[playstation]{jdoe} % optional, remove / comment the line if not wanted
|
||||
\social[battlenet]{jdoe\#0000} % optional, remove / comment the line if not wanted
|
||||
\social[arxiv]{doe\_j\_1} % optional, remove / comment the line if not wanted
|
||||
\social[inspire]{0000000} % optional, remove / comment the line if not wanted
|
||||
|
||||
|
||||
\extrainfo{additional information} % optional, remove / comment the line if not wanted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue