~xdanaux/moderncv/trunk

« back to all changes in this revision

Viewing changes to moderncviconsawesome.sty

  • Committer: Xavier Danaux
  • Date: 2015-07-12 21:52:27 UTC
  • mfrom: (145.1.1 trunk.bzr)
  • Revision ID: xdanaux@gmail.com-20150712215227-isy2nixcjndhs37m
Updated moderncviconsawesome.sty to be compatible with the new 4.3.0 fontawesome release

Show diffs side-by-side

added added

removed removed

Lines of Context:
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).
3
3
%
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
15
 
\ifxetexorluatex
16
14
 
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
31
29
 
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~}
41
 
 
42
 
 
43
 
% if XeTeX or LuaTeX is not used, load the marvosym icon set instead
44
 
\else
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}
47
 
\fi
 
36
\renewcommand*{\linkedinsocialsymbol}{\faLinkedin~}           % alternative: \faLinkedinSquare
 
37
\renewcommand*{\twittersocialsymbol} {\faTwitter~}            % alternative: \faTwitterSquare
 
38
\renewcommand*{\githubsocialsymbol}  {\faGithub~}             % alternative: \faGithubSquare, \faGithubSquare
 
39
 
 
40
 
48
41
\endinput
49
42
 
50
43