aboutsummaryrefslogtreecommitdiff
path: root/model_6/resources/10_fonts.tex
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-01-04 14:27:05 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-01-04 14:27:05 +0100
commit57850b2a7d50ee37b7b623921081b9060dd778eb (patch)
treefccb39c8b6eb4289fd5f5b03547b8576a193305d /model_6/resources/10_fonts.tex
parentbb2a0cec678b80b1ffad675d5f2bdf1982d603d6 (diff)
New template
Diffstat (limited to 'model_6/resources/10_fonts.tex')
-rwxr-xr-xmodel_6/resources/10_fonts.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/model_6/resources/10_fonts.tex b/model_6/resources/10_fonts.tex
new file mode 100755
index 0000000..0dc179e
--- /dev/null
+++ b/model_6/resources/10_fonts.tex
@@ -0,0 +1,14 @@
+\usepackage{fontspec}
+\setmainfont[Mapping=tex-text]{EB Garamond}
+
+% Set the bold font as Linux Libertine as the EB Garamond miss some characters
+\newfontfamily\LibertineFont[Mapping=tex-text]{Linux Libertine O}
+\let\bf\textbf
+\renewcommand{\textbf}[1]{{\LibertineFont\selectfont\bf{#1}}}
+
+\setmonofont{Latin Modern Mono Light}
+
+\newfontfamily\TitleFont[Path=resources/, Mapping=tex-text]{CaviarDreams}
+\newfontfamily\CaviarDreamsFont[Path=resources/, Mapping=tex-text]{CaviarDreams}
+
+%\newfontfamily\AltFont[Mapping=tex-text]{Linux Libertine O}