summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/moderncv/moderncviconsawesome.sty
blob: c81173d6f020a5d564ff54c7072f4258738dce3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
%% start of file `moderncviconsawesome.sty'.
%% Copyright 2013-2015 Xavier Danaux (xdanaux@gmail.com), 2020-2024 moderncv maintainers (github.com/moderncv).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.


%-------------------------------------------------------------------------------
%                identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{moderncviconsawesome}[2024-07-08 v2.4.0 modern curriculum vitae icons: awesome]

%-------------------------------------------------------------------------------
%                required packages
%-------------------------------------------------------------------------------
% Font Awesome font
\RequirePackage{fontawesome5}
\RequirePackage{xcolor}

%-------------------------------------------------------------------------------
%                set colors
%-------------------------------------------------------------------------------
\input{commons/colors}

\providecolor{address}{named}{default-socialicon-color}
\providecolor{mobilephone}{named}{default-socialicon-color}
\providecolor{fixedphone}{named}{default-socialicon-color}
\providecolor{faxphone}{named}{default-socialicon-color}
\providecolor{email}{named}{default-socialicon-color}
\providecolor{homepage}{named}{default-socialicon-color}
\providecolor{googlescholar}{named}{default-socialicon-color}
\providecolor{linkedin}{named}{default-socialicon-color}
\providecolor{xing}{named}{default-socialicon-color}
\providecolor{twitter}{named}{default-socialicon-color}
\providecolor{mastodon}{named}{default-socialicon-color}
\providecolor{github}{named}{default-socialicon-color}
\providecolor{gitlab}{named}{default-socialicon-color}
\providecolor{stackoverflow}{named}{default-socialicon-color}
\providecolor{bitbucket}{named}{default-socialicon-color}
\providecolor{skype}{named}{default-socialicon-color}
\providecolor{orcid}{named}{default-socialicon-color}
\providecolor{researchgate}{named}{default-socialicon-color}
\providecolor{telegram}{named}{default-socialicon-color}
\providecolor{whatsapp}{named}{default-socialicon-color}
\providecolor{discord}{named}{default-socialicon-color}
\providecolor{twitch}{named}{default-socialicon-color}
\providecolor{youtube}{named}{default-socialicon-color}
\providecolor{tiktok}{named}{default-socialicon-color}
\providecolor{instagram}{named}{default-socialicon-color}
\providecolor{soundcloud}{named}{default-socialicon-color}
\providecolor{steam}{named}{default-socialicon-color}
\providecolor{xbox}{named}{default-socialicon-color}
\providecolor{playstation}{named}{default-socialicon-color}
\providecolor{battlenet}{named}{default-socialicon-color}
\providecolor{born}{named}{default-socialicon-color}

%-------------------------------------------------------------------------------
%                all symbols described in moderncv.cls
%-------------------------------------------------------------------------------
\renewcommand*{\labelitemi}          {\strut\textcolor{color1}{\tiny\faCircle[regular]}} % alternative: \faCircle (solid style)
%\renewcommand*{\labelitemii}         {\strut\textcolor{color1}{\large\bfseries-}}            % no change from default in moderncv.cls
%\renewcommand*{\labelitemiii}        {\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls
%\renewcommand*{\labelitemiv}         {\labelitemiii}                                         % no change from default in moderncv.cls


%\renewcommand*{\addresssymbol}            {}
\renewcommand*{\mobilephonesymbol}        {{\color{mobilephone}\small\faMobile*}~}            % alternative: \faMobile (solid style)
\renewcommand*{\fixedphonesymbol}         {{\color{fixedphone}\small\faPhone*}~}             % alternative: \faPhone (reversed)
\renewcommand*{\faxphonesymbol}           {{\color{faxphone}\small\faFax}~}                % alternative: \faPrint
\renewcommand*{\emailsymbol}              {{\color{email}\small\faEnvelope[regular]}~}  % alternative: \faInbox, \faEnvelope (solid style)
\renewcommand*{\homepagesymbol}           {{\color{homepage}\small\faGlobeAmericas}~}      % alternative: \faHome, \faGlobe, \faGlobeEurope, \faGlobeAfrica, \faGlobeAsia
\renewcommand*{\linkedinsocialsymbol}     {{\color{linkedin}\small\faLinkedinIn}~}         % alternative: \faLinkedin
\renewcommand*{\xingsocialsymbol}         {{\color{xing}\small\faXing}~}               % alternative: \faXingSquare
\renewcommand*{\twittersocialsymbol}      {{\color{twitter}\small\faTwitter}~}            % alternative: \faTwitterSquare
\renewcommand*{\mastodonsocialsymbol}     {{\color{mastodon}\small\faMastodon}~}
\renewcommand*{\githubsocialsymbol}       {{\color{github}\small\faGithub}~}             % alternative: \faGithubSquare, \faGithub*
\renewcommand*{\gitlabsocialsymbol}       {{\color{gitlab}\small\faGitlab}~}
\renewcommand*{\stackoverflowsocialsymbol}{{\color{stackoverflow}\small\faStackOverflow}~}
\renewcommand*{\bitbucketsocialsymbol}    {{\color{bitbucket}\small\faBitbucket}~}
\renewcommand*{\skypesocialsymbol}        {{\color{skype}\small\faSkype}~}
\renewcommand*{\orcidsocialsymbol}        {{\color{orcid}\small\faOrcid}~}
\renewcommand*{\researchgatesocialsymbol} {{\color{researchgate}\small\faResearchgate}~}
%\renewcommand*{\researcheridsocialsymbol} {}
%\renewcommand*{\googlescholarsocialsymbol}{}
\renewcommand*{\telegramsocialsymbol}     {{\color{telegram}\small\faTelegram}~}
\renewcommand*{\whatsappsocialsymbol}     {{\color{whatsapp}\small\faWhatsapp}~}
\renewcommand*{\discordsocialsymbol}      {{\color{discord}\small\faDiscord}~}
\renewcommand*{\twitchsocialsymbol}       {{\color{twitch}\small\faTwitch}~}
\renewcommand*{\youtubesocialsymbol}      {{\color{youtube}\small\faYoutube}~}
\renewcommand*{\tiktoksocialsymbol}       {{\color{tiktok}\small\faTiktok}~}
\renewcommand*{\instagramsocialsymbol}    {{\color{instagram}\small\faInstagram}~}
\renewcommand*{\soundcloudsocialsymbol}   {{\color{soundcloud}\small\faSoundcloud}~}
\renewcommand*{\steamsocialsymbol}        {{\color{steam}\small\faSteam}~}
\renewcommand*{\xboxsocialsymbol}         {{\color{xbox}\small\faXbox}~}
\renewcommand*{\playstationsocialsymbol}  {{\color{playstation}\small\faPlaystation}~}
\renewcommand*{\battlenetsocialsymbol}    {{\color{battlenet}\small\faBattleNet}~}
%\renewcommand*{\signalsocialsymbol}       {}
%\renewcommand*{\matrixsocialsymbol}       {}
% \renewcommand*{\arxivsocialsymbol}        {{\color{arxiv}{\small\faarXiv}}~}
% \renewcommand*{\inspiresocialsymbol}      {{\color{inspire}{\small\faInspire}}~}
\renewcommand*{\bornsymbol}               {{\color{born}\small\faAsterisk}~}           % alternative: \faBabyCarriage

\endinput


%% end of file `moderncviconsawesome.sty'.