aboutsummaryrefslogtreecommitdiff
path: root/model_2/resources/00_preamble.tex
blob: d94992255c06e154226f4d7044e80367e08d3c48 (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
\usepackage[a4paper, top=0.5cm, bottom=0.5cm, outer=0.5cm, inner=0.5cm]{geometry}
\pagestyle{empty}
\pagenumbering{gobble}

\usepackage{fontspec}
\defaultfontfeatures{Ligatures={Common, Required, Contextual}}
\setmainfont{EB Garamond}

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

\setmonofont{Latin Modern Mono Light}


\newcommand{\DUrolelatex}[1]{#1}

% Supprime l'indentation pour les listes de définitions
\newenvironment{DUfieldlist}%
  {\description[align=left,labelwidth=1.0cm,leftmargin=.5cm]}
  {\enddescription}

\makeatletter
\newcommand{\ifdefinedcolor}[3]{%
	\@ifundefinedcolor{#1}{#3}{#2}
}
\makeatother