-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.tex
192 lines (182 loc) · 5.39 KB
/
env.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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
\usepackage[most]{tcolorbox}
\def\rad{4}
\def\epaisseur{0.5}
\def\margeinter{5}
% RedOrange
\newtcolorbox[auto counter,number within=section]{defi}[2][]{%
breakable,
boxsep=\margeinter pt,
left=0pt,
right=0pt,
top=0pt,
bottom=0pt,
enhanced jigsaw, % better frame drawing
% borderline west={1pt}{5pt}{black}, % straight vertical line at the left edge
% sharp corners, % No rounded corners
colframe=Mahogany,
arc=\rad pt,
boxrule=0pt, % no real frame,
leftrule=\epaisseur mm,
rightrule=\epaisseur mm,
fonttitle={\bfseries},
colback=Mahogany!5!white,
coltitle={Mahogany}, % Black colour for title
title={\textsc{Définition} \thetcbcounter\ --\ #2.\ }, % Fixed title
attach title to upper, % Move the title into the box
#1
}
\newtcolorbox[auto counter,number within=section]{theo}[2][]{%
breakable,
boxsep=\margeinter pt,
left=0pt,
right=0pt,
top=0pt,
bottom=0pt,
enhanced jigsaw, % better frame drawing
% borderline west={1pt}{5pt}{RoyalBlue}, % straight vertical line at the left edge
% sharp corners, % No rounded corners
colframe=Periwinkle,
arc=\rad pt,
boxrule=0pt, % no real frame,
leftrule=\epaisseur mm,
rightrule=\epaisseur mm,
fonttitle=\bfseries,
% fontupper=\slshape,
colback=Periwinkle!5!white,
coltitle={Periwinkle}, % Black colour for title
title={\textsc{Théorème} \thetcbcounter\ --\ #2.\ }, % Fixed title
attach title to upper, % Move the title into the box
#1
}
\newtcolorbox[auto counter,number within=section]{methode}[1][]{%
breakable,
boxsep=\margeinter pt,
left=0pt,
right=0pt,
top=0pt,
bottom=0pt,
enhanced jigsaw, % better frame drawing
% borderline west={1pt}{5pt}{darkgray}, % straight vertical line at the left edge
% sharp corners, % No rounded corners
colframe=darkgray,
arc=\rad pt,
boxrule=0pt, % no real frame,
leftrule=\epaisseur mm,
rightrule=\epaisseur mm,
fonttitle={\bfseries},
colback=darkgray!5!white,
coltitle={darkgray}, % Black colour for title
title={\textsc{Méthode} \thetcbcounter\ }, % Fixed title
attach title to upper, % Move the title into the box
#1
}
\newtcolorbox[auto counter,number within=section]{lemme}[1][]{%
breakable,
boxsep=\margeinter pt,
left=0pt,
right=0pt,
top=0pt,
bottom=0pt,
enhanced jigsaw, % better frame drawing
% borderline west={1pt}{5pt}{RoyalBlue}, % straight vertical line at the left edge
% sharp corners, % No rounded corners
colframe=Periwinkle,
arc=\rad pt,
boxrule=0pt, % no real frame,
leftrule=\epaisseur mm,
rightrule=\epaisseur mm,
fonttitle={\bfseries},
colback=Periwinkle!5!white,
coltitle={Periwinkle}, % Black colour for title
title={\textsc{Lemme} \thetcbcounter\ }, % Fixed title
attach title to upper, % Move the title into the box
#1
}
\newtcolorbox[auto counter,number within=section]{corol}[1][]{%
breakable,
boxsep=\margeinter pt,
left=0pt,
right=0pt,
top=0pt,
bottom=0pt,
enhanced jigsaw, % better frame drawing
% borderline west={1pt}{5pt}{RoyalBlue}, % straight vertical line at the left edge
% sharp corners, % No rounded corners
colframe=Periwinkle,
arc=\rad pt,
boxrule=0pt, % no real frame,
leftrule=\epaisseur mm,
rightrule=\epaisseur mm,
fonttitle={\bfseries},
colback=Periwinkle!5!white,
coltitle={Periwinkle}, % Black colour for title
title={\textsc{Corollaire} \thetcbcounter\ }, % Fixed title
attach title to upper, % Move the title into the box
#1
}
\newtcolorbox[auto counter,number within=section]{prop}[2][]{%
breakable,
boxsep=\margeinter pt,
left=0pt,
right=0pt,
top=0pt,
bottom=0pt,
enhanced jigsaw, % better frame drawing
% borderline west={1pt}{5pt}{RoyalBlue}, % straight vertical line at the left edge
% sharp corners, % No rounded corners
colframe=Periwinkle,
arc=\rad pt,
boxrule=0pt, % no real frame,
leftrule=\epaisseur mm,
rightrule=\epaisseur mm,
fonttitle={\bfseries},
colback=Periwinkle!5!white,
coltitle={Periwinkle}, % Black colour for title
title={\textsc{Proposition} \thetcbcounter\ --\ #2.\ }, % Fixed title
attach title to upper, % Move the title into the box
#1
}
\newtcolorbox[auto counter,number within=section]{remarque}[1][]{%
breakable,
boxsep=\margeinter pt,
left=0pt,
right=0pt,
top=0pt,
bottom=0pt,
enhanced jigsaw, % better frame drawing
% borderline west={1pt}{5pt}{ForestGreen}, % straight vertical line at the left edge
% sharp corners, % No rounded corners
colframe=JungleGreen,
arc=\rad pt,
boxrule=0pt, % no real frame,
leftrule=\epaisseur mm,
rightrule=\epaisseur mm,
fonttitle={\bfseries},
colback=JungleGreen!5!white,
coltitle={JungleGreen}, % Black colour for title
title={\textsc{Remarque} \thetcbcounter\ }, % Fixed title
attach title to upper, % Move the title into the box
#1
}
\newtcolorbox[auto counter,number within=section]{exercice}[1][]{%
breakable,
boxsep=\margeinter pt,
left=0pt,
right=0pt,
top=0pt,
bottom=0pt,
enhanced jigsaw, % better frame drawing
% borderline west={1pt}{5pt}{ForestGreen}, % straight vertical line at the left edge
% sharp corners, % No rounded corners
colframe=Mulberry,
arc=\rad pt,
boxrule=0pt, % no real frame,
leftrule=\epaisseur mm,
rightrule=\epaisseur mm,
fonttitle={\bfseries},
colback=Mulberry!5!white,
coltitle={Mulberry}, % Black colour for title
title={\textsc{Exercice} \thetcbcounter\ }, % Fixed title
attach title to upper, % Move the title into the box
#1
}