Recently I asked how is it possible to add some logo (skype, linkedin, Facebook, ) to my CV with the package font awesome. Thanks to people here who provided me a great answer. However, I noticed that the font was changed for the whole document.

That's a pity for me because I really like the default font and I would like to use for all the document. Thus, how can I set the default font to the following code?

% ---------------------------------------------------------------------

\documentclass[a4paper, 10 pt, oneside, final]{scrartcl}
\usepackage[left=4.6cm, right=0.75cm, top=0.5cm, bottom=0.5cm]{geometry}


% Title format
\titleformat{\section}{\large\scshape\raggedright}{}{0em}{} [{\color{blue}\vskip-\topskip\rule{\linewidth}{0.8pt}}]
{0pt}{0ex plus 0ex minus 0ex}{0ex plus 0ex}

% Title line color

% Left margin
\marginparwidth 96pt

% Computer skills 
        \clip (1em-.3em,-.3em) rectangle (5em +.5em ,.3em);
            \clip (1em-.3em,-.3em) rectangle (#1em +.5em ,.3em);
            \foreach \x in {1,2,...,5}{
                \path[fill=blue] (\x em,0) circle (.27em);
        \foreach \x in {1,2,...,5}{
            \draw[color=blue] (\x em,0) circle (.27em);


\def\fafacebooksq{{\FA \symbol{"F082}}}
\def\faphone{{\FA \symbol{"F095}}}
\def\faphonesq{{\FA \symbol{"F098}}}
\def\fatwitter{{\FA \symbol{"F099}}}
\def\fakeyboardo{{\FA \symbol{"F11C}}}

% ---------------------------------------------------------------------

% Command label item
\renewcommand{\labelitemi}{\raise .5ex\hbox{\tiny$\bullet$}}


% Personal informations and picture

\mymarginnote{\smash{\fontsize{10.5}{12}\textbf{Branch Warren}}}

\mymarginnote{\faphonesq route 17 \\ aabama 76 \\ Switzerland \\ \faphone +4176 67 34 56 \\ branchwarren} 
Born on the 2th of March  1887

US nationality

\textcolor{red}{\fakeyboardo}[email protected]




Thanks a lot to everyone who can help me

  • Please (1) minimise your code to what is actually required. (Is TikZ really needed?) (2) Tell us what you actually want. How can we guess what the font was before you made the changes, when we don't know what changes you made? You don't provide a link to the previous question. You don't tell us which font you want. And you don't tell us what you added, deleted or changed in response to that question. So... we are left wishing our crystal balls weren't still being repaired. (I must say, they are taking their time with them.)
    – cfr
    Commented Feb 6, 2016 at 0:45
  • Whay don't you use the fontawesome package?
    – Bernard
    Commented Feb 6, 2016 at 1:29
  • Well, you have \usepackage{libertine} that makes Linux Libertine the main document font. Remove it.
    – egreg
    Commented Feb 6, 2016 at 11:03
  • @cfr: thanks for your comments. Next time I will try to provide a better example. egreg: it was exactly what I needed, thanks a lot for this :):)
    – richpiana
    Commented Feb 6, 2016 at 11:18

1 Answer 1


Use the package fontawesome and run it with lualatex or xelatex. Do not load package inputenc and not fontenc and use the already defined macros of fontawesome:

\documentclass[a4paper, 10 pt, oneside, final]{scrartcl}
\usepackage[left=4.6cm, right=3.75cm, top=0.5cm, bottom=0.5cm]{geometry}
\marginnote{\faPhoneSquare route 17 \\ aabama 76 \\ Switzerland \\ \faPhone +4176 67 34 
    56 \\ branchwarren} 
    Born on the 2th of March  1887

    US nationality

    \textcolor{red}{\faKeyboardO}[email protected]




enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .