# LinkedIn logo in Latex

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:

-
Why not just include one of those as a graphic? –  Thruston Jul 10 '14 at 17:13
@Thruston I want to use it in a cv, as a logo. I don't know if There would be a handy way to get the image neatly in the header that way. But if there is then that would be nice :) –  rbm Jul 10 '14 at 17:14
Just \usepackage{graphicx} then \includegraphics{logo_file} where you need it. –  Thruston Jul 10 '14 at 17:16
Of course if you posted an example of what you where trying to do, people might be able to suggest improvements. –  Thruston Jul 10 '14 at 17:16
@Thruston Ok, I'll post an example of what I want. –  rbm Jul 10 '14 at 17:17

fontawesome provides a number of "Social icons":

\documentclass{article}
\usepackage{fontawesome}
\usepackage{setspace}
\begin{document}
\doublespacing% Just for this example
\verb|Github|: \faGithub \quad \faGithubSign \par
\verb|HTML5|: \faHTMLfive \par
\verb|Pinterest|: \faPinterest \quad \faPinterestSign \par
\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).

-
Very nice. Would there be a way though to get the original, blue linkedin icon? –  rbm Jul 10 '14 at 17:26
@rbm: Add the xcolor package to your preamble (\usepackage{xcolor}) and use \colorLinkedinSign where \newcommand{\colorLinkedinSign}{\textcolor{rgb:red,6;green,108;blue,170}{\faLin‌​kedinSign}}. This is the output. –  Werner Jul 10 '14 at 17:39
Great, thanks a lot! –  rbm Jul 10 '14 at 18:41

Also trusting various websites and having Adobe Myriad Pro Bold on your system,

\documentclass[border=5mm]{standalone}
\usepackage{fontspec,tikz}

\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.

-
Nice, thanks for your help! –  rbm Jul 10 '14 at 18:40
Oops, I forgot again that this needs LuaLaTeX or XeLaTeX. –  percusse Jul 10 '14 at 18:54
Also pdfLaTeX if you have the MyriadPro package installed. –  Manuel Jul 11 '14 at 9:36
@Manuel That's a very tricky thing in terms of copyright issues because the font exclusively belongs to Adobe and it is not released for free usage. Do you have a recent version somewhere? Or you mean mdsymbol ? –  percusse Jul 11 '14 at 11:29
@percusse That may be true (I know nothing about copyright), but there is a package, and a script to convert the .otf to .pfb and .afm to be used with pdfLaTeX. My point was that there is an available Myriad Pro for non-(Xe/Lua)TeX. –  Manuel Jul 11 '14 at 11:57

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 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}
% http://tex.stackexchange.com/q/190927/1402
\begin{document}

I had to manually adjust the width and \raisebox arguments to get the size and vertical placement right. There might be other ways.