-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackages.sty
More file actions
81 lines (69 loc) · 1.88 KB
/
Copy pathpackages.sty
File metadata and controls
81 lines (69 loc) · 1.88 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
\ProvidesPackage{packages}
% page
\usepackage[
top=0.4in,
bottom=1.0in,
hmargin=1in,
includehead,
head=0.2in,
headsep=0.1in,
nomarginpar,
headheight=10mm,% Set \headheight to 10mm
]{geometry}
% math
\usepackage{amsmath}
\usepackage{amssymb}
\renewcommand{\frac}{\dfrac}
\usepackage{siunitx}
\sisetup{group-separator = \ }
\counterwithin{equation}{subsection}
\counterwithin{figure}{subsection}
\counterwithin{table}{subsection}
%bib
\usepackage[backend=biber,
style=authoryear-comp,
citestyle=authoryear,
natbib,maxcitenames=2,
]{biblatex}
\DefineBibliographyStrings{french}{
in = {dans},
}
\DeclareNameAlias{sortname}{family-given}
\usepackage{csquotes}
\usepackage[acronym]{glossaries}
\renewcommand{\abstractname}{Abstract}
% text
\usepackage[T1]{fontenc}
\usepackage[sb]{libertine} % or \usepackage[sb]{libertinus}
\usepackage{textcomp}
\usepackage[varqu,varl]{zi4}% inconsolata for mono, not LibertineMono
\usepackage{libertinust1math} % slanted integrals, by default
\usepackage[scr=boondoxo,bb=boondox]{mathalpha} %Omit bb=boondox for default libertinus bb
\usepackage[english,french]{babel}
\usepackage{ragged2e}
\usepackage{comment}
\usepackage{fancyhdr}
\usepackage[bookmarks=true,bookmarksopen=true,
bookmarksnumbered=true,
colorlinks=true,citecolor=black,linkcolor=black
]{hyperref}
\usepackage{titlesec}
\setlength\parindent{0pt}
\titleformat*{\section}{\LARGE\bfseries}
\titleformat*{\subsection}{\Large\bfseries}
\titleformat*{\subsubsection}{\large\bfseries}
\titleformat*{\paragraph}{\bfseries}
\titleformat*{\subparagraph}{\bfseries}
% images
\usepackage{float}
\usepackage{wrapfig}
\usepackage{graphicx}
%tab
\usepackage{tabularx,booktabs}
\usepackage{multirow}
\newcolumntype{Y}{>{\centering\arraybackslash}X}
\renewcommand{\baselinestretch}{1.2}
\newcolumntype{s}{>{\hsize=1.5cm}Y}
%caption
\usepackage{caption}
\captionsetup{labelfont=bf}