diff options
author | Aaron LI <aly@aaronly.me> | 2018-10-15 12:42:57 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-10-15 12:42:57 +0800 |
commit | d0d783a8ec975e2f0f787937dd3f1c5a9157c2cf (patch) | |
tree | d265573c1ece4434c95aed822e195515546cb162 /fontawesome5 | |
parent | a3545635140c6b503d776c6374ca69188b54b31a (diff) | |
download | resume-d0d783a8ec975e2f0f787937dd3f1c5a9157c2cf.tar.bz2 |
fontawesome5: Regenerate the latex style
Diffstat (limited to 'fontawesome5')
-rw-r--r-- | fontawesome5/fontawesome5.sty | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/fontawesome5/fontawesome5.sty b/fontawesome5/fontawesome5.sty index 3ba80f3..c3e4077 100644 --- a/fontawesome5/fontawesome5.sty +++ b/fontawesome5/fontawesome5.sty @@ -2,42 +2,45 @@ % Font Awesome v5 mapping for XeLaTeX % % Generated by: make-fontawesome5.py -% Date: 2018/08/25 +% Date: 2018/10/15 % % Usage % ----- -% 1. \usepackage{fontawesome} % default to *solid* style +% 1. \usepackage{fontawesome} % Prefer *Solid* style by default % or -% \usepackage[regular]{fontawesome} % use *regular* style +% \usepackage[regular]{fontawesome} % Prefer *Regular* style +% +% NOTE: +% The *Solid* style has much more icons than the *Regular* style. +% If one style doesn't have one icon, it fallbacks to the other style. +% % 2. use an icon, e.g., \faGitHub % \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{fontawesome5}[2018/08/25 Font Awesome 5] - -\RequirePackage{fontspec} +\ProvidesPackage{fontawesome5}[2018/10/15 Font Awesome 5] \DeclareOption{regular}{\def\FA@regular{true}} \ProcessOptions\relax +\RequirePackage{fontspec} + % Declare all variants % Solid (default) \newfontfamily\FontAwesomeSolid[ - BoldFont=Font Awesome 5 Free Solid, + BoldFont={Font Awesome 5 Free Solid}, ]{Font Awesome 5 Free Solid} % Regular \newfontfamily\FontAwesomeRegular[ - BoldFont=Font Awesome 5 Free, + BoldFont={Font Awesome 5 Free}, ]{Font Awesome 5 Free} % Brands \newfontfamily\FontAwesomeBrands[ - BoldFont=Font Awesome 5 Brands, + BoldFont={Font Awesome 5 Brands}, ]{Font Awesome 5 Brands} % Generic command displaying an icon by its name -\newcommand*{\faicon}[1]{{ - \FA\csname faicon@#1\endcsname -}} +% \newcommand*{\faicon}[1]{{\FA\csname faicon@#1\endcsname}} % Mappings \expandafter\def\csname faicon@500px\endcsname{\symbol{"F26E}} |