From e3b7c23a71e268d71ae48814b1d1ea2e3da8c4a1 Mon Sep 17 00:00:00 2001
From: niepra01 <rolf.niepraschk@ptb.de>
Date: Tue, 12 Mar 2019 13:17:27 +0100
Subject: [PATCH] Test zu "GFSNeohellenicMath" (auskommentiert)

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

diff --git a/kalibrierschein/kalibrierschein.cls b/kalibrierschein/kalibrierschein.cls
index 81d4f0c..6774b29 100644
--- a/kalibrierschein/kalibrierschein.cls
+++ b/kalibrierschein/kalibrierschein.cls
@@ -118,7 +118,22 @@ footskip=0bp,
 %\RequirePackage[no-math]{fontspec}
 \RequirePackage{unicode-math}
 
-  \iftrue  
+\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]
@@ -137,24 +152,13 @@ footskip=0bp,
 
 \else
 
-\usepackage{firamath-otf} % passt doch nicht gut zu Helvetica (Arial))
+%%%\usepackage{firamath-otf} % passt doch nicht gut zu Helvetica (Arial))
 
-\fi
+\setmathfont{GFSNeohellenicMath.otf}%
+  [math-style=ISO,bold-style=ISO,Scale=MatchUppercase]
 
-\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]
+
+\fi
 
 \RequirePackage{newunicodechar}
 \newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
-- 
GitLab