- change display mode of title of thm, def env
- add property (ppt) env
This commit is contained in:
parent
c7e03cdf2d
commit
8d3c3070e7
@ -180,16 +180,35 @@
|
|||||||
% blocks
|
% blocks
|
||||||
% definition de divers blocks personnels : definition, theoreme, exemple,
|
% definition de divers blocks personnels : definition, theoreme, exemple,
|
||||||
% exercice (avec numerotation), remarque
|
% exercice (avec numerotation), remarque
|
||||||
\NewDocumentEnvironment{déf}{ G{Définition} }{%begin
|
\NewDocumentEnvironment{déf}{ G{} }{%begin
|
||||||
\setbeamercolor{block title}{fg=crimson,bg=pink!95!white}
|
\setbeamercolor{block title}{fg=white,bg=amethyst!95!white}
|
||||||
\begin{block} {#1}
|
\IfNoValueTF {#1} {
|
||||||
|
\begin{block} {Définition}
|
||||||
|
}{
|
||||||
|
\begin{block} {Définition - #1}
|
||||||
|
}
|
||||||
}{%end
|
}{%end
|
||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
%
|
%
|
||||||
\NewDocumentEnvironment{thm}{ G{Théorème} }{%begin
|
\NewDocumentEnvironment{thm}{ G{} }{%begin
|
||||||
\setbeamercolor{block title}{fg=white,bg=cerisepink!95!white}
|
\setbeamercolor{block title}{fg=white,bg=cerisepink!95!white}
|
||||||
\begin{block} {#1}
|
\IfNoValueTF {#1} {
|
||||||
|
\begin{block} {Théorème}
|
||||||
|
}{
|
||||||
|
\begin{block} {Théorème - #1}
|
||||||
|
}
|
||||||
|
}{%end
|
||||||
|
\end{block}
|
||||||
|
}
|
||||||
|
%
|
||||||
|
\NewDocumentEnvironment{ppt}{ G{} }{%begin
|
||||||
|
\setbeamercolor{block title}{fg=crimson,bg=pink!95!white}
|
||||||
|
\IfNoValueTF {#1} {
|
||||||
|
\begin{block} {Propriété}
|
||||||
|
}{
|
||||||
|
\begin{block} {Propriété - #1}
|
||||||
|
}
|
||||||
}{%end
|
}{%end
|
||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user