diff --git a/ptbposter/ptbposter-new-engines.clo b/ptbposter/ptbposter-new-engines.clo index 913b37264d2c2094b369a454108f58e793ff0c22..604e4ed6aefc15f1a156631b5557b814e4cad060 100644 --- a/ptbposter/ptbposter-new-engines.clo +++ b/ptbposter/ptbposter-new-engines.clo @@ -1,7 +1,7 @@ % 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) diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls index 30b5070a49044537623ec8fc0adbfe24fd1fe929..7e327019074eb3acf3025b5ac3f2e0aa8f6ea71c 100644 --- a/ptbposter/ptbposter.cls +++ b/ptbposter/ptbposter.cls @@ -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