diff --git a/kalibrierschein/kalibrierschein.cls b/kalibrierschein/kalibrierschein.cls index 50916aa69f171b0ab68b7aefc7067bde28da7de2..f2e44032bac5860471d243845591d5089f5ab974 100644 --- a/kalibrierschein/kalibrierschein.cls +++ b/kalibrierschein/kalibrierschein.cls @@ -108,20 +108,31 @@ %\RequirePackage[no-math]{fontspec} \RequirePackage{unicode-math} -\setmathfont[math-style=ISO,bold-style=ISO]{Asana Math}% damit sind Einheiten kursiv -%\setmathfont{Asana Math} -\setmainfont[Ligatures=TeX]{TeX Gyre Heros} -\setsansfont[Ligatures=TeX]{TeX Gyre Heros} -\setmathfont[range=\mathup,Scale=MatchLowercase]{TeXGyreHeros-Regular} -\setmathfont[range=\mathit,Scale=MatchLowercase]{TeXGyreHeros-Italic} -\setmathfont[range=\mathbfup,Scale=MatchLowercase]{TeXGyreHeros-Bold} -\setmathfont[range=\mathbfit,Scale=MatchLowercase]{TeXGyreHeros-BoldItalic} -\setmathfont[range=\mathsfup,Scale=MatchLowercase]{TeXGyreHeros-Regular} -\setmathfont[range=\mathsfit,Scale=MatchLowercase]{TeXGyreHeros-Italic} -\setmathfont[range=\mathbfsfup,Scale=MatchLowercase]{TeXGyreHeros-Bold} -\setmathfont[range=\mathbfsfit,Scale=MatchLowercase]{TeXGyreHeros-BoldItalic} -\setmathfont[range=\mathpunct]{TeXGyreHeros-Regular} -\setmathfont[range=\int]{Asana 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] +\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] +\setmathfont{texgyreheros-bold.otf}[range=\mathbfup,Scale=MatchLowercase] +\setmathfont{texgyreheros-bolditalic.otf}[range=\mathbfit,Scale=MatchLowercase] +\setmathfont{texgyreheros-regular.otf}[range=\mathsfup,Scale=MatchLowercase] +\setmathfont{texgyreheros-italic.otf}[range=\mathsfit,Scale=MatchLowercase] +\setmathfont{texgyreheros-bold.otf}[range=\mathbfsfup,Scale=MatchLowercase] +\setmathfont{texgyreheros-bolditalic.otf}[range=\mathbfsfit,Scale=MatchLowercase] +\setmathfont{texgyreheros-regular.otf}[range=\mathpunct] +\setmathfont{Asana-Math.otf}[range=\int] % (Ulrike): )als letztes immer einen % richtiger Mathfont, damit diverse Werte korrekt gesetzt werden. % Wirklich nötig?