diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-24 22:12:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-24 22:12:00 +0000 |
commit | 2c756ab2768e8f330dce96cf2dc9eeb273ebc8e6 (patch) | |
tree | 9d8a74eb3ac7e65cba304c0fa18f50e8e222471c /Master/texmf-dist/tex/latex/fontawesome5/fontawesome5.sty | |
parent | a5adb5b2f3d4f71ea207de1fce5f3b8f730e92dd (diff) |
fontawesome5 (24jan19)
git-svn-id: svn://tug.org/texlive/trunk@49807 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontawesome5/fontawesome5.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fontawesome5/fontawesome5.sty | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5.sty b/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5.sty index f19285f0f50..374c73cea7d 100644 --- a/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5.sty +++ b/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5.sty @@ -1,4 +1,4 @@ -% Copyright 2018 Marcel Krueger +% Copyright 2018--2019 Marcel Krueger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -13,7 +13,7 @@ % The Current Maintainer of this work is Marcel Krueger % \RequirePackage{expl3} -\ProvidesExplPackage{fontawesome5}{2018/10/13}{5.4.1}{Font Awesome 5} +\ProvidesExplPackage{fontawesome5}{2019/01/24}{5.6.3}{Font Awesome 5} \RequirePackage{l3keys2e} @@ -66,7 +66,7 @@ \NewDocumentCommand\faIcon{s O{\str_use:N\l_fontawesome_style_str} m}{ \fontawesome_use_icon:nn{#2}{#3\IfBooleanT{#1}{-alt}} } -\cs_new:Npn\fontawesome_set_style:n{ +\cs_new_protected:Npn\fontawesome_set_style:n{ \str_set:Nn\l_fontawesome_style_str } @@ -75,17 +75,17 @@ } \cs_new_eq:cc{c__fontawesome_slot_stop_tl}{c__fontawesome_slot_square_tl} -\cs_new:Npn\faStop{\faPreselectedIcon{square}} -\cs_new:Npn\faH#1{\faPreselectedIcon{h#1}} +\cs_new_protected:Npn\faStop{\faPreselectedIcon{square}} +\cs_new_protected:Npn\faH#1{\faPreselectedIcon{h#1}} \NewDocumentCommand\faRepeat{t{1}}{ \faPreselectedIcon{repeat\IfBooleanT{#1}{-1}} } -\cs_new:Npn\fa__select_ii:nnn#1#2#3{ +\cs_new_protected:Npn\fa__select_ii:nnn#1#2#3{ \cs_if_exist_use:cF {fa__#1_#2#3:} { \faPreselectedIcon{#1}#2#3 } } -\cs_new:Npn\fa__select:nn#1#2{ +\cs_new_protected:Npn\fa__select:nn#1#2{ \cs_if_exist_use:cF {fa__#1_#2:} { \peek_catcode:NTF 0 { \fa__select_ii:nnn {#1}{#2} @@ -94,39 +94,39 @@ } } } -\cs_new:Npn\fa__select:nw#1{ +\cs_new_protected:Npn\fa__select:nw#1{ \peek_catcode:NTF 0 {\fa__select:nn {#1}} {\faPreselectedIcon{#1}} } -\cs_new:cpn{fa__dice-d_4:}{\faPreselectedIcon{dice-d4}} -\cs_new:cpn{fa__dice-d_6:}{\faPreselectedIcon{dice-d6}} -\cs_new:cpn{fa__dice-d_8:}{\faPreselectedIcon{dice-d8}} -\cs_new:cpn{fa__dice-d_10:}{\faPreselectedIcon{dice-d10}} -\cs_new:cpn{fa__dice-d_12:}{\faPreselectedIcon{dice-d12}} -\cs_new:cpn{fa__dice-d_20:}{\faPreselectedIcon{dice-d20}} +\cs_new_protected:cpn{fa__dice-d_4:}{\faPreselectedIcon{dice-d4}} +\cs_new_protected:cpn{fa__dice-d_6:}{\faPreselectedIcon{dice-d6}} +\cs_new_protected:cpn{fa__dice-d_8:}{\faPreselectedIcon{dice-d8}} +\cs_new_protected:cpn{fa__dice-d_10:}{\faPreselectedIcon{dice-d10}} +\cs_new_protected:cpn{fa__dice-d_12:}{\faPreselectedIcon{dice-d12}} +\cs_new_protected:cpn{fa__dice-d_20:}{\faPreselectedIcon{dice-d20}} \NewDocumentCommand\faDiceD{}{ \fa__select:nw {dice-d} } -\cs_new:cpn{fa__wifi_0:}{\faPreselectedIcon{wifi-slash}} -\cs_new:cpn{fa__wifi_1:}{\faPreselectedIcon{wifi-1}} -\cs_new:cpn{fa__wifi_2:}{\faPreselectedIcon{wifi-2}} -\cs_new:cpn{fa__wifi_3:}{\faPreselectedIcon{wifi}} +\cs_new_protected:cpn{fa__wifi_0:}{\faPreselectedIcon{wifi-slash}} +\cs_new_protected:cpn{fa__wifi_1:}{\faPreselectedIcon{wifi-1}} +\cs_new_protected:cpn{fa__wifi_2:}{\faPreselectedIcon{wifi-2}} +\cs_new_protected:cpn{fa__wifi_3:}{\faPreselectedIcon{wifi}} \NewDocumentCommand\faWifi{}{ \fa__select:nw {wifi} } -\cs_new:cpn{fa__signal_0:}{\faPreselectedIcon{signal-slash}} -\cs_new:cpn{fa__signal_1:}{\faPreselectedIcon{signal-1}} -\cs_new:cpn{fa__signal_2:}{\faPreselectedIcon{signal-2}} -\cs_new:cpn{fa__signal_3:}{\faPreselectedIcon{signal-3}} -\cs_new:cpn{fa__signal_4:}{\faPreselectedIcon{signal-4}} -\cs_new:cpn{fa__signal_5:}{\faPreselectedIcon{signal}} +\cs_new_protected:cpn{fa__signal_0:}{\faPreselectedIcon{signal-slash}} +\cs_new_protected:cpn{fa__signal_1:}{\faPreselectedIcon{signal-1}} +\cs_new_protected:cpn{fa__signal_2:}{\faPreselectedIcon{signal-2}} +\cs_new_protected:cpn{fa__signal_3:}{\faPreselectedIcon{signal-3}} +\cs_new_protected:cpn{fa__signal_4:}{\faPreselectedIcon{signal-4}} +\cs_new_protected:cpn{fa__signal_5:}{\faPreselectedIcon{signal}} -\cs_new:cpn{fa__signal-alt_0:}{\faPreselectedIcon{signal-alt-slash}} -\cs_new:cpn{fa__signal-alt_1:}{\faPreselectedIcon{signal-alt-1}} -\cs_new:cpn{fa__signal-alt_2:}{\faPreselectedIcon{signal-alt-2}} -\cs_new:cpn{fa__signal-alt_3:}{\faPreselectedIcon{signal-alt-3}} -\cs_new:cpn{fa__signal-alt_4:}{\faPreselectedIcon{signal-alt}} +\cs_new_protected:cpn{fa__signal-alt_0:}{\faPreselectedIcon{signal-alt-slash}} +\cs_new_protected:cpn{fa__signal-alt_1:}{\faPreselectedIcon{signal-alt-1}} +\cs_new_protected:cpn{fa__signal-alt_2:}{\faPreselectedIcon{signal-alt-2}} +\cs_new_protected:cpn{fa__signal-alt_3:}{\faPreselectedIcon{signal-alt-3}} +\cs_new_protected:cpn{fa__signal-alt_4:}{\faPreselectedIcon{signal-alt}} \NewDocumentCommand\faSignalAlt{}{ \fa__select:nw {signal-alt} @@ -137,20 +137,20 @@ % The following list is special: These are icons which are *not* part of the free version, % but their -alt version is free. -\cs_set:Npn\faArrows{\faPreselectedIcon{arrows}} -\cs_set:Npn\faCloudDownload{\faPreselectedIcon{cloud-download}} -\cs_set:Npn\faCloudUpload{\faPreselectedIcon{cloud-upload}} -\cs_set:Npn\faExchange{\faPreselectedIcon{exchange}} -\cs_set:Npn\faExpandArrows{\faPreselectedIcon{expand-arrows}} -\cs_set:Npn\faExternalLink{\faPreselectedIcon{external-link}} -\cs_set:Npn\faExternalLinkSquare{\faPreselectedIcon{external-link-square}} -\cs_set:Npn\faLevelDown{\faPreselectedIcon{level-down}} -\cs_set:Npn\faLevelUp{\faPreselectedIcon{level-up}} -\cs_set:Npn\faPencil{\faPreselectedIcon{pencil}} -\cs_set:Npn\faShield{\faPreselectedIcon{shield}} -\cs_set:Npn\faSignIn{\faPreselectedIcon{sign-in}} -\cs_set:Npn\faSignOut{\faPreselectedIcon{sign-out}} -\cs_set:Npn\faTachometer{\faPreselectedIcon{tachometer}} -\cs_set:Npn\faTicket{\faPreselectedIcon{ticket}} +\cs_set_protected:Npn\faArrows{\faPreselectedIcon{arrows}} +\cs_set_protected:Npn\faCloudDownload{\faPreselectedIcon{cloud-download}} +\cs_set_protected:Npn\faCloudUpload{\faPreselectedIcon{cloud-upload}} +\cs_set_protected:Npn\faExchange{\faPreselectedIcon{exchange}} +\cs_set_protected:Npn\faExpandArrows{\faPreselectedIcon{expand-arrows}} +\cs_set_protected:Npn\faExternalLink{\faPreselectedIcon{external-link}} +\cs_set_protected:Npn\faExternalLinkSquare{\faPreselectedIcon{external-link-square}} +\cs_set_protected:Npn\faLevelDown{\faPreselectedIcon{level-down}} +\cs_set_protected:Npn\faLevelUp{\faPreselectedIcon{level-up}} +\cs_set_protected:Npn\faPencil{\faPreselectedIcon{pencil}} +\cs_set_protected:Npn\faShield{\faPreselectedIcon{shield}} +\cs_set_protected:Npn\faSignIn{\faPreselectedIcon{sign-in}} +\cs_set_protected:Npn\faSignOut{\faPreselectedIcon{sign-out}} +\cs_set_protected:Npn\faTachometer{\faPreselectedIcon{tachometer}} +\cs_set_protected:Npn\faTicket{\faPreselectedIcon{ticket}} \fontawesome_set_style:n{solid} |