18

I'm using the cvtheme document class and \moderncv{classic} to create a CV. The field I am applying for jobs in often conduct their interviews over Skype. The are command to get small phone (phone), cellphone (\mobile) and email (\email) logos. Would it be possible to add a small Skype logo in the same manner? This would be a lot more aestheically pleasing than having to have "Skype: skypename" in the final output.

2 Answers2

26

It's included in the latest version of font awesome. There is a LaTeX package for Font Awesome, but it doesn't include a command for the Skype logo, so you have to add it manually.

\documentclass{article}
\usepackage{fontawesome}
\newcommand\faSkype{{\FA\symbol{"F17E}}}
\begin{document}
    \noindent
    \faSkype{} Skype \\
    \faPhone{} Phone \\
    \faFacebookSign{} Facebook
\end{document}

preview

Another solution I can think of is manually accessing it. Here's how:

\documentclass{article}
\usepackage{fontspec}
\newfontfamily\fontawesome
    [ Path = /Path/to/font-awesome-4.0.1/fonts/ ,
      Extension = .otf ]
    {FontAwesome}
\newcommand\fasymbol[1]{{\fontawesome\symbol{"F#1}}}
\newcommand\faSkype{\fasymbol{17E}}
\newcommand\faPhone{\fasymbol{095}}
\newcommand\faFacebook{\fasymbol{082}}
\begin{document}
\noindent
\faSkype{} Skype \\
\faPhone{} Phone \\
\faFacebook{} Facebook
\end{document}

For the symbol codes you can check the cheatsheet on their site. You'll find the icon name (eg: fa-skype) along with the hexadecimal unicode code for the symbol (eg: ). From the unicode code you can use the last three numbers/letters in capitals (17E) in the custom \fasymbol command. For this example I've created three macro's.

David Carlisle
  • 757,742
Silke
  • 10,511
0

I used this solution found on the net and adapted to my needs, working on classic theme of moderncv:

Add to the preamble:

\usepackage{tikz}
\pgfdeclareimage[height=.7\baselineskip]{SK}{skype_gray.png}
\makeatletter
\newcommand*{\skypesocialsymbol}{   
    \begin{tikzpicture}[overlay,remember picture] {\pgfuseimage{SK}};
    \end{tikzpicture}
    }
\newcommand*{\skype}[1]{\extrainfo{\skypesocialsymbol\space \space\space \href{skype:#1?add}{#1}}}
\makeatother

You have to place into your project directory a image of skype logo, here called skype_gray.png. Now you can write:

\skype{yourskypename}
Mensch
  • 65,388