Commit 0b205681 authored by Lasse Kliemann's avatar Lasse Kliemann
Browse files

theorem fonts; remove etex and reserveinserts

parent 9678c2e0
......@@ -29,6 +29,8 @@
\DeclareStringOption[]{hyphenatOptions}
\DeclareStringOption[caption=false,font=footnotesize]{subfigOptions}
\DeclareStringOption[]{theorems}
\DeclareStringOption[]{theoremsplainfont}
\DeclareStringOption[]{theoremsremarkfont}
\DeclareStringOption[Bibliography]{refname}
\DeclareStringOption[black]{hypercolor}
\DeclareBoolOption[false]{dottednumbers}
......@@ -153,8 +155,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% Packages with no or minimal influence on the main layout
\RequirePackage{etex}
\reserveinserts{20}
\RequirePackage[\ifiseries@inputencOptions]{inputenc}
\RequirePackage[T1]{fontenc}
\ififiseries@xcolor
......@@ -373,9 +373,9 @@
{} {\relax}
{numbersfirst} {
\ififiseries@dottednumbers% FIXME how can I pass through boolean options?
\RequirePackage[within=\ifiseries@theoremswithin,likeequations,language=\ifiseries@language,dottednumbers=true]{localTheorem}%
\RequirePackage[within=\ifiseries@theoremswithin,likeequations,language=\ifiseries@language,dottednumbers=true,plainfont=\ifiseries@theoremsplainfont,remarkfont=\ifiseries@theoremsremarkfont]{localTheorem}%
\else%
\RequirePackage[within=\ifiseries@theoremswithin,likeequations,language=\ifiseries@language,dottednumbers=false]{localTheorem}%
\RequirePackage[within=\ifiseries@theoremswithin,likeequations,language=\ifiseries@language,dottednumbers=false,plainfont=\ifiseries@theoremsplainfont,remarkfont=\ifiseries@theoremsremarkfont]{localTheorem}%
\fi%
\let\@subsection\subsection%
\renewcommand*\subsection{\@ifnextchar*{\@subsection}{\@subsection*}}%
......@@ -384,9 +384,9 @@
}
{numberslast} {
\ififiseries@dottednumbers%
\RequirePackage[within=\ifiseries@theoremswithin,numbersfirst=false,language=\ifiseries@language,dottednumbers=true]{localTheorem}%
\RequirePackage[within=\ifiseries@theoremswithin,numbersfirst=false,language=\ifiseries@language,dottednumbers=true,plainfont=\ifiseries@theoremsplainfont,remarkfont=\ifiseries@theoremsremarkfont]{localTheorem}%
\else%
\RequirePackage[within=\ifiseries@theoremswithin,numbersfirst=false,language=\ifiseries@language,dottednumbers=false]{localTheorem}%
\RequirePackage[within=\ifiseries@theoremswithin,numbersfirst=false,language=\ifiseries@language,dottednumbers=false,plainfont=\ifiseries@theoremsplainfont,remarkfont=\ifiseries@theoremsremarkfont]{localTheorem}%
\fi%
}
}{\PackageError{ifiseries}{Unknown~theorem~system:~#1}\@ehc}}
......@@ -533,12 +533,14 @@
\renewcommand*{\chapterautorefname}{Chapter}
\renewcommand*{\sectionautorefname}{Section}
\renewcommand*{\subsectionautorefname}{Section}
\renewcommand*{\subsubsectionautorefname}{Section}
\renewcommand*{\algocfautorefname}{Algorithm}
\renewcommand*{\algorithmautorefname}{Algorithm}}
\addto\extrasngerman{
\renewcommand*{\chapterautorefname}{Kapitel}
\renewcommand*{\sectionautorefname}{Abschnitt}
\renewcommand*{\subsectionautorefname}{Abschnitt}
\renewcommand*{\subsubsectionautorefname}{Abschnitt}
\renewcommand*{\algocfautorefname}{Algorithmus}
\renewcommand*{\algorithmautorefname}{Algorithmus}}
} %%% end ifclassloaded not beamer
......@@ -667,6 +669,12 @@
\renewcommand*\familydefault{\sfdefault}
\linespread{1.08}
}
{Heuristica} {
\RequirePackage{heuristica}
\RequirePackage[heuristica,vvarbb,bigdelims]{newtxmath}
\renewcommand*\oldstylenums[1]{\textosf{#1}}
\linespread{1.10}
}
{Kerkis} { %% some problems in math mode, e.g., tildas extend into symbols
\usepackage{kmath,kerkis}%
\let\openbox\@undefined%
......@@ -696,6 +704,11 @@
\RequirePackage[scaled=.80]{beramono}%
\linespread{1.05}%
}
{LinuxLibertine} {
\RequirePackage{libertine}
\RequirePackage{libertinust1math}
\linespread{1.05}
}
{NewCenturySchoolbook} {
\RequirePackage{fouriernc}%
\RequirePackage[scaled=.85]{beramono}%
......
......@@ -6,6 +6,8 @@
\DeclareBoolOption[true]{dottednumbers}
\DeclareBoolOption[false]{likeequations}
\DeclareBoolOption[false]{simpleequations}
\DeclareStringOption[]{plainfont}
\DeclareStringOption[]{remarkfont}
\@ifclassloaded{book}
{\DeclareStringOption[chapter]{within}}
{\DeclareStringOption[section]{within}}
......@@ -92,7 +94,7 @@
\newtheoremstyle{plain}%
{}%
{0pt}%
{}%
{\csname\localTheorem@plainfont\endcsname}%
{}%
{\bfseries}%
{.}%
......@@ -101,7 +103,7 @@
\newtheoremstyle{remark}%
{}%
{0pt}%
{}%
{\csname\localTheorem@remarkfont\endcsname}%
{}%
{\bfseries}% FIXME this is tailored for "para style"
{.}%
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment