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

"PTBdesignFont" unabhängig

parent 0f1da84e
Branches
No related tags found
No related merge requests found
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-new-engines.clo}%
[2019/06/25 v0.1c `PTB-Poster' new engines (RN/PTB)]
[2019/06/27 v0.1d `PTB-Poster' new engines (RN/PTB)]
\RequirePackage{unicode-math}
\setmainfont{texgyrepagella}[
......@@ -11,7 +11,7 @@
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\setsansfont{texgyreheros}[
\newfontfamily\PTBdesignFont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
......@@ -26,11 +26,12 @@
Scale = MatchLowercase
]
\setmathfont{texgyrepagella-math.otf}[math-style=ISO,bold-style=ISO]
\let\sffamily=\PTBdesignFont
\ifPTB@serif\else
\renewcommand*\familydefault{\sfdefault}
\RequirePackage[usefilenames,weight=Regular]{firamath-otf}
\unimathsetup{partial=upright}
\setmathfont[range=it]{texgyreheros-italic.otf}
\renewcommand*\familydefault{\sfdefault}
\fi
\RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
......
......@@ -28,7 +28,6 @@
\newcommand*\footFontSize{}
\newcommand*\titleFontSize{}
\newcommand*\backgroundContent{}
\newcommand*\PTBdesignFont{}
\newcommand\PTB@tempa{}
\newcommand\PTB@tempb{}
......@@ -125,8 +124,6 @@
\input{ptbposter-old-engines.clo}
\fi
\let\PTBdesignFont=\sffamily
\ifdim\paperheight>\paperwidth
\setlength\PTB@scale@base{\paperheight}
\PTBlandscapefalse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment