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