aboutsummaryrefslogtreecommitdiff
path: root/model_2/resources/10_fonts.tex
blob: 928f801473224022c513cc58dd12986a263c2ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\usepackage{fontspec}
\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}
\newfontfamily\EBLigatures{EB Garamond}[
    Mapping=tex-text,
    Ligatures={Common, Required, Contextual, Historic}
]
\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}