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

\ifSERIF, "arc" geringer

parent f8ffce0d
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,14 @@
\setmathfont{texgyrepagella-math.otf}[math-style=ISO,bold-style=ISO]
\let\sffamily=\PTBdesignFont
\unimathsetup{partial=upright}
\unimathsetup{partial=upright}
\ifPTB@serif\else
\makeatletter % wegen Laden aus normalem LaTeX-Dokument
\@ifundefined{ifSERIF}{%
\newif\ifSERIF \SERIFfalse
}{}
\ifSERIF\else
\RequirePackage[usefilenames,weight=Regular]{firamath-otf}
\setmathfont[range=it]{texgyreheros-italic.otf}
\setoperatorfont\mathsf
......
......@@ -11,7 +11,12 @@
\let\PTBdesignFont=\sffamily
\RequirePackage[ttdefault=true,scale=1.034]{AnonymousPro}
\ifPTB@serif
\makeatletter % wegen Laden aus normalem LaTeX-Dokument
\@ifundefined{ifSERIF}{%
\newif\ifSERIF \SERIFfalse
}{}
\ifSERIF
\RequirePackage{qpxmath}
\else
%%%\renewcommand*\familydefault{\sfdefault}
......
......@@ -21,11 +21,11 @@
\ifcase \PTB@boxlayout
% 0
\g@addto@macro\PTB@boxesSet{enhanced jigsaw,sharp corners=downhill,}
\g@addto@macro\PTB@boxesSet{enhanced jigsaw,sharp corners=downhill,arc=.8ex}
\or % 1
\g@addto@macro\PTB@boxesSet{enhanced jigsaw,sharp corners=uphill,}
\g@addto@macro\PTB@boxesSet{enhanced jigsaw,sharp corners=uphill,arc=.8ex}
\or % 2
\g@addto@macro\PTB@boxesSet{enhanced jigsaw,}
\g@addto@macro\PTB@boxesSet{enhanced jigsaw,arc=.8ex}
\or % 3
\g@addto@macro\PTB@boxesSet{arc=0pt}
\fi
......
......@@ -45,7 +45,7 @@
\newif\ifPTBlandscape \PTBlandscapefalse
\newif\ifPTB@XeOrLua \PTB@XeOrLuafalse
\newif\ifPTB@serif \PTB@seriffalse
\newif\ifSERIF \SERIFfalse
\newif\ifPTB@logo@long@ \PTB@logo@long@true
\RequirePackage{ifluatex,ifxetex}
......@@ -68,10 +68,10 @@
}
\DeclareOption{sanserif}{% noch experimentell! Besser: LuaTeX/XeTeX + OTF
\PTB@seriffalse
\SERIFfalse
}
\DeclareOption{serif}{%
\PTB@seriftrue
\SERIFtrue
}
\DeclareOption{boldTitle}{%
\global\let\PTB@title@series=\bfseries
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment