aboutsummaryrefslogtreecommitdiff
path: root/model_4/resources/00_preamble.tex
blob: d9c52c5bd18baac6062ce6aa6422720f094d296a (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{calc}

\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