aboutsummaryrefslogtreecommitdiff
path: root/model_1/resources/10_fonts.tex
blob: 24f6cfc0c804e93f4070d27e75f2bf6020c9369f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\usepackage{fontspec}
\defaultfontfeatures{Ligatures={Common, Required, Contextual}}
\setmainfont{EB Garamond}

\newcommand{\DUtitletitle}[1]{%
    {\begin{center}\textbf{\textsc{#1}}\end{center}}
 }

% Change the font for bold text
\let\bf\textbf
\renewcommand{\textbf}[1]{{\AltFont\selectfont\bf{#1}}}

\setmonofont{Latin Modern Mono Light}
\newfontfamily\EBGaramond 
  {EB Garamond}
  [ Mapping=tex-text ]

\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}