-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathpreamb-pres.tex
419 lines (332 loc) · 11.6 KB
/
preamb-pres.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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
%%%%%%%%%%%%%%%%%% PREAMBULE %%%%%%%%%%%%%%%%%%
\documentclass[aspectratio=169,utf8]{beamer}
%\documentclass[aspectratio=169,handout]{beamer}
\usetheme{Boadilla}
%\usecolortheme{seahorse}
%\usecolortheme[RGB={245,66,24}]{structure}
\useoutertheme{infolines}
% packages
\usepackage{amsfonts,amsmath,amssymb,amsthm}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[francais]{babel}
\usepackage{fancybox}
\usepackage{graphicx}
\usepackage{float}
\usepackage{xfrac}
%\usepackage[usenames, x11names]{xcolor}
\usepackage{pgfplots}
\usepackage{datetime}
% ----------------------------------------------------------------------
% Pour les images
\usepackage{tikz}
\usetikzlibrary{calc,shadows,arrows.meta,patterns,matrix}
\newcommand{\tikzinput}[1]{\input{figures/#1.tikz}}
% --- les figures avec échelle éventuel
\newcommand{\myfigure}[2]{% entrée : échelle, fichier(s) figure à inclure
\begin{center}\small%
\tikzstyle{every picture}=[scale=1.0*#1]% mise en échelle + 0% (automatiquement annulé à la fin du groupe)
#2%
\end{center}}
%----- Package unités -----
\usepackage{siunitx}
\sisetup{locale = FR,detect-all,per-mode = symbol}
%\usepackage{mathptmx}
%\usepackage{fouriernc}
%\usepackage{newcent}
%\usepackage[mathcal,mathbf]{euler}
%\usepackage{palatino}
%\usepackage{newcent}
% \usepackage[mathcal,mathbf]{euler}
% \usepackage{hyperref}
% \hypersetup{colorlinks=true, linkcolor=blue, urlcolor=blue,
% pdftitle={Exo7 - Exercices de mathématiques}, pdfauthor={Exo7}}
%section
% \usepackage{sectsty}
% \allsectionsfont{\bf}
%\sectionfont{\color{Tomato3}\upshape\selectfont}
%\subsectionfont{\color{Tomato4}\upshape\selectfont}
%----- Ensembles : entiers, reels, complexes -----
\newcommand{\Nn}{\mathbb{N}} \newcommand{\N}{\mathbb{N}}
\newcommand{\Zz}{\mathbb{Z}} \newcommand{\Z}{\mathbb{Z}}
\newcommand{\Qq}{\mathbb{Q}} \newcommand{\Q}{\mathbb{Q}}
\newcommand{\Rr}{\mathbb{R}} \newcommand{\R}{\mathbb{R}}
\newcommand{\Cc}{\mathbb{C}}
\newcommand{\Kk}{\mathbb{K}} \newcommand{\K}{\mathbb{K}}
%----- Modifications de symboles -----
\renewcommand{\epsilon}{\varepsilon}
\renewcommand{\Re}{\mathop{\text{Re}}\nolimits}
\renewcommand{\Im}{\mathop{\text{Im}}\nolimits}
%\newcommand{\llbracket}{\left[\kern-0.15em\left[}
%\newcommand{\rrbracket}{\right]\kern-0.15em\right]}
\renewcommand{\ge}{\geqslant}
\renewcommand{\geq}{\geqslant}
\renewcommand{\le}{\leqslant}
\renewcommand{\leq}{\leqslant}
\renewcommand{\epsilon}{\varepsilon}
%----- Fonctions usuelles -----
\newcommand{\ch}{\mathop{\text{ch}}\nolimits}
\newcommand{\sh}{\mathop{\text{sh}}\nolimits}
\renewcommand{\tanh}{\mathop{\text{th}}\nolimits}
\newcommand{\cotan}{\mathop{\text{cotan}}\nolimits}
\newcommand{\Arcsin}{\mathop{\text{arcsin}}\nolimits}
\newcommand{\Arccos}{\mathop{\text{arccos}}\nolimits}
\newcommand{\Arctan}{\mathop{\text{arctan}}\nolimits}
\newcommand{\Argsh}{\mathop{\text{argsh}}\nolimits}
\newcommand{\Argch}{\mathop{\text{argch}}\nolimits}
\newcommand{\Argth}{\mathop{\text{argth}}\nolimits}
\newcommand{\pgcd}{\mathop{\text{pgcd}}\nolimits}
%----- Commandes divers ------
\newcommand{\ii}{\mathrm{i}}
\newcommand{\dd}{\text{d}}
\newcommand{\id}{\mathop{\text{id}}\nolimits}
\newcommand{\Ker}{\mathop{\text{Ker}}\nolimits}
\newcommand{\Card}{\mathop{\text{Card}}\nolimits}
\newcommand{\Vect}{\mathop{\text{Vect}}\nolimits}
\newcommand{\Mat}{\mathop{\text{Mat}}\nolimits}
\newcommand{\rg}{\mathop{\text{rg}}\nolimits}
\newcommand{\tr}{\mathop{\text{tr}}\nolimits}
%----- Structure des exercices ------
\newtheoremstyle{styleexo}% name
{2ex}% Space above
{3ex}% Space below
{}% Body font
{}% Indent amount 1
{\bfseries} % Theorem head font
{}% Punctuation after theorem head
{\newline}% Space after theorem head 2
{}% Theorem head spec (can be left empty, meaning ‘normal’)
%\theoremstyle{styleexo}
\newtheorem{exo}{Exercice}
\newtheorem{ind}{Indications}
\newtheorem{cor}{Correction}
\newcommand{\exercice}[1]{} \newcommand{\finexercice}{}
%\newcommand{\exercice}[1]{{\tiny\texttt{#1}}\vspace{-2ex}} % pour afficher le numero absolu, l'auteur...
\newcommand{\enonce}{\begin{exo}} \newcommand{\finenonce}{\end{exo}}
\newcommand{\indication}{\begin{ind}} \newcommand{\finindication}{\end{ind}}
\newcommand{\correction}{\begin{cor}} \newcommand{\fincorrection}{\end{cor}}
\newcommand{\noindication}{\stepcounter{ind}}
\newcommand{\nocorrection}{\stepcounter{cor}}
\newcommand{\fiche}[1]{} \newcommand{\finfiche}{}
\newcommand{\titre}[1]{\centerline{\large \bf #1}}
\newcommand{\addcommand}[1]{}
\newcommand{\video}[1]{}
% Marge
\newcommand{\mymargin}[1]{\marginpar{{\small #1}}}
\def\noqed{\renewcommand{\qedsymbol}{}}
%----- Presentation ------
\setlength{\parindent}{0cm}
%\newcommand{\ExoSept}{\href{http://exo7.emath.fr}{\textbf{\textsf{Exo7}}}}
\definecolor{myred}{rgb}{0.93,0.26,0}
\definecolor{myorange}{rgb}{0.97,0.58,0}
\definecolor{myyellow}{rgb}{1,0.86,0}
\newcommand{\LogoExoSept}[1]{ % input : echelle
{\usefont{U}{cmss}{bx}{n}
\begin{tikzpicture}[scale=0.1*#1,transform shape]
\fill[color=myorange] (0,0)--(4,0)--(4,-4)--(0,-4)--cycle;
\fill[color=myred] (0,0)--(0,3)--(-3,3)--(-3,0)--cycle;
\fill[color=myyellow] (4,0)--(7,4)--(3,7)--(0,3)--cycle;
\node[scale=5] at (3.5,3.5) {Exo7};
\end{tikzpicture}}
}
\newcommand{\debutmontitre}{
\author{} \date{}
\thispagestyle{empty}
\hspace*{-10ex}
\begin{minipage}{\textwidth}
\titlepage
\vspace*{-2.5cm}
\begin{center}
\LogoExoSept{2.5}
\end{center}
\end{minipage}
\vspace*{-0cm}
% Astuce pour que le background ne soit pas discrétisé lors de la conversion pdf -> png
\begin{tikzpicture}
\fill[opacity=0,green!60!black] (0,0)--++(0,0)--++(0,0)--++(0,0)--cycle;
\end{tikzpicture}
% toc S'affiche trop tot :
% \tableofcontents[hideallsubsections, pausesections]
}
\newcommand{\finmontitre}{
\end{frame}
\setcounter{framenumber}{0}
} % ne marche pas pour une raison obscure
%----- Commandes supplementaires ------
% \usepackage[landscape]{geometry}
% \geometry{top=1cm, bottom=3cm, left=2cm, right=10cm, marginparsep=1cm
% }
% \usepackage[a4paper]{geometry}
% \geometry{top=2cm, bottom=2cm, left=2cm, right=2cm, marginparsep=1cm
% }
%\usepackage{standalone}
% New command Arnaud -- november 2011
\setbeamersize{text margin left=24ex}
% si vous modifier cette valeur il faut aussi
% modifier le decalage du titre pour compenser
% (ex : ici =+10ex, titre =-5ex
\theoremstyle{definition}
%\newtheorem{proposition}{Proposition}
%\newtheorem{exemple}{Exemple}
%\newtheorem{theoreme}{Théorème}
%\newtheorem{lemme}{Lemme}
%\newtheorem{corollaire}{Corollaire}
%\newtheorem*{remarque*}{Remarque}
%\newtheorem*{miniexercice}{Mini-exercices}
%\newtheorem{definition}{Définition}
% Commande tikz
\usetikzlibrary{calc}
\usetikzlibrary{patterns,arrows}
\usetikzlibrary{matrix}
\usetikzlibrary{fadings}
%definition d'un terme
\newcommand{\defi}[1]{{\color{myorange}\textbf{\emph{#1}}}}
\newcommand{\evidence}[1]{{\color{blue}\textbf{\emph{#1}}}}
\newcommand{\assertion}[1]{\emph{\og#1\fg}} % pour chapitre logique
%\renewcommand{\contentsname}{Sommaire}
\renewcommand{\contentsname}{}
\setcounter{tocdepth}{2}
%------ Encadrement ------
\usepackage{fancybox}
\newcommand{\mybox}[1]{
\setlength{\fboxsep}{7pt}
\begin{center}
\shadowbox{#1}
\end{center}}
\newcommand{\myboxinline}[1]{
\setlength{\fboxsep}{5pt}
\raisebox{-10pt}{
\shadowbox{#1}
}
}
%--------------- Commande beamer---------------
\newcommand{\beameronly}[1]{#1} % permet de mettre des pause dans beamer pas dans poly
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline} % tiré du fichier beamerouterinfolines.sty
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
% \usebeamerfont{author in head/foot}\insertshortauthor%~~(\insertshortinstitute)
\usebeamerfont{section in head/foot}{\bf\insertshorttitle}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{section in head/foot}{\bf\insertsectionhead}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
% \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}
\definecolor{mygrey}{rgb}{0.5,0.5,0.5}
\setlength{\parindent}{0cm}
%\DeclareTextFontCommand{\helvetica}{\fontfamily{phv}\selectfont}
% background beamer
\definecolor{couleurhaut}{rgb}{0.85,0.9,1} % creme
\definecolor{couleurmilieu}{rgb}{1,1,1} % vert pale
\definecolor{couleurbas}{rgb}{0.85,0.9,1} % blanc
\setbeamertemplate{background canvas}[vertical shading]%
[top=couleurhaut,middle=couleurmilieu,midpoint=0.4,bottom=couleurbas]
%[top=fondtitre!05,bottom=fondtitre!60]
\makeatletter
\setbeamertemplate{theorem begin}
{%
\begin{\inserttheoremblockenv}
{%
\inserttheoremheadfont
\inserttheoremname
\inserttheoremnumber
\ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
\inserttheorempunctuation
}%
}
\setbeamertemplate{theorem end}{\end{\inserttheoremblockenv}}
\newenvironment{theoreme}[1][]{%
\setbeamercolor{block title}{fg=structure,bg=structure!40}
\setbeamercolor{block body}{fg=black,bg=structure!10}
\begin{block}{{\bf Th\'eor\`eme }#1}
}{%
\end{block}%
}
\newenvironment{proposition}[1][]{%
\setbeamercolor{block title}{fg=structure,bg=structure!40}
\setbeamercolor{block body}{fg=black,bg=structure!10}
\begin{block}{{\bf Proposition }#1}
}{%
\end{block}%
}
\newenvironment{corollaire}[1][]{%
\setbeamercolor{block title}{fg=structure,bg=structure!40}
\setbeamercolor{block body}{fg=black,bg=structure!10}
\begin{block}{{\bf Corollaire }#1}
}{%
\end{block}%
}
\newenvironment{mydefinition}[1][]{%
\setbeamercolor{block title}{fg=structure,bg=structure!40}
\setbeamercolor{block body}{fg=black,bg=structure!10}
\begin{block}{{\bf Définition} #1}
}{%
\end{block}%
}
\newenvironment{lemme}[0]{%
\setbeamercolor{block title}{fg=structure,bg=structure!40}
\setbeamercolor{block body}{fg=black,bg=structure!10}
\begin{block}{\bf Lemme}
}{%
\end{block}%
}
\newenvironment{remarque}[1][]{%
\setbeamercolor{block title}{fg=black,bg=structure!20}
\setbeamercolor{block body}{fg=black,bg=structure!5}
\begin{block}{Remarque #1}
}{%
\end{block}%
}
\newenvironment{exemple}[1][]{%
\setbeamercolor{block title}{fg=black,bg=structure!20}
\setbeamercolor{block body}{fg=black,bg=structure!5}
\begin{block}{{\bf Exemple }#1}
}{%
\end{block}%
}
\newenvironment{miniexercice}[0]{%
\setbeamercolor{block title}{fg=structure,bg=structure!20}
\setbeamercolor{block body}{fg=black,bg=structure!5}
\begin{block}{Mini-exercices}
}{%
\end{block}%
}
\newenvironment{tp}[0]{%
\setbeamercolor{block title}{fg=structure,bg=structure!40}
\setbeamercolor{block body}{fg=black,bg=structure!10}
\begin{block}{\bf Travaux pratiques}
}{%
\end{block}%
}
\newenvironment{exercicecours}[1][]{%
\setbeamercolor{block title}{fg=structure,bg=structure!40}
\setbeamercolor{block body}{fg=black,bg=structure!10}
\begin{block}{{\bf Exercice }#1}
}{%
\end{block}%
}
\newenvironment{algo}[1][]{%
\setbeamercolor{block title}{fg=structure,bg=structure!40}
\setbeamercolor{block body}{fg=black,bg=structure!10}
\begin{block}{{\bf Algorithme}\hfill{\color{gray}\texttt{#1}}}
}{%
\end{block}%
}
\setbeamertemplate{proof begin}{
\setbeamercolor{block title}{fg=black,bg=structure!20}
\setbeamercolor{block body}{fg=black,bg=structure!5}
\begin{block}{{\footnotesize Démonstration}}
\footnotesize
\smallskip}
\setbeamertemplate{proof end}{%
\end{block}}
\setbeamertemplate{qed symbol}{\openbox}
\makeatother