Cahnge some comments.
This commit is contained in:
parent
e9689d7ea6
commit
30ba410206
@ -156,7 +156,7 @@
|
|||||||
\makeatletter
|
\makeatletter
|
||||||
|
|
||||||
%-- Macros personnelles
|
%-- Macros personnelles
|
||||||
% \titre
|
% \titre{TITRE}{ANNÉE}{AUTEUR}{LIEU}
|
||||||
% defini le titre du document
|
% defini le titre du document
|
||||||
\newcommand{\titre}[4]{%
|
\newcommand{\titre}[4]{%
|
||||||
\title{#1}
|
\title{#1}
|
||||||
@ -184,7 +184,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
% \partie | \sspartie
|
% \partie{TITRE} et \sspartie{TITRE}
|
||||||
% definie un slide de titre pour une (sous)section
|
% definie un slide de titre pour une (sous)section
|
||||||
\newcounter{partiecounter}
|
\newcounter{partiecounter}
|
||||||
\newcounter{sspartiecounter}
|
\newcounter{sspartiecounter}
|
||||||
@ -233,6 +233,8 @@
|
|||||||
% blocks
|
% blocks
|
||||||
% definition de divers blocks personnels : definition, theoreme, exemple,
|
% definition de divers blocks personnels : definition, theoreme, exemple,
|
||||||
% exercice (avec numerotation), remarque, methode.
|
% exercice (avec numerotation), remarque, methode.
|
||||||
|
%
|
||||||
|
% déf(*)(TITRE)
|
||||||
\NewDocumentEnvironment{déf}{ s g }{%begin
|
\NewDocumentEnvironment{déf}{ s g }{%begin
|
||||||
\setbeamercolor{block title}{fg=red,bg=blush!10!white}
|
\setbeamercolor{block title}{fg=red,bg=blush!10!white}
|
||||||
\IfBooleanTF #1
|
\IfBooleanTF #1
|
||||||
@ -253,6 +255,7 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
%
|
%
|
||||||
|
% thm(TITRE)
|
||||||
\NewDocumentEnvironment{thm}{ g }{%begin
|
\NewDocumentEnvironment{thm}{ g }{%begin
|
||||||
\setbeamercolor{block title}{fg=white,bg=red!90!white}
|
\setbeamercolor{block title}{fg=white,bg=red!90!white}
|
||||||
\IfNoValueTF {#1} {
|
\IfNoValueTF {#1} {
|
||||||
@ -264,6 +267,7 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
%
|
%
|
||||||
|
% ppt(*)(TITRE)
|
||||||
\NewDocumentEnvironment{ppt}{ s g }{%begin
|
\NewDocumentEnvironment{ppt}{ s g }{%begin
|
||||||
\setbeamercolor{block title}{fg=white,bg=brickred!90!white}
|
\setbeamercolor{block title}{fg=white,bg=brickred!90!white}
|
||||||
\IfBooleanTF #1
|
\IfBooleanTF #1
|
||||||
@ -284,6 +288,7 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
%
|
%
|
||||||
|
% pre(TITRE)
|
||||||
\NewDocumentEnvironment{pre}{ g }{%begin
|
\NewDocumentEnvironment{pre}{ g }{%begin
|
||||||
\setbeamercolor{block title}{fg=hanblue,bg=airforceblue!10!white}
|
\setbeamercolor{block title}{fg=hanblue,bg=airforceblue!10!white}
|
||||||
\IfNoValueTF {#1} {
|
\IfNoValueTF {#1} {
|
||||||
@ -295,6 +300,7 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
%
|
%
|
||||||
|
% rmq(TITRE)
|
||||||
\NewDocumentEnvironment{rmq}{ G{Remarque} }{%begin
|
\NewDocumentEnvironment{rmq}{ G{Remarque} }{%begin
|
||||||
\setbeamercolor{block title}{fg=blush,bg=blush!10!white}%fg=white,bg=cerisepink!80!white}%
|
\setbeamercolor{block title}{fg=blush,bg=blush!10!white}%fg=white,bg=cerisepink!80!white}%
|
||||||
\begin{block} {\faExclamationTriangle \hspace{.125em} #1}
|
\begin{block} {\faExclamationTriangle \hspace{.125em} #1}
|
||||||
@ -302,6 +308,7 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
%
|
%
|
||||||
|
% met<0|i|I|a|A|1>(TITRE)
|
||||||
\newcounter{methodecounter}
|
\newcounter{methodecounter}
|
||||||
\NewDocumentEnvironment{met} { O{0} g }{%begin
|
\NewDocumentEnvironment{met} { O{0} g }{%begin
|
||||||
\setbeamercolor{block title}{fg=black,bg=amber!75!white}%
|
\setbeamercolor{block title}{fg=black,bg=amber!75!white}%
|
||||||
@ -348,6 +355,7 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
%
|
%
|
||||||
|
% exe(TITRE)
|
||||||
\NewDocumentEnvironment{exe}{ G{Exemple} }{%begin
|
\NewDocumentEnvironment{exe}{ G{Exemple} }{%begin
|
||||||
\setbeamercolor{block title}{fg=darkspringgreen,bg=green!10!white}%
|
\setbeamercolor{block title}{fg=darkspringgreen,bg=green!10!white}%
|
||||||
\begin{block} {#1}
|
\begin{block} {#1}
|
||||||
@ -355,6 +363,7 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
%
|
%
|
||||||
|
% exo<0|i|I|a|A|1>(TITRE)
|
||||||
\newcounter{exercicecounter}
|
\newcounter{exercicecounter}
|
||||||
\NewDocumentEnvironment{exo} { O{0} G{Exercice} }{%begin
|
\NewDocumentEnvironment{exo} { O{0} G{Exercice} }{%begin
|
||||||
\setbeamercolor{block title}{fg=white,bg=airforceblue!90!white}%
|
\setbeamercolor{block title}{fg=white,bg=airforceblue!90!white}%
|
||||||
@ -393,6 +402,7 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
%
|
%
|
||||||
|
% app<0|i|I|a|A|1>(TITRE)
|
||||||
\newcounter{applicationcounter}
|
\newcounter{applicationcounter}
|
||||||
\NewDocumentEnvironment{app} { O{0} G{Application} }{%begin
|
\NewDocumentEnvironment{app} { O{0} G{Application} }{%begin
|
||||||
\setbeamercolor{block title}{fg=white,bg=airforceblue!90!white}%
|
\setbeamercolor{block title}{fg=white,bg=airforceblue!90!white}%
|
||||||
|
Loading…
Reference in New Issue
Block a user