Divide the app env into two new envs with or without title.
This commit is contained in:
parent
daddccb173
commit
0edcfd66e2
@ -143,7 +143,7 @@
|
||||
}
|
||||
|
||||
% commentaire
|
||||
\mdtheorem[style=quote, frametitle=none,
|
||||
\mdtheorem[style=comment, frametitle=none,
|
||||
frametitleaboveskip=0em, frametitlebelowskip=0em]{@com}{}
|
||||
|
||||
\RenewDocumentEnvironment{@com}{ o } {%begin
|
||||
@ -153,7 +153,7 @@
|
||||
\begin{@com*}[#1]
|
||||
}
|
||||
}{%end
|
||||
\end{@com*}
|
||||
\end{@com*}
|
||||
}
|
||||
|
||||
% remarque
|
||||
@ -208,16 +208,28 @@
|
||||
|
||||
% application
|
||||
\mdtheorem[style=cogs, theoremseparator={ -},
|
||||
theoremspace={}]{@app}{Application}
|
||||
theoremspace={}]{@app1}{Application}
|
||||
\mdtheorem[style=cogs, theoremseparator={ -},
|
||||
theoremspace={}]{@app2}{}
|
||||
|
||||
\RenewDocumentEnvironment{@app}{ o } {%begin
|
||||
\RenewDocumentEnvironment{@app1}{ o } {%begin
|
||||
\IfNoValueTF {#1} {
|
||||
\begin{@app*}
|
||||
\begin{@app1*}
|
||||
}{
|
||||
\begin{@app*}[#1]
|
||||
\begin{@app1*}[#1]
|
||||
}
|
||||
}{%end
|
||||
\end{@app*}
|
||||
\end{@app2*}
|
||||
}
|
||||
|
||||
\RenewDocumentEnvironment{@app2}{ o } {%begin
|
||||
\IfNoValueTF {#1} {
|
||||
\begin{@app2*}
|
||||
}{
|
||||
\begin{@app2*}[#1]
|
||||
}
|
||||
}{%end
|
||||
\end{@app2*}
|
||||
}
|
||||
|
||||
% methode
|
||||
|
Loading…
Reference in New Issue
Block a user