diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2024-05-01 14:34:22 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2024-05-01 14:34:22 +0200 |
commit | a5696db7113a3b1d7350775aecb280300a08031c (patch) | |
tree | 193cc7aa5bb2918e3818277ad5ff63ef6bfaf0fa /model_7/resources/10_fonts.tex | |
parent | c283c578db25effd1e52706dafe822c78aaa7607 (diff) |
Added a new model
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} +] |