Skip to content
Snippets Groups Projects
ptbposter-new-engines.clo 1.22 KiB
Newer Older
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de

\ProvidesFile{ptbposter-new-engines.clo}%
  [2019/06/27 v0.1d `PTB-Poster' new engines (RN/PTB)]
  
\RequirePackage{unicode-math}
\setmainfont{texgyrepagella}[
  Ligatures=TeX,
  Extension=.otf,
  UprightFont=*-regular,
  BoldFont=*-bold,
  ItalicFont=*-italic,
  BoldItalicFont=*-bolditalic]
\newfontfamily\PTBdesignFont{texgyreheros}[
  Ligatures=TeX,
  Extension=.otf,
  UprightFont=*-regular,
  BoldFont=*-bold,
  ItalicFont=*-italic,
  BoldItalicFont=*-bolditalic]
\setmonofont{AnonymousPro-Regular}[%
  Extension = .ttf,
  BoldFont = AnonymousPro-Bold,
  ItalicFont = AnonymousPro-Italic,
  BoldItalicFont = AnonymousPro-BoldItalic,
Rolf Niepraschk's avatar
Rolf Niepraschk committed
  Scale     = MatchLowercase]
  
\setmathfont{texgyrepagella-math.otf}[math-style=ISO,bold-style=ISO]
\let\sffamily=\PTBdesignFont
Rolf Niepraschk's avatar
Rolf Niepraschk committed

\unimathsetup{partial=upright}

\ifPTB@serif\else
  \RequirePackage[usefilenames,weight=Regular]{firamath-otf}
  \setmathfont[range=it]{texgyreheros-italic.otf}
  \renewcommand*\familydefault{\sfdefault}
Rolf Niepraschk's avatar
Rolf Niepraschk committed

\RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'    
  
\endinput