aboutsummaryrefslogtreecommitdiff
path: root/model_1/resources/10_fonts.tex
diff options
context:
space:
mode:
Diffstat (limited to 'model_1/resources/10_fonts.tex')
-rwxr-xr-xmodel_1/resources/10_fonts.tex36
1 files changed, 27 insertions, 9 deletions
diff --git a/model_1/resources/10_fonts.tex b/model_1/resources/10_fonts.tex
index cdd96f7..24f6cfc 100755
--- a/model_1/resources/10_fonts.tex
+++ b/model_1/resources/10_fonts.tex
@@ -1,11 +1,29 @@
-\newfontfamily\EBGaramond{EB Garamond}[
- Mapping=tex-text,
- Ligatures={Common, Required, Contextual}
-]
-\newfontfamily\EBLigatures{EB Garamond}[
- Mapping=tex-text,
- Ligatures={Common, Required, Contextual, Historic}
-]
-\newfontfamily\LibertineFont[Mapping=tex-text]{Linux Libertine O}
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={Common, Required, Contextual}}
+\setmainfont{EB Garamond}
+
+\newcommand{\DUtitletitle}[1]{%
+ {\begin{center}\textbf{\textsc{#1}}\end{center}}
+ }
+
+% Change the font for bold text
+\let\bf\textbf
+\renewcommand{\textbf}[1]{{\AltFont\selectfont\bf{#1}}}
+
+\setmonofont{Latin Modern Mono Light}
+\newfontfamily\EBGaramond
+ {EB Garamond}
+ [ Mapping=tex-text ]
+
+\newfontfamily\EBLigatures
+ {EB Garamond}
+ [ Mapping = tex-text
+ , Ligatures =
+ { Common
+ , Required
+ , Contextual
+ , Historic } ]
+
+\newfontfamily\AltFont[Mapping=tex-text]{Linux Libertine O}
\newfontfamily\CaviarDreamsFont[Path=../fonts/, Mapping=tex-text]{CaviarDreams}
\newfontfamily\CaviarDreamsBoldFont[Path=../fonts/, Mapping=tex-text]{CaviarDreams_Bold}