summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/guide-latex-fr/Support_oral/guide-latex-fr_beamer.tex
blob: 6367476b98b377b150642aef6f98420032ae5e7b (plain)
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
\documentclass[11pt, xcolor = {dvipsnames}]{beamer}

%-------------------------------------------------------
% BEAMER SETTINGS
%-------------------------------------------------------

%%% Options passed to the outer theme
\usetheme[]{Feather}

\definecolor{maincolor}{RGB}{8,86,215}

% Change the bar colors - NavyBlue initially
\setbeamercolor{Feather}{fg = maincolor!30, bg = maincolor}
% Change the color of the structural elements
\setbeamercolor{structure}{fg = maincolor}
% Change the frame title text color
\setbeamercolor{frametitle}{fg = white}
% Change the normal text colors
\setbeamercolor{normal text}{fg = black, bg = white}
% Change the block title colors
\setbeamercolor{block title}{fg = white, bg = maincolor}

% Change the logo in the upper right circle
\renewcommand{\logofile}{../Images/eclair.eps} 
% This is an image that comes with the LaTeX installation
% Adjust scale of the logo with regard to the circle; default is 0.875
\renewcommand{\logoscale}{0.35}

% Change the background image on the title and final page.
% It stretches to fill the entire frame!
\renewcommand{\backgroundfile}{./1-title.pdf}

%-------------------------------------------------------
% BEAMER OPTIONS (FRAMES & BLOCKS)
%-------------------------------------------------------

\AtBeginSection[]{
\begin{frame}{\secname}
\begin{columns}
\begin{column}[t]{0.5\linewidth}
\tableofcontents[current, sections = {1-4}, hideothersubsections, sectionstyle = show/shaded]
\end{column}
\hfill
\begin{column}[t]{0.5\linewidth}
\tableofcontents[current, sections = {5-8}, hideothersubsections, sectionstyle = show/shaded]
\end{column}
\end{columns}
\end{frame}
}

\setbeamercolor{block title alerted}{fg = red, bg = red!30}
\setbeamercolor{block body alerted}{fg = black, bg = red!10}

%-------------------------------------------------------
% INCLUDE PACKAGES
%-------------------------------------------------------

\usepackage[french]{babel}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\renewcommand{\familydefault}{\sfdefault}

\usepackage{newverbs}

\usepackage{enumitem, pifont, marvosym}
\setlist[enumerate, 1]{label = {\color{structure.fg}\arabic*)}}
\setlist[itemize, 1]{label = {--}}

\usepackage{amsmath, amsfonts, amssymb, esvect, mathrsfs, stmaryrd} % Pour faire des maths

\usepackage{array}
\renewcommand{\arraystretch}{1.3}

\usepackage{graphicx, float, subcaption}
\graphicspath{{../Images/}} % Chemin des images

\usepackage{ifthen}
\usetikzlibrary{arrows, arrows.meta, positioning}

%-------------------------------------------------------
% DEFINING AND REDEFINING COMMANDS
%-------------------------------------------------------

% Colored hyperlinks
\newcommand{\chref}[2]{
  \href{#1}{{\usebeamercolor[bg]{Feather}#2}}
}
\newcommand{\curl}[1]{
  {\usebeamercolor[bg]{Feather}\url{#1}}
}

% Colored verbatim
\newverbcommand{\cverb}{\color{red}}{}

% Correct font
\let\oldTeX\TeX % Pour éviter une boucle infinie dans le renewcommand qui suit
\renewcommand{\TeX}{{\rmfamily\oldTeX}}
\let\oldLaTeX\LaTeX
\renewcommand{\LaTeX}{{\rmfamily\oldLaTeX}}

% Exemple concret - Mise en forme
\setlength{\fboxrule}{2pt}
\setlength{\fboxsep}{1.5mm}
\newlength{\boxlength}
\newcommand{\exconc}[1]{
	\settowidth{\boxlength}{#1}
	\ifthenelse{\boxlength > \linewidth}{
		\setlength{\boxlength}{\linewidth}
	}{}
	{\fcolorbox{Peach}{Peach!30}{\parbox{\boxlength}{#1}}}
}

%-------------------------------------------------------
% TITLE PAGE -- INFORMATION
%-------------------------------------------------------

\title[Initiation à \LaTeX{}]{\textbf{Introduction à \LaTeX{}}}

\subtitle[]{Pour débutants et jeunes utilisateurs}

\author[Adrien Bouzigues]{%   
	Adrien \textsc{Bouzigues} \\[0.25\baselineskip]
	\includegraphics[width = 0.3\linewidth]{buque_auteur.eps} \\ [\baselineskip]
	Avec l'aide de l'UE 216 \\[-\baselineskip]
}

\institute[ENSAM]{\'Ecole Nationale Supérieure d'Arts \& Métiers \\[-\baselineskip]}

\date{\today}

\hypersetup{pdfauthor = {{Adrien Bouzigues - I13 Cl215}}, pdftitle = {{guide-latex-fr_beamer}}, pdfstartview = Fit, pdfpagelayout = SinglePage, pdfnewwindow = true, bookmarksnumbered = true, breaklinks, hidelinks, linktoc = all}

%\includeonly{./Slides/presentation,./Slides/logiciels_compilation,./Slides/texte,./Slides/maths,./Slides/tableaux}
\includeonly{./Slides/images}


%-------------------------------------------------------
% THE BODY OF THE PRESENTATION
%-------------------------------------------------------

\begin{document}

\everymath{\displaystyle}

{\1% % This is the name of the PDF file for the background
\begin{frame}[plain, noframenumbering] 
% plain : removes the header from the title page
% noframenumbering : removes the numbering of this frame only
\titlepage % Call the title page information from above
\end{frame}
}

\begin{frame}{Des questions ?}{Wooclap}
\huge{}Utilisation de Wooclap :

\begin{center}
\curl{www.wooclap.com/LATEXAM}
\end{center}
\end{frame}

\begin{frame}{Sommaire}
%\tableofcontents[hideallsubsections]
\begin{columns}[t]
\begin{column}{0.5\linewidth}
\tableofcontents[sections = {1-4}, hideothersubsections]
\end{column}
\hfill
\begin{column}{0.5\linewidth}
\tableofcontents[sections = {5-8}, hideothersubsections]
\end{column}
\end{columns}
\end{frame}

\include{./Slides/presentation}
\include{./Slides/logiciels_compilation}
\include{./Slides/texte}
\include{./Slides/maths}
\include{./Slides/tableaux}
\include{./Slides/images}
\include{./Slides/erreurs}
\include{./Slides/bonus_MR}

\end{document}