Move to fontawesome5 package

This commit is contained in:
Dimitri Belopopsky 2020-10-13 21:17:04 +02:00
commit d40595f5d5

View file

@ -16,7 +16,7 @@
% required packages
%-------------------------------------------------------------------------------
% Font Awesome font
\RequirePackage{fontawesome}
\RequirePackage{fontawesome5}
% Package for academic icons
\RequirePackage{academicons}
@ -24,16 +24,16 @@
%-------------------------------------------------------------------------------
% symbols definition
%-------------------------------------------------------------------------------
\renewcommand*{\labelitemi} {\strut\textcolor{color1}{\tiny\faCircleO}}
\renewcommand*{\labelitemi} {\strut\textcolor{color1}{\tiny\faCircle}}
%\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} {{\Large\faMobilePhone}~}
\renewcommand*{\fixedphonesymbol} {\faPhone~}
\renewcommand*{\mobilephonesymbol} {{\small\faMobile}~}
\renewcommand*{\fixedphonesymbol} {{\small\faPhone}~}
\renewcommand*{\faxphonesymbol} {{\small\faFax}~} % alternative: \faPrint
\renewcommand*{\emailsymbol} {{\small\faEnvelopeO}~} % alternative: \faInbox
\renewcommand*{\emailsymbol} {{\small\faEnvelope}~} % alternative: \faInbox
\renewcommand*{\homepagesymbol} {{\small\faGlobe}~} % alternative: \faHome
\renewcommand*{\linkedinsocialsymbol} {{\small\faLinkedin}~} % alternative: \faLinkedinSquare
\renewcommand*{\xingsocialsymbol} {{\small\faXing}~} % alternative: \faXingSquare