summaryrefslogtreecommitdiffstats
path: root/config/preambule.tex
blob: 677f1f7e189ee8baf912b60306caacd7de9511eb (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
30
31
32
33
34
%%% Emacs: -*- mode:latex; coding:utf-8; -*-
%%
%% Les packages à inclure.
%%
\usepackage[a4paper,hmargin=2.5cm,vmargin={2.5cm,3cm}]{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\ifx\danslelivre\undefined
\usepackage{xr-hyper}
\fi
\usepackage[pagebackref,unicode]{hyperref}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\usepackage{fontspec}
\usepackage[math-style=ISO,bold-style=upright,sans-style=upright]{unicode-math}
%%
%% Bibliothèques TikZ
%%
\usetikzlibrary{matrix}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}
\usetikzlibrary{positioning}
%%
%% Polices
%%
\setmainfont{Linux Libertine O}
\setmathfont{XITS Math}
%% Pour utiliser une police maths adaptée du Computer Modern (mais en Unicode):
%\setmathfont[range=\mathup/{latin,Latin,greek,Greek}]{CMU Serif}
%\setmathfont[range=\mathit/{latin,Latin,greek,Greek}]{CMU Serif Italic}
%\setmathfont[range=\mathbfup/{latin,Latin,greek,Greek}]{CMU Serif Bold}
%\setmathfont[range=\mathbfit/{latin,Latin,greek,Greek}]{CMU Serif Bold Italic}
%\setmathfont[range=\mathsfup/{latin,Latin}]{CMU Sans Serif}
%\setmathfont[range=\mathtt/{latin,Latin}]{CMU Typewriter Text}