-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.sty
120 lines (93 loc) · 2.5 KB
/
custom.sty
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{custom}[2014/05/11 Custom Package]
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{titlepic}
\usepackage{pifont}
\usepackage{enumitem}
\usepackage{pgfplots}
\usepackage{tcolorbox}
\usepackage[version=3]{mhchem}
\usepackage{chemfig}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage[top=3cm, bottom=3cm, left=3cm , right=3cm]{geometry}
%\usepackage{setspace} %doublespace, onehalfspace
\usepackage{siunitx}
\usepackage{here}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{shapes,arrows}
\usepackage{tabularx}
\usepackage{url}
\usepackage{tocloft} %spacing in list of figures
\definecolor{mygreen}{rgb}{0,0.5,0}
\usepackage{listings} %input code
\lstset{
numbers=left,
numberstyle=\tiny\color{gray},
basicstyle=\rm\small\ttfamily,
keywordstyle=\bfseries\color{red},
frame=single,
commentstyle=\color{gray}=small,
stringstyle=\color{mygreen},
backgroundcolor=\color{gray!10},
%tabsize=2,
rulecolor=\color{black!30},
%title=\lstname,
breaklines=true,
framextopmargin=2pt,
framexbottommargin=2pt,
extendedchars=true,
showstringspaces=false,
}
% additional keywords for python
\lstset{emph={%
as%
},emphstyle={\bfseries\color{red}}%
}%
%\usepackage{multibbl} %multiplebibliography
\usepackage{hyperref}
\hypersetup{
colorlinks = true
}
\hypersetup{linkcolor=blue}
\hypersetup{citecolor=black}
\hypersetup{urlcolor=black}
\usepackage[babel=true]{csquotes}
\usepackage{listings}
\usepackage{color}
\usepackage{pdfpages}
\usepackage{epstopdf}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{float}
% Theoremes
\theoremstyle{definition}
\newtheorem{mydef}{Définition}
\newtheorem{myexem}[mydef]{Exemple}
\newtheorem{mynota}[mydef]{Notation}
\newtheorem{myrem}[mydef]{Remarque}
\theoremstyle{plain}
\newtheorem{mytheo}[mydef]{Théorème}
\newtheorem{myprop}[mydef]{Propriété}
\DeclareMathOperator{\newdiff}{d}
\newcommand{\dif}{\newdiff\!}
\newcommand{\ddfrac}[2]{\frac{\dif #1}{\dif #2}}
\newcommand{\df}[1]{f^{(#1)}}
\newcommand{\sub}[1]{_{\text{#1}}}
\newcommand{\reels}{\mathbb{R}}
\DeclareMathOperator\erf{erf}
% \usepackage{minted}
\usepackage{xcolor}
\usepackage[bottom]{footmisc}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
% Ajoute de l’espace entre les paragraphes et mets l’ indentation à 0
\usepackage{parskip}
\linespread{1.05}
\setlength{\parskip}{.3em plus.1em minus.1em}
\setlength{\parindent}{15pt}
\endinput