summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ffcode/ffcode.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/ffcode/ffcode.sty')
-rw-r--r--macros/latex/contrib/ffcode/ffcode.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/latex/contrib/ffcode/ffcode.sty b/macros/latex/contrib/ffcode/ffcode.sty
index 65b846b8e5..3ca1367f3d 100644
--- a/macros/latex/contrib/ffcode/ffcode.sty
+++ b/macros/latex/contrib/ffcode/ffcode.sty
@@ -21,7 +21,7 @@
% SOFTWARE.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ffcode}[2022/01/23 0.4.1 Fixed Font Code]
+\ProvidesPackage{ffcode}[2022/08/13 0.4.3 Fixed Font Code]
\RequirePackage{xkeyval}
@@ -94,7 +94,7 @@
colback=gray!5!white,boxrule=0.1pt,arc=1pt,
boxsep=1.2pt,left=0.5pt,right=0.5pt,top=0.2pt,bottom=0.2pt,
tcbox raise base}
- \newcommand\ff[1]{\ff@box{\ff@rule\ff@print{#1}}}
+ \newcommand\ff[1]{\relax\ifmmode{\ff@rule\ff@print{#1}}\else{\ff@box{\ff@rule\ff@print{#1}}}\fi}
\fi\makeatother
\endinput