-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration-polices.tex
57 lines (51 loc) · 1.93 KB
/
configuration-polices.tex
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
% Author: Julien Cubizolles
% Public domain
\RequirePackage{iftex}
\RequirePackage{fourier}
% \usepackage[p,osf,scaled=.98,space]{erewhon} % scaling by .98 not really necessary
% \usepackage[varqu,varl]{inconsolata} % typewriter
% \usepackage[type1,scaled=.95]{cabin} % sans serif like Gill Sans
% \usepackage[utopia,vvarbb]{newtxmath}
\ifLuaTeX
\RequirePackage{polyglossia}
\setdefaultlanguage{french}
\setmainlanguage{french}
\setotherlanguages{greek,english}
\setotherlanguage[mathfunctions=false]{russian}
% pour ne pas avoir de conflit avec chemformula
\RequirePackage{fontspec}
% \setmainfont{TeX Gyre Pagella}
% \setmainfont{TeX Gyre Bonum}
% \setmainfont{Erewhon}
% \setmainfont{TeX Gyre Schola}
\setmainfont{TeX Gyre Termes}
% \setsansfont{Libertinus Sans}
\setsansfont{TeX Gyre Heros}
% \setsansfont{TeX Gyre Adventor}
% \setsansfont{GilliusADF}
% \setsansfont{roboto}
\setmonofont{TeX Gyre Cursor}
\newfontfamily\Greek[Ligatures=TeX]{TeX Gyre Adventor}
% \newfontfamily\russianfont[Script=Cyrillic]{Linux Libertine O}
\newfontfamily\russianfont[Script=Cyrillic]{libertinusserifdisplay-regular.otf}
\defaultfontfeatures{ligatures = TeX}
\fi
\ifPDFTeX
% \RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\RequirePackage[frenchb,greek,english]{babel}
% \RequirePackage[frenchstyle,narrowiints,partialup,noamsmath,notextcomp]{kpfonts}
% \RequirePackage[]{fourier}
\fi
% \RequirePackage{tex-gyre-math}
% \RequirePackage{tex-gyre-math-pagella}
% Unicode
% skull and crossbones U+2620
% Usine U+1F3ED
% Ampoule électrique U+1F4A1
% Main en train d'écrire U+270D
\DeclareFontFamily{U}{skulls}{}
\DeclareFontShape{U}{skulls}{m}{n}{ <-> skull }{}
\newcommand{\skull}{\text{\usefont{U}{skulls}{m}{n}\symbol{'101}}}
\newcommand{\jcskull}{\mbox{% \color{red}
\Large\skull}\xspace}