diff options
Diffstat (limited to 'model_7/resources/10_fonts.tex')
-rwxr-xr-x | model_7/resources/10_fonts.tex | 29 |
1 files changed, 29 insertions, 0 deletions
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} +] |