Change the way to display the subtitle.

This commit is contained in:
Jeff Lance 2019-01-13 14:47:29 +01:00
parent 9e1a4bad77
commit 0921170eba

View File

@ -207,16 +207,16 @@
} }
% application % application
\mdtheorem[style=cogs, theoremseparator={ -}, \mdtheorem[style=cogs, theoremseparator={},
theoremspace={}]{@app1}{Application} theoremspace={}]{@app1}{Application}
\mdtheorem[style=cogs, theoremseparator={ -}, \mdtheorem[style=cogs, theoremseparator={},
theoremspace={}]{@app2}{} theoremspace={}]{@app2}{}
\RenewDocumentEnvironment{@app1}{ o } {%begin \RenewDocumentEnvironment{@app1}{ o } {%begin
\IfNoValueTF {#1} { \IfNoValueTF {#1} {
\begin{@app1*} \begin{@app1*}
}{ }{
\begin{@app1*}[#1] \begin{@app1*}[\hfill{\normalfont\slshape#1}]
} }
}{%end }{%end
\end{@app1*} \end{@app1*}
@ -226,7 +226,7 @@
\IfNoValueTF {#1} { \IfNoValueTF {#1} {
\begin{@app2*} \begin{@app2*}
}{ }{
\begin{@app2*}[#1] \begin{@app2*}[\hfill{\normalfont\slshape#1}]
} }
}{%end }{%end
\end{@app2*} \end{@app2*}