diff options
author | Karl Berry <karl@freefriends.org> | 2018-10-13 21:02:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-10-13 21:02:42 +0000 |
commit | 206e1efd94e4c3414835af0e2c8266c88ed7dcc9 (patch) | |
tree | b7463549a030aa9cfddbd1e7154bd8c62d5d33b5 /Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-generic-helper.sty | |
parent | 192d971f371510873c8f0dc2e8119ca4195599ea (diff) |
fontawesome5 (13oct18)
git-svn-id: svn://tug.org/texlive/trunk@48903 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-generic-helper.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-generic-helper.sty | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-generic-helper.sty b/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-generic-helper.sty index 7b0b4c98d90..3c73eecbee0 100644 --- a/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-generic-helper.sty +++ b/Master/texmf-dist/tex/latex/fontawesome5/fontawesome5-generic-helper.sty @@ -15,7 +15,7 @@ \@ifpackageloaded{fontawesome5}{}{\PackageError{fontawesome5-generic-helper}{This package should not be loaded individually. Load fontawesome5 instead.}{}} -\ProvidesExplPackage{fontawesome5-generic-helper}{2018/08/30}{5.3.1}{non-uTeX helper for fontawesome5} +\ProvidesExplPackage{fontawesome5-generic-helper}{2018/10/13}{5.4.1}{non-uTeX helper for fontawesome5} \cs_new:Nn\__fontawesome_def_icon:nnnnn{ \tl_if_empty:nF{#1}{ @@ -45,10 +45,17 @@ } \cs_new:Nn\fontawesome_use_icon:nn{ \cs_if_exist:cTF{c__fontawesome_slot_#2_tl}{ - \exp_last_unbraced:Nv - \__fontawesome_icon_at:nnnn - {c__fontawesome_slot_#2_tl} - {#1}{#2} + \bool_if:NTF\c__fontawesome_fixed_bool{ + \makebox[1.5em][c] + }{ + \use:n + } + { + \exp_last_unbraced:Nv + \__fontawesome_icon_at:nnnn + {c__fontawesome_slot_#2_tl} + {#1}{#2} + } }{ \msg_error:nnxx{fontawesome5}{icon-not-found}{#2}{#1} } |