How could I get a LinkedIn logo (like those found in http://press.linkedin.com/Media-Resources?SubjectID=644) in Latex?
I found some tikz code somewhere, but that was not for one in blue, and it didn't look quite the same.
Example:
How could I get a LinkedIn logo (like those found in http://press.linkedin.com/Media-Resources?SubjectID=644) in Latex?
I found some tikz code somewhere, but that was not for one in blue, and it didn't look quite the same.
Example:
fontawesome
provides a number of "Social icons":
\documentclass{article}
\usepackage{fontawesome}
\usepackage{setspace}
\begin{document}
\doublespacing% Just for this example
\verb|Facebook|: \faFacebook \quad \faFacebookSquare \par
\verb|Twitter|: \faTwitter \quad \faTwitterSquare \par
\verb|Github|: \faGithub \quad \faGithubSquare \par
\verb|HTML5|: \faHtml5 \par
\verb|LinkedIn|: \faLinkedin \quad \faLinkedinSquare \par
\verb|Pinterest|: \faPinterest \quad \faPinterestSquare \par
\verb|Google+|: \faGooglePlus \quad \faGooglePlusSquare
\end{document}
It requires compilation via XeLaTeX or LuaLaTeX.
Following the discussion on LinkedIn Branding Guidelines, you can also download the EPS versions of the LinkedIn logo and include them using \includegraphics
(from graphicx
).
xcolor
package to your preamble (\usepackage{xcolor}
) and use \colorLinkedinSign
where \newcommand{\colorLinkedinSign}{\textcolor{rgb:red,6;green,108;blue,170}{\faLinkedinSign}}
. This is the output.
academicons
for ResearchGate, Google Scholar, pubMed, OrcID, Zotero, etc. jpswalsh.github.io/academicons
Jun 16, 2016 at 14:35
Also trusting various websites and having Adobe Myriad Pro Bold on your system,
\documentclass[border=5mm]{standalone}
\usepackage{fontspec,tikz}
\setmainfont{Myriad Pro Bold}
\begin{document}
Linked\tikz[baseline=(i.text)]\node[fill=blue,rounded corners=0.25ex,text=white,inner sep=0.3ex](i) {in};
\end{document}
I didn't try to match the roundedness, kern or any other detail but if you wish you can do some precision surgery on it.
mdsymbol
?
I think the simplest path is to use the EPS logos provided. With pdflatex
you will have to convert the EPS file to PDF, but there are many ways to do that (see What are good ways to convert EPS to PDF?) including “automatically” as in my installation. If you download the LinkedIn logo “bug” as EPS, you get a file LinkedIn-InBug-2C.eps
. Then use something like this document:
\documentclass{standalone}
\usepackage{graphicx}
% https://tex.stackexchange.com/q/190927/1402
\begin{document}
\raisebox{-0.35ex}{\includegraphics[width=2.5ex]{LinkedIn-InBug-2C}}%
linked.in/johndoe
\end{document}
and you get this:
I had to manually adjust the width
and \raisebox
arguments to get the size and vertical placement right. There might be other ways.
For \documentclass[...]{moderncv}
I find very useful information here:
Fixing the '\social' command of 'moderncv' for LinkedIN (intl profile)
I do not have enough reputation to comment on @Werner's answer, hence I make it an answer.
As of 2021, being on Mac OS X using a current MacTex Version, one has to use fontawesome5
instead of the fontawesome
package to avoid the errors documented here: FontAwesome font not found?
Therefore, the code of @Werner's answer can be adapted as follows:
\documentclass{article}
\usepackage{fontawesome5}
\usepackage{setspace}
\begin{document}
\doublespacing% Just for this example
\verb|Facebook|: \faFacebook \quad \faFacebookSquare \par
\verb|Twitter|: \faTwitter \quad \faTwitterSquare \par
\verb|Github|: \faGithub \quad \faGithubSquare \par
\verb|HTML5|: \faHtml5 \par
\verb|LinkedIn|: \faLinkedin \quad \faLinkedinSquare \par
\verb|Pinterest|: \faPinterest \quad \faPinterestSquare \par
\verb|Google+|: \faGooglePlus \quad \faGooglePlusSquare
\end{document}
\usepackage{graphicx}
then\includegraphics{logo_file}
where you need it.