Add a corollaire environment

This commit is contained in:
2021-12-04 18:01:36 +01:00
parent b441f956df
commit 925f90688b
2 changed files with 53 additions and 0 deletions

View File

@@ -71,6 +71,39 @@
}
}
% corollaire
\NewDocumentEnvironment{corollaire}{ s o }{
\IfBooleanTF {#1} {
% if starred: with logo
\IfNoValueTF {#2} {
% if no subtitle
\begin{@coro1}
}{
% if subtitle
\begin{@coro1}[#2]
}
}{
% if not starred: without logo
\IfNoValueTF {#2} {
% if no subtitle
\begin{@coro2}
}{
% if subtitle
\begin{@coro2}[#2]
}
}
}{
\IfBooleanTF {#1} {
\end{@coro1}
}{
\end{@coro2}
}
}
% propriete
\NewDocumentEnvironment{propriete}{ s o }{
\IfBooleanTF {#1} {