From a5696db7113a3b1d7350775aecb280300a08031c Mon Sep 17 00:00:00 2001
From: Sébastien Dailly <sebastien@dailly.me>
Date: Wed, 1 May 2024 14:34:22 +0200
Subject: Added a new model

---
 model_7/resources/10_fonts.tex | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100755 model_7/resources/10_fonts.tex

(limited to 'model_7/resources/10_fonts.tex')

diff --git a/model_7/resources/10_fonts.tex b/model_7/resources/10_fonts.tex
new file mode 100755
index 0000000..bc2e3be
--- /dev/null
+++ b/model_7/resources/10_fonts.tex
@@ -0,0 +1,29 @@
+\usepackage{fontspec}
+\setmainfont{Lato Light}[
+    Ligatures={Required,Common,TeX},
+    BoldFont={Lato Bold}, 
+    ItalicFont={EB Garamond 12 Italic},
+    ItalicFeatures={
+        Ligatures={Required,Common,TeX,Rare},
+        RawFeature={+dlig,+clig}}
+]
+
+\newcommand{\DUtitletitle}[1]{%
+    {\begin{center}\textbf{\textsc{#1}}\end{center}}
+ }
+
+\setmonofont{Latin Modern Mono Light}
+
+\newfontfamily\Garamond{EB Garamond}[ 
+    Mapping=tex-text, 
+    Ligatures={Required,Common,TeX,Rare},
+    RawFeature={+dlig,+clig}
+]
+
+% Variante de la police avec les caractères en capitales modifiés
+% Cette variante est utilisée pour les titres
+\newfontfamily\GaramondSwsh{EB Garamond}[ 
+    Mapping=tex-text, 
+    Ligatures={Required,Common,TeX,Rare},
+    RawFeature={+dlig,+swsh,+calt}
+]
-- 
cgit v1.2.3

