# How to add skype & photo entries using moderncv

I'm trying to generate a CV using this code. But, I wasn't able to find how to add a skype entry to this code and another for photo one.

\documentclass[11pt,a4paper,francais]{moderncv}

\usepackage[utf8]{inputenc}
\usepackage{babel}
\firstname{XX}
\familyname{XX}
\title{XX}
\email{XX@XX.X}
\homepage{}
\mobile{XX}
\extrainfo{XX}

\makeatletter
\newcommand\personaltitle{
\def\phonesdetails{}
\collectionloop{phones}{
\protected@edef\phonesdetails{\phonesdetails\protect\makenewline\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}%
\par\noindent\begin{tabular}{@{}l@{}}
{\LARGE\textbf{\@lastname\ \@firstname}} \\
\@extrainfo \\
\mobilephonesymbol:\ \collection@phones@item  \\
\end{tabular}\par%\noindent\rule{\linewidth}{1pt}\par%
}
\begin{document}

\personaltitle

\section{Introduction}

\end{document}


How to deal with? Any brilliant idea?

Make sure you have the latest version of the FontAwesome font because Skype symbol is new. Then, in the preamble add the two lines

\usepackage{fontawesome}


and compile. The second line is required because \faSkype doesn't simply work out of the box.

With \faSkype\ John.Aims, for example, you can expect some thing like this:

Without a MWE, I cannot explain any further.

I updated my solution for your MWE, but I recommend starting your document from scratch without that ugly block \makeatletter ... \makeatother from another question here and add only the commands you need. For adding the photo, add the line \photo[64pt][0.4pt]{picture} to your personal information. Replace the picture with your actual photo. If you don't like the classic style you can use casual or oldstyle.

\documentclass[11pt,a4paper,francais]{moderncv}
\moderncvstyle{classic}
\usepackage{babel,fontawesome}
\usepackage[utf8]{inputenc}
\firstname{XX}
\familyname{XX}
\title{XX}
\email{XX@XX.X}
\homepage{}
\mobile{XX}
\photo[64pt][0.4pt]{picture}

\begin{document}
\makecvtitle

\section{Introduction}

\end{document}


• have you tried to put that code into the posted snippet one, please? – John Aims Jul 19 '15 at 1:41
• @JohnAims : Please provide a compilable code starting with \documentclass{} ... and ending with \end{document}, and people here can help you. – AboAmmar Jul 19 '15 at 1:43
• I've just posted a MWE ;) – John Aims Jul 19 '15 at 1:58
• What about the inclusion of a profile photo? – John Aims Jul 19 '15 at 2:07
• @JohnAims What's wrong with the photo? You simply need to put in the same directory where you created your main.tex document, assuming that file is where you create your CV. – Aradnix Jul 19 '15 at 6:06