summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-fontawesome5.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-fontawesome5.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fontawesome5.sty6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontawesome5.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontawesome5.sty
index 668a2cab51e..9ca62c9538f 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontawesome5.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontawesome5.sty
@@ -6,7 +6,7 @@
%%
%% lwarp.dtx (with options: `fontawesome5')
%% This is a generated file.
-%% Copyright 2016-2019 Brian Dunn
+%% Copyright 2016-2020 Brian Dunn
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -18,8 +18,10 @@
\LWR@ProvidesPackagePass{fontawesome5}[2018/07/27]
\ExplSyntaxOn
\cs_set:Nn\fontawesome_use_icon:nn{
+ \LWR@findcurrenttextcolor
\cs_if_exist:cTF{c__fontawesome_slot_#2_tl}{
- \begin{lateximage}*[#2][#1]
+ \begin{lateximage}*[#2][fontawesome5#1SZ\LWR@font@size{}CL\LWR@tempcolor]
+ \csuse{\LWR@font@size}
\exp_last_unbraced:Nv
\__fontawesome_icon_at:nnnn
{c__fontawesome_slot_#2_tl}