diff --git a/kalibrierschein/kalibrierschein.cls b/kalibrierschein/kalibrierschein.cls index 75255015312477f0dce779ce731647a09b899b8f..81d4f0c508543ccf0535191586d17f8edd1172ef 100644 --- a/kalibrierschein/kalibrierschein.cls +++ b/kalibrierschein/kalibrierschein.cls @@ -117,20 +117,9 @@ footskip=0bp, %\RequirePackage[no-math]{fontspec} \RequirePackage{unicode-math} -\setmainfont{texgyreheros}[ - Ligatures=TeX, - Extension=.otf, - UprightFont=*-regular, - BoldFont=*-bold, - ItalicFont=*-italic, - BoldItalicFont=*-bolditalic.otf] -\setsansfont{texgyreheros}[ - Ligatures=TeX, - Extension=.otf, - UprightFont=*-regular, - BoldFont=*-bold, - ItalicFont=*-italic, - BoldItalicFont=*-bolditalic.otf] + + \iftrue + \setmathfont{Asana-Math.otf}[math-style=ISO,bold-style=ISO]% damit sind Einheiten kursiv \setmathfont{texgyreheros-regular.otf}[range=\mathup,Scale=MatchLowercase] \setmathfont{texgyreheros-italic.otf}[range=\mathit,Scale=MatchLowercase] @@ -146,6 +135,27 @@ footskip=0bp, % richtiger Mathfont, damit diverse Werte korrekt gesetzt werden. % Wirklich nötig? +\else + +\usepackage{firamath-otf} % passt doch nicht gut zu Helvetica (Arial)) + +\fi + +\setmainfont{texgyreheros}[ + Ligatures=TeX, + Extension=.otf, + UprightFont=*-regular, + BoldFont=*-bold, + ItalicFont=*-italic, + BoldItalicFont=*-bolditalic.otf] +\setsansfont{texgyreheros}[ + Ligatures=TeX, + Extension=.otf, + UprightFont=*-regular, + BoldFont=*-bold, + ItalicFont=*-italic, + BoldItalicFont=*-bolditalic.otf] + \RequirePackage{newunicodechar} \newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239) \newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'