diff --git a/jl-cours/mdtheorem.tex b/jl-cours/mdtheorem.tex index be27ea8..d8fd3a1 100644 --- a/jl-cours/mdtheorem.tex +++ b/jl-cours/mdtheorem.tex @@ -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