Skip to content
Snippets Groups Projects
Commit 71f73170 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

\RequirePackage{firamath-otf}

parent 17fd1593
Branches
Tags
No related merge requests found
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de % Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ks-new-engines.clo}% \ProvidesFile{ks-new-engines.clo}%
[2020/09/14 v0.1f PTB `Kalibrierschein' new engines (RN/PTB)] [2024/04/30 v0.1g PTB `Kalibrierschein' new engines (RN/PTB)]
\RequirePackage[no-math]{fontspec} \RequirePackage[no-math]{fontspec}
\setsansfont{texgyreheros}[ \setsansfont{texgyreheros}[
...@@ -22,7 +22,10 @@ ...@@ -22,7 +22,10 @@
Scale = 1.05, Scale = 1.05,
RawFeature={embolden=.5} RawFeature={embolden=.5}
] ]
\RequirePackage[usefilenames]{firamath-otf}
\iffalse
\RequirePackage{unicode-math} \RequirePackage{unicode-math}
\setmathfont{FiraMath-Regular.otf}[ \setmathfont{FiraMath-Regular.otf}[
%\setmathfont{LatoMath.otf}[ %\setmathfont{LatoMath.otf}[
...@@ -31,17 +34,19 @@ ...@@ -31,17 +34,19 @@
bold-style=TeX, bold-style=TeX,
Numbers={Lining,Proportional}, Numbers={Lining,Proportional},
] ]
\setoperatorfont\mathsf
\setmathfont{texgyreheros-regular.otf}[range=up/{Latin,Greek,num}]
\setmathfont{texgyreheros-italic.otf}[range=it/{latin,greek}]
\setmathfont{texgyreheros-bolditalic.otf}[range=bfit/{latin,greek}]
\setmathfont{texgyreheros-bold.otf}[range=bfup/{latin,greek}]
\fi
\unimathsetup{% \unimathsetup{%
math-style = TeX, math-style = TeX,
bold-style = TeX, bold-style = TeX,
mathrm = sym, mathrm = sym,
partial=upright partial=upright
} }
\setoperatorfont\mathsf
\setmathfont{texgyreheros-regular.otf}[range=up/{Latin,Greek,num}]
\setmathfont{texgyreheros-italic.otf}[range=it/{latin,greek}]
\setmathfont{texgyreheros-bolditalic.otf}[range=bfit/{latin,greek}]
\setmathfont{texgyreheros-bold.otf}[range=bfup/{latin,greek}]
\RequirePackage{newunicodechar} \RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239) \newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment