From d8f53b9c2b27874858adfdb7f4fabba043a07cec Mon Sep 17 00:00:00 2001
From: niepra01 <rolf.niepraschk@ptb.de>
Date: Mon, 11 Mar 2019 16:31:28 +0100
Subject: [PATCH] Test zu "firamath" (auskommentiert)

---
 kalibrierschein/kalibrierschein.cls | 38 ++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 14 deletions(-)

diff --git a/kalibrierschein/kalibrierschein.cls b/kalibrierschein/kalibrierschein.cls
index 7525501..81d4f0c 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'
-- 
GitLab