define new env called app for application
This commit is contained in:
parent
49cc57d841
commit
9ac6d6d1bb
@ -382,43 +382,44 @@
|
|||||||
}{%end
|
}{%end
|
||||||
\end{block}
|
\end{block}
|
||||||
}
|
}
|
||||||
% \NewDocumentEnvironment{exo} { s G{Exercice} }{%begin
|
%
|
||||||
% \setbeamercolor{block title}{fg=white,bg=blue!75!black}%
|
\newcounter{applicationcounter}
|
||||||
% \IfBooleanTF #1
|
\NewDocumentEnvironment{app} { O{0} G{Application} }{%begin
|
||||||
% {
|
\setbeamercolor{block title}{fg=white,bg=airforceblue!90!white}%
|
||||||
% \begin{block}{#2\ }
|
\ifthenelse{ \NOT \equal{#1}{0} }{
|
||||||
% }{
|
\ifthenelse{ \equal{#1}{i} }
|
||||||
% \ifthenelse{ \equal{#1}{i} }
|
{
|
||||||
% {
|
\def\cType{\roman}
|
||||||
% \def\cType{\roman}
|
}
|
||||||
% }
|
{
|
||||||
% {
|
\ifthenelse{ \equal{#1}{I} }
|
||||||
% \ifthenelse{ \equal{#1}{I} }
|
{
|
||||||
% {
|
\def\cType{\Roman}
|
||||||
% \def\cType{\Roman}
|
}
|
||||||
% }
|
{
|
||||||
% {
|
\ifthenelse{ \equal{#1}{a} }
|
||||||
% \ifthenelse{ \equal{#1}{a} }
|
{
|
||||||
% {
|
\def\cType{\alph}
|
||||||
% \def\cType{\alph}
|
}
|
||||||
% }
|
{
|
||||||
% {
|
\ifthenelse{ \equal{#1}{A} }
|
||||||
% \ifthenelse{ \equal{#1}{A} }
|
{
|
||||||
% {
|
\def\cType{\Alph}
|
||||||
% \def\cType{\Alph}
|
}
|
||||||
% }
|
{
|
||||||
% {
|
\def\cType{\arabic}
|
||||||
% \def\cType{\arabic}
|
}
|
||||||
% }
|
}
|
||||||
% }
|
}
|
||||||
% }
|
}
|
||||||
% }
|
\stepcounter{applicationcounter}
|
||||||
% \stepcounter{exercicecounter}
|
\begin{block}{#2 \cType{applicationcounter}\ }
|
||||||
% \begin{block}{#2 \cType{exercicecounter}\ }
|
}{
|
||||||
% }
|
\begin{block}{#2\ }
|
||||||
% }{%end
|
}
|
||||||
% \end{block}
|
}{%end
|
||||||
% }
|
\end{block}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
% \includemovie
|
% \includemovie
|
||||||
|
@ -111,8 +111,8 @@
|
|||||||
\mdtheorem[style=no_framed]{voc}{Vocabulaire}
|
\mdtheorem[style=no_framed]{voc}{Vocabulaire}
|
||||||
\mdtheorem[style=no_framed]{rmq}{Remarque}
|
\mdtheorem[style=no_framed]{rmq}{Remarque}
|
||||||
\mdtheorem[style=framed]{exe}{Exemple}
|
\mdtheorem[style=framed]{exe}{Exemple}
|
||||||
\mdtheorem[style=dash_framed]{ex}{Exercice - Exemple}
|
|
||||||
\mdtheorem[style=dash_framed]{exo}{Exercice}
|
\mdtheorem[style=dash_framed]{exo}{Exercice}
|
||||||
|
\mdtheorem[style=dash_framed]{app}{Application}
|
||||||
\mdtheorem[style=dash_framed]{met}{Méthode}
|
\mdtheorem[style=dash_framed]{met}{Méthode}
|
||||||
%--%
|
%--%
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user