aboutsummaryrefslogtreecommitdiff
path: root/model_4/resources/10_fonts.tex
diff options
context:
space:
mode:
Diffstat (limited to 'model_4/resources/10_fonts.tex')
-rwxr-xr-xmodel_4/resources/10_fonts.tex21
1 files changed, 12 insertions, 9 deletions
diff --git a/model_4/resources/10_fonts.tex b/model_4/resources/10_fonts.tex
index 2f53033..424bb0e 100755
--- a/model_4/resources/10_fonts.tex
+++ b/model_4/resources/10_fonts.tex
@@ -1,12 +1,15 @@
-\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}
+
+\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}
\newfontfamily\BeatrixFont[Path=../fonts/,Mapping=tex-text]{Beatrix}
+
+\defaultfontfeatures{Ligatures={Common, Required, Contextual}}
+\setmainfont{EB Garamond}
+
+% Change the font for bold text
+\let\bf\textbf
+\renewcommand{\textbf}[1]{{\AltFont\selectfont\bf{#1}}}
+
+\setmonofont{Latin Modern Mono Light}