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

Font-Experimente

parent 119ef0eb
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@
}{}
\RequirePackage[no-math]{fontspec}
\RequirePackage[mathit=sym]{unicode-math}
\ifSERIF
\setmainfont{texgyrepagella}[
......@@ -22,32 +23,43 @@
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\else
\setmainfont{texgyreheros}[
\setsansfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\setromanfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\renewcommand*\familydefault{\sfdefault}%
\fi
\renewcommand*\familydefault{\sfdefault}%
\ifMATHSERIF
\RequirePackage{unicode-math}
\setmathfont{texgyrepagella-math.otf}[
math-style=TeX,
bold-style=TeX,
]
\else
\iftrue
\usepackage[usefilenames,weight=Regular]{firamath-otf}
\setoperatorfont\mathsf
\unimathsetup{partial=upright}%
\RequirePackage{mathastext}
\else
\usepackage{newtxsf}% XeTeX crashed
\fi
\setmathfont{FiraMath-Regular.otf}[
Scale=1,
math-style=TeX,
bold-style=TeX,
Numbers={Lining,Proportional},
]
%\RequirePackage[usefilenames,weight=Regular]{firamath-otf}
\setoperatorfont\mathsf
\unimathsetup{partial=upright}%
%\RequirePackage{mathastext}% nicht so gut
\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
\setmonofont{AnonymousPro-Regular}[%
......
......@@ -330,7 +330,7 @@
\PTBlandscapetrue
\fi
\RequirePackage{relsize}\renewcommand\RSpercentTolerance{0}
\RequirePackage{relsize}\renewcommand\RSpercentTolerance{0}% ???
\newcommand*\scaleFontSizes[1]{%
\global\PTB@default@fsize=#1\PTB@default@fontsize@base
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment