This commit is contained in:
2020-03-04 19:13:37 +01:00
parent 3b8871ed9c
commit 9d1aa56d14
3 changed files with 61 additions and 2 deletions

View File

@@ -137,6 +137,39 @@
}
}
% consequence
\NewDocumentEnvironment{consequence}{ s o }{
\IfBooleanTF {#1} {
% if starred: without title
\IfNoValueTF {#2} {
% if no subtitle
\begin{@csq2}
}{
% if subtitle
\begin{@csq2}[#2]
}
}{
% if not starred: with title
\IfNoValueTF {#2} {
% if no subtitle
\begin{@csq1}
}{
% if subtitle
\begin{@csq1}[#2]
}
}
}{
\IfBooleanTF {#1} {
\end{@csq2}
}{
\end{@csq1}
}
}
% vocabulaire
\NewDocumentEnvironment{vocabulaire}{ s o }{
\IfBooleanTF {#1} {