Skip to content

Commit b14badf

Browse files
Merge pull request #209 from Rekyt/researchgate
Add ORCID, ResearchGate, and Google Scholar icons for all CVs
2 parents 5ef955c + b67fe5e commit b14badf

File tree

7 files changed

+21
-1
lines changed

7 files changed

+21
-1
lines changed

inst/rmarkdown/templates/hyndman/resources/hyndmantemplate.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@
255255
$if(github)$\faIcon{github} & \href{https://github.com/$github$}{$github$}\\$endif$%
256256
$if(linkedin)$\faIcon{linkedin} & \href{https://www.linkedin.com/in/$linkedin$}{$linkedin$}\\$endif$%
257257
$if(scholar)$\faIcon{google} & \href{https://scholar.google.com/citations?user=$scholar$}{$scholar$}\\$endif$%
258+
$if(researchgate)$\faIcon{researchgate} & \href{https://www.researchgate.net/profile/$researchgate$}{$researchgate$}\\$endif$%
258259
$if(orcid)$\faIcon{orcid} & \href{https://orcid.org/$orcid$}{$orcid$}\\$endif$%
259260
}
260261

inst/rmarkdown/templates/latexcv/resources/classic/main.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,9 @@ \section{Summary}
411411
\hspace{-0.25\linewidth}\colorbox{white}{\makebox[1.5\linewidth][c]{\mystrut \textnormal{$if(date)$- \textcolor{sectcol}{$date$}$endif$%
412412
$if(twitter)$ - \textcolor{sectcol}{\href{https://twitter.com/$twitter$}{\faicon{twitter} $twitter$}}$else$$endif$%
413413
$if(github)$ - \textcolor{sectcol}{\href{https://github.com/$github$}{\faicon{github} $github$}}$else$$endif$%
414+
$if(orcid)$ - \textcolor{sectcol}{\href{https://orcid.org/$orcid$}{\faIcon{orcid} $orcid$}}$else$$endif$%
415+
$if(scholar)$ - \textcolor{sectcol}{\href{https://scholar.google.com/citations?user=$scholar$}{\faIcon{google} $scholar$}}$else$$endif$%
416+
$if(researchgate)$ - \textcolor{sectcol}{\href{https://www.researchgate.net/profile/$researchgate$}{\faIcon{researchgate} $researchgate$}}$else$$endif$%
414417
$if(linkedin)$ - \textcolor{sectcol}{\href{https://www.linkedin.com/in/$linkedin$}{\faicon{linkedin} $linkedin$}}$else$$endif$ - }}}
415418

416419
%============================================================================%

inst/rmarkdown/templates/markdowncv/resources/markdowncv.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ <h1>$name$ $surname$</h1>
6767
$if(twitter)$<i class="fa fa-twitter"></i> <a href="https://twitter.com/$twitter$">$twitter$</a> |$endif$
6868
$if(github)$<i class="fa fa-github"></i> <a href="https://github.com/$github$">$github$</a> |$endif$
6969
$if(linkedin)$<i class="fa fa-linkedin"></i> <a href="https://www.linkedin.com/in/$linkedin$/">$linkedin$</a> |$endif$
70+
$if(orcid)$<i class="fa fa-orcid"></i> <a href="https://orcid.org/$orcid$">$orcid$</a> |$endif$
71+
$if(scholar)$<i class="fa fa-google"></i> <a href="https://scholar.google.com/citations?user=$scholar$">$scholar$</a> |$endif$
72+
$if(researchgate)$<i class="fa fa-researchgate"></i> <a href="https://www.researchgate.net/profile/$researchgate$">$researchgate$</a> |$endif$
7073
</div>
7174

7275
$body$

inst/rmarkdown/templates/moderncv/resources/moderncv.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
$if(linkedin)$\social[linkedin]{$linkedin$}$endif$
6464
$if(twitter)$\social[twitter]{$twitter$}$endif$
6565
$if(github)$\social[github]{$github$}$endif$
66+
$if(orcid)$\social[orcid]{$orcid$}$endif$
67+
$if(researchgate)$\social[researchgate]{$researchgate$}$endif$
68+
$if(googlescholar)$\social[googlescholar]{$googlescholar$}$endif$
6669
% \extrainfo{additional information} % optional, remove / comment the line if not wanted
6770

6871
$if(profilepic)$\photo[70pt][0.4pt]{$profilepic$}$endif$

inst/rmarkdown/templates/moderncv/skeleton/moderncv.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@
277277
\ifthenelse{\equal{#1}{bitbucket}}{\collectionadd[bitbucket]{socials}{\protect\httpslink[#3]{www.bitbucket.org/#3}}} {}%
278278
\ifthenelse{\equal{#1}{orcid}} {\collectionadd[orcid]{socials} {\protect\httpslink[#3]{orcid.org/#3}}} {}%
279279
\ifthenelse{\equal{#1}{researchgate}} {\collectionadd[researchgate]{socials} {\protect\httpslink[#3]{www.researchgate.net/profile/#3}}} {}%
280+
\ifthenelse{\equal{#1}{googlescholar}} {\collectionadd[googlescholar]{socials} {\protect\httpslink[#3]{scholar.google.com/citations?user=#3}}} {}%
280281
\ifthenelse{\equal{#1}{researcherid}} {\collectionadd[researcherid]{socials} {\protect\httpslink[#3]{www.researcherid.com/rid/#3}}} {}%
281282
}
282283
{\collectionadd[#1]{socials}{\protect\httplink[#3]{#2}}}}
@@ -326,7 +327,7 @@
326327
\newcommand*{\orcidsocialsymbol} {}
327328
\newcommand*{\researchgatesocialsymbol}{}
328329
\newcommand*{\researcheridsocialsymbol}{}
329-
\newcommand*{\googlescholarsocialsymbol}{}
330+
\newcommand*{\googlescholarsocialsymbol}{\faGoogle~}
330331
\newcommand*{\telegramsocialsymbol}{}
331332
\newcommand*{\whatsappsocialsymbol}{}
332333
\newcommand*{\signalsocialsymbol}{}

inst/rmarkdown/templates/twentyseconds/resources/twentysecondstemplate.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@
8181
$if(twitter)$\cvtwitter{\href{https://twitter.com/$twitter$}{$twitter$}}$else$\cvtwitter{}$endif$
8282
$if(github)$\cvgithub{\href{https://github.com/$github$}{$github$}}$else$\cvgithub{}$endif$
8383
$if(linkedin)$\cvlinkedin{\href{https://www.linkedin.com/in/$linkedin$}{$linkedin$}}$else$\cvlinkedin{}$endif$
84+
$if(orcid)$\cvorcid{\href{https://orcid.org/$orcid$}{$orcid$}}$else$\cvorcid{}$endif$
85+
$if(scholar)$\cvscholar{\href{https://scholar.google.com/citations?user=$scholar$}{$scholar$}}$else$\cvscholar{}$endif$
86+
$if(researchgate)$\cvresearchgate{\href{https://www.researchgate.net/profile/$researchgate$}{$researchgate$}}$else$\cvresearchgate{}$endif$
8487

8588
\lfoot{\sf $if(docname)$$docname$$else$Curriculum Vitae$endif$: $name$$if(surname)$ $surname$$endif$}
8689
\rfoot{\sf\thepage}

inst/rmarkdown/templates/twentyseconds/skeleton/twentysecondcv.cls

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@
8181
\newcommand{\cvtwitter}[1]{\renewcommand{\cvtwitter}{#1}}
8282
\newcommand{\cvlinkedin}[1]{\renewcommand{\cvlinkedin}{#1}}
8383
\newcommand{\cvgithub}[1]{\renewcommand{\cvgithub}{#1}}
84+
\newcommand{\cvorcid}[1]{\renewcommand{\cvorcid}{#1}}
85+
\newcommand{\cvscholar}[1]{\renewcommand{\cvscholar}{#1}}
86+
\newcommand{\cvresearchgate}[1]{\renewcommand{\cvresearchgate}{#1}}
8487
\newcommand{\cvnumberphone}[1]{\renewcommand{\cvnumberphone}{#1}}
8588
\newcommand{\cvpronouns}[1]{\renewcommand{\cvpronouns}{#1}}
8689
\newcommand{\cvaddress}[1]{\renewcommand{\cvaddress}{#1}}
@@ -164,6 +167,9 @@
164167
\ifthenelse{\equal{\cvtwitter}{}}{}{\Large\faicon{twitter} & \cvtwitter\\}
165168
\ifthenelse{\equal{\cvgithub}{}}{}{\Large\faicon{github} & \cvgithub\\}
166169
\ifthenelse{\equal{\cvlinkedin}{}}{}{\Large\faicon{linkedin} & \cvlinkedin}
170+
\ifthenelse{\equal{\cvorcid}{}}{}{\Large\faicon{orcid} & \cvorcid}
171+
\ifthenelse{\equal{\cvscholar}{}}{}{\Large\faicon{google} & \cvscholar}
172+
\ifthenelse{\equal{\cvresearchgate}{}}{}{\Large\faicon{researchgate} & \cvresearchgate}
167173
\end{tabular}
168174

169175
%------------------------------------------------

0 commit comments

Comments
 (0)