added default font option

This commit is contained in:
Paul Baxter 2016-02-18 16:58:55 +00:00
parent cb08ed447f
commit e04225737a
1 changed files with 39 additions and 29 deletions

View File

@ -16,6 +16,9 @@
\newif\if@doNoFlama
\@doNoFlamafalse
\DeclareOption{noflama}{\@doNoFlamatrue}
\newif\if@doBasicFont
\@doBasicFontfalse
\DeclareOption{basicfont}{\@doBasicFonttrue}
\newif\if@doSectionPage
\@doSectionPagefalse
\DeclareOption{nosectionpages}{\@doSectionPagetrue}
@ -118,7 +121,13 @@
% General
% Declare fontfamilys
\if@doNoFlama%
\if@doBasicFont%
% basic font option
\newcommand{\Light}{}%
\newcommand{\Book}{\bf}%
\newcommand{\Medium}{\bf}%
\else%
\if@doNoFlama%
% Sans serif math option
\if@doSans%
% sans serif math %
@ -133,7 +142,7 @@
\newfontfamily\Book{Arial-Bold}%
\newfontfamily\Medium{Arial-Bold}%
\setsansfont{Arial}%
\else%
\else%
% Sans serif math option
\if@doSans%
\usepackage[no-math]{fontspec}%
@ -148,6 +157,7 @@
\newfontfamily\Book{FlamaBook}%
\newfontfamily\Medium{FlamaMedium}%
\setsansfont{FlamaLight}%
\fi%
\fi%
\renewcommand\UrlFont{\Medium}