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

\ProvidesFile{ptbposter-new-engines.clo}%
Rolf Niepraschk's avatar
Rolf Niepraschk committed
  [2019/06/18 v0.1b `PTB-Poster' new engines (RN/PTB)]
  
\RequirePackage[no-math]{fontspec}
\RequirePackage{unicode-math}
\setmainfont{texgyrepagella}[
  Ligatures=TeX,
  Extension=.otf,
  UprightFont=*-regular,
  BoldFont=*-bold,
  ItalicFont=*-italic,
  BoldItalicFont=*-bolditalic]
\setsansfont{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,
  Scale     = MatchLowercase
]
\ifPTB@serif
  \setmathfont{texgyrepagella-math.otf}[math-style=ISO,bold-style=ISO]
\else
  \renewcommand*\familydefault{\sfdefault} 
  \RequirePackage[usefilenames,weight=Regular]{firamath-otf}
  \setmathfont[range=it]{texgyreheros-italic.otf}  
\fi
\RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'    
  
\endinput