Up
This commit is contained in:
parent
3b8871ed9c
commit
9d1aa56d14
@ -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} {
|
||||
|
@ -262,9 +262,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
%% page
|
||||
%% pagesuivante
|
||||
%%
|
||||
\NewDocumentCommand{\nextpage}{}{
|
||||
\NewDocumentCommand{\pagesuivante}{}{
|
||||
\newpage
|
||||
\thispagestyle{plain}
|
||||
\lefoot*{}
|
||||
|
@ -116,6 +116,32 @@
|
||||
\end{@dem2*}
|
||||
}
|
||||
|
||||
% consequence
|
||||
\mdtheorem[style=nologo, theoremseparator={}, theoremspace={},
|
||||
outerlinewidth=1pt, outerlinecolor=black]{@csq1}{Conséquence(s)}
|
||||
\mdtheorem[style=nologo, theoremseparator={}, theoremspace={},
|
||||
outerlinewidth=1pt, outerlinecolor=black]{@csq2}{}
|
||||
|
||||
\RenewDocumentEnvironment{@csq1}{ o } {%begin
|
||||
\IfNoValueTF {#1} {
|
||||
\begin{@csq1*}
|
||||
}{
|
||||
\begin{@csq1*}[\hfill{\normalfont\slshape#1}]
|
||||
}
|
||||
}{%end
|
||||
\end{@csq1*}
|
||||
}
|
||||
|
||||
\RenewDocumentEnvironment{@csq2}{ o } {%begin
|
||||
\IfNoValueTF {#1} {
|
||||
\begin{@csq2*}
|
||||
}{
|
||||
\begin{@csq2*}[\hfill{\normalfont\slshape#1}]
|
||||
}
|
||||
}{%end
|
||||
\end{@csq2*}
|
||||
}
|
||||
|
||||
% vocabulaire
|
||||
\mdtheorem[style=pencil, theoremseparator={},
|
||||
theoremspace={}]{@voc1}{Vocabulaire}
|
||||
|
Loading…
x
Reference in New Issue
Block a user