Clean code.
This commit is contained in:
parent
0ff072f78e
commit
f06ceac1cf
@ -294,7 +294,7 @@
|
|||||||
|
|
||||||
% déf(*)(TITRE)
|
% déf(*)(TITRE)
|
||||||
\NewDocumentEnvironment{déf}{ s g }{%begin
|
\NewDocumentEnvironment{déf}{ s g }{%begin
|
||||||
\setbeamercolor*{block title}{parent=definition}
|
\setbeamercolor*{block title}{parent=definition}
|
||||||
% \setbeamercolorofitem{definition}
|
% \setbeamercolorofitem{definition}
|
||||||
\IfBooleanTF #1
|
\IfBooleanTF #1
|
||||||
{
|
{
|
||||||
@ -316,7 +316,7 @@
|
|||||||
|
|
||||||
% défn(*)(TITRE)
|
% défn(*)(TITRE)
|
||||||
\NewDocumentEnvironment{défn}{ s g }{%begin
|
\NewDocumentEnvironment{défn}{ s g }{%begin
|
||||||
\setbeamercolor*{block title}{parent=definition}
|
\setbeamercolor*{block title}{parent=definition}
|
||||||
% \setbeamercolorofitem{definition}
|
% \setbeamercolorofitem{definition}
|
||||||
\IfBooleanTF #1
|
\IfBooleanTF #1
|
||||||
{
|
{
|
||||||
@ -338,7 +338,7 @@
|
|||||||
|
|
||||||
% thm(TITRE)
|
% thm(TITRE)
|
||||||
\NewDocumentEnvironment{thm}{ g }{%begin
|
\NewDocumentEnvironment{thm}{ g }{%begin
|
||||||
\setbeamercolor*{block title}{parent=theorem}
|
\setbeamercolor*{block title}{parent=theorem}
|
||||||
% \setbeamercolorofitem{theorem}
|
% \setbeamercolorofitem{theorem}
|
||||||
\IfNoValueTF {#1} {
|
\IfNoValueTF {#1} {
|
||||||
\begin{block} {Théorème}
|
\begin{block} {Théorème}
|
||||||
@ -364,7 +364,7 @@
|
|||||||
|
|
||||||
% ppt(*)(TITRE)
|
% ppt(*)(TITRE)
|
||||||
\NewDocumentEnvironment{ppt}{ s g }{%begin
|
\NewDocumentEnvironment{ppt}{ s g }{%begin
|
||||||
\setbeamercolor*{block title}{parent=property}
|
\setbeamercolor*{block title}{parent=property}
|
||||||
% \setbeamercolorofitem{property}
|
% \setbeamercolorofitem{property}
|
||||||
\IfBooleanTF #1
|
\IfBooleanTF #1
|
||||||
{
|
{
|
||||||
@ -386,7 +386,7 @@
|
|||||||
|
|
||||||
% pptn(*)(TITRE)
|
% pptn(*)(TITRE)
|
||||||
\NewDocumentEnvironment{pptn}{ s g }{%begin
|
\NewDocumentEnvironment{pptn}{ s g }{%begin
|
||||||
\setbeamercolor*{block title}{parent=property}
|
\setbeamercolor*{block title}{parent=property}
|
||||||
% \setbeamercolorofitem{property}
|
% \setbeamercolorofitem{property}
|
||||||
\IfBooleanTF #1
|
\IfBooleanTF #1
|
||||||
{
|
{
|
||||||
@ -408,7 +408,7 @@
|
|||||||
|
|
||||||
% pre(TITRE)
|
% pre(TITRE)
|
||||||
\NewDocumentEnvironment{pre}{ g }{%begin
|
\NewDocumentEnvironment{pre}{ g }{%begin
|
||||||
\setbeamercolor*{block title}{parent=proof}
|
\setbeamercolor*{block title}{parent=proof}
|
||||||
% \setbeamercolorofitem{proof}
|
% \setbeamercolorofitem{proof}
|
||||||
\IfNoValueTF {#1} {
|
\IfNoValueTF {#1} {
|
||||||
\begin{block} {Preuve}
|
\begin{block} {Preuve}
|
||||||
@ -434,7 +434,7 @@
|
|||||||
|
|
||||||
% rmq(TITRE)
|
% rmq(TITRE)
|
||||||
\NewDocumentEnvironment{rmq}{ G{Remarque} }{%begin
|
\NewDocumentEnvironment{rmq}{ G{Remarque} }{%begin
|
||||||
\setbeamercolor*{block title}{parent=remark}
|
\setbeamercolor*{block title}{parent=remark}
|
||||||
% \setbeamercolorofitem{remark}
|
% \setbeamercolorofitem{remark}
|
||||||
\begin{block} {\faExclamationTriangle \hspace{.125em} #1}
|
\begin{block} {\faExclamationTriangle \hspace{.125em} #1}
|
||||||
}{%end
|
}{%end
|
||||||
@ -444,7 +444,7 @@
|
|||||||
% met<0|i|I|a|A|1>(TITRE)
|
% 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}{parent=method}
|
\setbeamercolor*{block title}{parent=method}
|
||||||
% \setbeamercolorofitem{method}
|
% \setbeamercolorofitem{method}
|
||||||
\ifthenelse{ \NOT \equal{#1}{0} }{
|
\ifthenelse{ \NOT \equal{#1}{0} }{
|
||||||
\ifthenelse{ \equal{#1}{i} }
|
\ifthenelse{ \equal{#1}{i} }
|
||||||
@ -491,7 +491,7 @@
|
|||||||
|
|
||||||
% exe(TITRE)
|
% exe(TITRE)
|
||||||
\NewDocumentEnvironment{exe}{ G{Exemple} }{%begin
|
\NewDocumentEnvironment{exe}{ G{Exemple} }{%begin
|
||||||
\setbeamercolor*{block title}{parent=example}
|
\setbeamercolor*{block title}{parent=example}
|
||||||
% \setbeamercolorofitem{example}
|
% \setbeamercolorofitem{example}
|
||||||
\begin{block} {\faLightbulbO \hspace{.125em} #1}
|
\begin{block} {\faLightbulbO \hspace{.125em} #1}
|
||||||
}{%end
|
}{%end
|
||||||
@ -541,7 +541,7 @@
|
|||||||
% app<0|i|I|a|A|1>(TITRE)
|
% 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}{parent=application}
|
\setbeamercolor*{block title}{parent=application}
|
||||||
% \setbeamercolorofitem{application}
|
% \setbeamercolorofitem{application}
|
||||||
\ifthenelse{ \NOT \equal{#1}{0} }{
|
\ifthenelse{ \NOT \equal{#1}{0} }{
|
||||||
\ifthenelse{ \equal{#1}{i} }
|
\ifthenelse{ \equal{#1}{i} }
|
||||||
|
Loading…
Reference in New Issue
Block a user