mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Add orcid, resercherid, and researchgate as social icons (#15)
Co-authored-by: Patrick Diehl <me@diehlpk.de>
This commit is contained in:
parent
1463083706
commit
7db2dd2315
5 changed files with 69 additions and 49 deletions
50
moderncv.cls
50
moderncv.cls
|
|
@ -266,13 +266,16 @@
|
|||
\NewDocumentCommand{\social}{O{}O{}m}{%
|
||||
\ifthenelse{\equal{#2}{}}%
|
||||
{%
|
||||
\ifthenelse{\equal{#1}{linkedin}}{\collectionadd[linkedin]{socials}{\protect\httpslink[#3]{www.linkedin.com/in/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{xing}} {\collectionadd[xing]{socials} {\protect\httpslink[#3]{www.xing.com/profile/#3}}}{}%
|
||||
\ifthenelse{\equal{#1}{twitter}} {\collectionadd[twitter]{socials} {\protect\httpslink[#3]{www.twitter.com/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{github}} {\collectionadd[github]{socials} {\protect\httpslink[#3]{www.github.com/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{gitlab}} {\collectionadd[gitlab]{socials} {\protect\httpslink[#3]{www.gitlab.com/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{stackoverflow}} {\collectionadd[stackoverflow]{socials} {\protect\httpslink[\SplitMyMacro#3]{stackoverflow.com/users/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{skype}} {\collectionadd[skype]{socials} {#3}} {}%
|
||||
\ifthenelse{\equal{#1}{linkedin}} {\collectionadd[linkedin]{socials} {\protect\httpslink[#3]{www.linkedin.com/in/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{xing}} {\collectionadd[xing]{socials} {\protect\httpslink[#3]{www.xing.com/profile/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{twitter}} {\collectionadd[twitter]{socials} {\protect\httpslink[#3]{www.twitter.com/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{github}} {\collectionadd[github]{socials} {\protect\httpslink[#3]{www.github.com/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{gitlab}} {\collectionadd[gitlab]{socials} {\protect\httpslink[#3]{www.gitlab.com/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{stackoverflow}}{\collectionadd[stackoverflow]{socials}{\protect\httpslink[#3]{stackoverflow.com/users/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{skype}} {\collectionadd[skype]{socials} {#3}} {}%
|
||||
\ifthenelse{\equal{#1}{orcid}} {\collectionadd[orcid]{socials} {\protect\httpslink[#3]{orcid.org/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{researchgate}} {\collectionadd[researchgate]{socials} {\protect\httpslink[#3]{www.researchgate.net/profile/#3}}}{}%
|
||||
\ifthenelse{\equal{#1}{researcherid}} {\collectionadd[researcherid]{socials} {\protect\httpslink[#3]{www.researcherid.com/rid/#3}}} {}%
|
||||
}
|
||||
{\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}
|
||||
|
||||
|
|
@ -302,21 +305,24 @@
|
|||
\renewcommand{\theenumiv} {\@Alph\c@enumiv}
|
||||
|
||||
% other symbols
|
||||
\newcommand*{\listitemsymbol} {\labelitemi~}
|
||||
\newcommand*{\addresssymbol} {}
|
||||
\newcommand*{\mobilephonesymbol} {}
|
||||
\newcommand*{\fixedphonesymbol} {}
|
||||
\newcommand*{\faxphonesymbol} {}
|
||||
\newcommand*{\emailsymbol} {}
|
||||
\newcommand*{\homepagesymbol} {}
|
||||
\newcommand*{\linkedinsocialsymbol}{}
|
||||
\newcommand*{\xingsocialsymbol} {}
|
||||
\newcommand*{\twittersocialsymbol} {}
|
||||
\newcommand*{\githubsocialsymbol} {}
|
||||
\newcommand*{\gitlabsocialsymbol} {}
|
||||
\newcommand*{\skypesocialsymbol} {}
|
||||
\newcommand*{\stackoverflowsocialsymbol} {}
|
||||
|
||||
\newcommand*{\listitemsymbol} {\labelitemi~}
|
||||
\newcommand*{\addresssymbol} {}
|
||||
\newcommand*{\mobilephonesymbol} {}
|
||||
\newcommand*{\fixedphonesymbol} {}
|
||||
\newcommand*{\faxphonesymbol} {}
|
||||
\newcommand*{\emailsymbol} {}
|
||||
\newcommand*{\homepagesymbol} {}
|
||||
\newcommand*{\linkedinsocialsymbol} {}
|
||||
\newcommand*{\xingsocialsymbol} {}
|
||||
\newcommand*{\twittersocialsymbol} {}
|
||||
\newcommand*{\githubsocialsymbol} {}
|
||||
\newcommand*{\gitlabsocialsymbol} {}
|
||||
\newcommand*{\stackoverflowsocialsymbol}{}
|
||||
\newcommand*{\skypesocialsymbol} {}
|
||||
\newcommand*{\orcidsocialsymbol} {}
|
||||
\newcommand*{\researchgatesocialsymbol} {}
|
||||
\newcommand*{\researchidsocialsymbol} {}
|
||||
\newcommand*{\googlescholarsocialsymbol}{}
|
||||
% other
|
||||
%------
|
||||
% fonts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue