summaryrefslogtreecommitdiff
path: root/fonts/firamath-otf/latex/firamath-otf.sty
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/firamath-otf/latex/firamath-otf.sty')
-rw-r--r--fonts/firamath-otf/latex/firamath-otf.sty12
1 files changed, 8 insertions, 4 deletions
diff --git a/fonts/firamath-otf/latex/firamath-otf.sty b/fonts/firamath-otf/latex/firamath-otf.sty
index ecc33046e8..41a56bd3fe 100644
--- a/fonts/firamath-otf/latex/firamath-otf.sty
+++ b/fonts/firamath-otf/latex/firamath-otf.sty
@@ -1,4 +1,4 @@
-%% $Id: firamath-otf.sty 1022 2019-04-03 12:00:29Z herbert $
+%% $Id: firamath-otf.sty 673 2023-01-16 19:44:41Z herbert $
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory macros/latex/base/lppl.txt.
@@ -8,10 +8,10 @@
% Copyright 2018 Herbert Voss hvoss@tug.org
%
\ProvidesPackage{firamath-otf}[%
- 2019/04/03 v. 0.02a (Herbert Voss) Supports fira math fonts for all luatex/xetex .]
+ 2023/01/16 v. 0.03a (Herbert Voss) Supports fira math fonts for all luatex/xetex .]
+
+\RequirePackage{iftex,xkeyval,textcomp}
-\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
-\RequirePackage{unicode-math}
\newif\iffiramath@fakebold \firamath@fakeboldfalse
\newif\iffiramath@lining \firamath@liningtrue
@@ -42,8 +42,12 @@
\def\firamath@defaultfeatures{}
\DeclareOptionX{defaultfeatures}{\def\firamath@defaultfeatures{#1}}
+\DeclareOptionX*{\PassOptionsToPackage{\CurrentOption}{unicode-math}}% added 20230111 hv
+
\ProcessOptionsX\relax
+\RequirePackage{unicode-math}
+
\iffiramath@fakebold\RequirePackage{xfakebold}\fi
\iffiramath@lining
\def\firamath@figurestyle{Lining}