summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/base/f-heros.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/base/f-heros.opm')
-rw-r--r--macros/luatex/optex/base/f-heros.opm16
1 files changed, 15 insertions, 1 deletions
diff --git a/macros/luatex/optex/base/f-heros.opm b/macros/luatex/optex/base/f-heros.opm
index ca62da93a5..767052cc45 100644
--- a/macros/luatex/optex/base/f-heros.opm
+++ b/macros/luatex/optex/base/f-heros.opm
@@ -19,7 +19,21 @@ Modifiers:^^J
\_initfontfamily % new font family must be initialized
-\_loadmath {[FiraMath-Regular]}
+\_ifmathloading
+ \_loadmath {[FiraMath-Regular]}
+ \_addto\_normalmath{\_loadumathfamily 5 {xitsmath-regular}{} }
+ \_addto\_boldmath {\_loadumathfamily 5 {xitsmath-bold}{} }
+ \_addto\frak{\_fam5 }\_addto\cal{\_fam5 }
+ \_normalmath
+ \_wterm{MATH-FONT(5): "[XITSMath-Regular/Bold]" -- used for \_string\cal, \_string\frak}
+ % \bf, \bi from FiraMath:
+ \_let\_bsansvariables=\_bfvariables
+ \_let\_bsansGreek=\_bfGreek
+ \_let\_bsansgreek=\_bfgreek
+ \_let\_bsansdigits=\_bfdigits
+ \_let\_bisansvariables=\_bivariables
+ \_let\_bisansgreek=\_bigreek
+\_fi
\_endcode