1
1
%% start of file `moderncviconsmarvosym.sty'.
2
%% Copyright 2013-2013 Xavier Danaux (xdanaux@gmail.com).
2
%% Copyright 2013-2015 Xavier Danaux (xdanaux@gmail.com).
4
4
% This work may be distributed and/or modified under the
5
5
% conditions of the LaTeX Project Public License version 1.3c,
11
11
%-------------------------------------------------------------------------------
12
12
\NeedsTeXFormat{LaTeX2e}
13
13
\ProvidesPackage{moderncviconsawesome}[2013/04/29 v1.5.1 modern curriculum vitae and letter icons: awesome]
14
% XeTeX or LuaTeX is needed to be able to use fontspec and fontawesome
17
15
%-------------------------------------------------------------------------------
18
16
% required packages
24
22
%-------------------------------------------------------------------------------
25
23
% symbols definition
26
24
%-------------------------------------------------------------------------------
27
\renewcommand*{\labelitemi} {\strut\textcolor{color1}{\tiny\faCircleBlank}}
25
\renewcommand*{\labelitemi} {\strut\textcolor{color1}{\tiny\faCircleO}}
28
26
%\renewcommand*{\labelitemii} {\strut\textcolor{color1}{\large\bfseries-}} % no change from default in moderncv.cls
29
27
%\renewcommand*{\labelitemiii} {\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls
30
28
%\renewcommand*{\labelitemiv} {\labelitemiii} % no change from default in moderncv.cls
32
30
\renewcommand*{\addresssymbol} {}
33
\renewcommand*{\mobilephonesymbol} {{\Large\faMobilePhone}~}
31
\renewcommand*{\mobilephonesymbol} {{\Large\faMobile}~}
34
32
\renewcommand*{\fixedphonesymbol} {\faPhone~}
35
\renewcommand*{\faxphonesymbol} {\faPrint~} % alternative: \faFileAlt
36
\renewcommand*{\emailsymbol} {\faEnvelope~} % alternative: \faInbox
33
\renewcommand*{\faxphonesymbol} {\faFax~} % alternative: \faPrint
34
\renewcommand*{\emailsymbol} {\faEnvelopeO~} % alternative: \faInbox
37
35
\renewcommand*{\homepagesymbol} {\faGlobe~} % alternative: \faHome
38
\renewcommand*{\linkedinsocialsymbol}{\faLinkedinSign~} % alternative: \faLinkedin
39
\renewcommand*{\twittersocialsymbol} {\faTwitter~}
40
\renewcommand*{\githubsocialsymbol} {\faGithub~}
43
% if XeTeX or LuaTeX is not used, load the marvosym icon set instead
45
\typeout{WARNING: to use the awesome icon set, please use XeTeX or LuaTeX to compile your document; switching to the marvosym icon set.}
46
\RequirePackage{moderncviconsmarvosym}
36
\renewcommand*{\linkedinsocialsymbol}{\faLinkedin~} % alternative: \faLinkedinSquare
37
\renewcommand*{\twittersocialsymbol} {\faTwitter~} % alternative: \faTwitterSquare
38
\renewcommand*{\githubsocialsymbol} {\faGithub~} % alternative: \faGithubSquare, \faGithubSquare