change style of mdtheorem envs
This commit is contained in:
parent
55df7e440e
commit
4d9392e207
@ -69,43 +69,6 @@
|
|||||||
frametitlealignment=\raggedright,%
|
frametitlealignment=\raggedright,%
|
||||||
innerbottommargin=2em,%
|
innerbottommargin=2em,%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
\mdfdefinestyle{dash_framed}{%
|
|
||||||
linecolor=white,linewidth=1pt,%
|
|
||||||
tikzsetting={draw=black,dashed,line width=1pt},%
|
|
||||||
leftmargin=0,rightmargin=0,%
|
|
||||||
innertopmargin=1em,innerbottommargin=1em,%
|
|
||||||
innerleftmargin=5pt,innerrightmargin=5pt,%
|
|
||||||
skipabove=0,skipbelow=0,%
|
|
||||||
frametitlerule=false,%
|
|
||||||
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
|
||||||
nobreak=true,%
|
|
||||||
xcolor,%
|
|
||||||
}
|
|
||||||
\mdfdefinestyle{no_framed}{%
|
|
||||||
linecolor=white,linewidth=0pt,%
|
|
||||||
leftmargin=0,rightmargin=0,%
|
|
||||||
innertopmargin=0,innerbottommargin=0,%
|
|
||||||
innerleftmargin=5pt,innerrightmargin=5pt,%
|
|
||||||
skipabove=0,skipbelow=0,%
|
|
||||||
frametitlerule=false,%
|
|
||||||
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
|
||||||
xcolor,%
|
|
||||||
}
|
|
||||||
\mdfdefinestyle{nothing}{%
|
|
||||||
linecolor=white,linewidth=0pt,%
|
|
||||||
leftmargin=0,rightmargin=0,%
|
|
||||||
innertopmargin=0,innerbottommargin=0,%
|
|
||||||
innerleftmargin=5pt,innerrightmargin=5pt,%
|
|
||||||
skipabove=0,skipbelow=0,%
|
|
||||||
frametitle=none,%
|
|
||||||
frametitlerule=false,%
|
|
||||||
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
|
||||||
xcolor,%
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
\tikzset{
|
\tikzset{
|
||||||
symbol/.style={
|
symbol/.style={
|
||||||
rectangle, draw=white,
|
rectangle, draw=white,
|
||||||
@ -113,11 +76,32 @@
|
|||||||
overlay
|
overlay
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
\mdfdefinestyle{frm}{%
|
||||||
|
linecolor=black,linewidth=1pt,%
|
||||||
|
leftmargin=0,rightmargin=0,%
|
||||||
|
innertopmargin=1em,innerbottommargin=1em,%
|
||||||
|
innerleftmargin=.5em,innerrightmargin=.5em,%
|
||||||
|
skipabove=0,skipbelow=0,%
|
||||||
|
frametitlerule=false,%
|
||||||
|
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
||||||
|
nobreak=true,%
|
||||||
|
xcolor,%
|
||||||
|
}
|
||||||
|
\mdfdefinestyle{clr}{%
|
||||||
|
linecolor=white,linewidth=0pt,%
|
||||||
|
leftmargin=0,rightmargin=0,%
|
||||||
|
innertopmargin=0,innerbottommargin=0,%
|
||||||
|
innerleftmargin=.5em,innerrightmargin=.5em,%
|
||||||
|
skipabove=0,skipbelow=0,%
|
||||||
|
frametitlerule=false,%
|
||||||
|
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
||||||
|
xcolor,%
|
||||||
|
}
|
||||||
\mdfdefinestyle{cmpl}{%
|
\mdfdefinestyle{cmpl}{%
|
||||||
linecolor=black,linewidth=1pt,%
|
linecolor=black,linewidth=1pt,%
|
||||||
leftmargin=0,rightmargin=0,%
|
leftmargin=0,rightmargin=0,%
|
||||||
innertopmargin=1em,innerbottommargin=1em,%
|
innertopmargin=1em,innerbottommargin=1em,%
|
||||||
innerleftmargin=1em,innerrightmargin=5pt,%
|
innerleftmargin=1em,innerrightmargin=.5em,%
|
||||||
skipabove=0,skipbelow=0,%
|
skipabove=0,skipbelow=0,%
|
||||||
frametitlerule=false,%
|
frametitlerule=false,%
|
||||||
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
||||||
@ -132,22 +116,23 @@
|
|||||||
singleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
singleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faicon{\faPencil} };},%
|
node[symbol] { \faicon{\faPencil} };},%
|
||||||
}
|
}
|
||||||
\mdfdefinestyle{box}{%
|
\mdfdefinestyle{dash}{%
|
||||||
linecolor=black,linewidth=1pt,%
|
linecolor=white,linewidth=1pt,%
|
||||||
|
tikzsetting={draw=black,dashed,line width=1pt},%
|
||||||
leftmargin=0,rightmargin=0,%
|
leftmargin=0,rightmargin=0,%
|
||||||
innertopmargin=1em,innerbottommargin=1em,%
|
innertopmargin=1em,innerbottommargin=1em,%
|
||||||
innerleftmargin=5pt,innerrightmargin=5pt,%
|
innerleftmargin=.5em,innerrightmargin=.5em,%
|
||||||
skipabove=0,skipbelow=0,%
|
skipabove=0,skipbelow=0,%
|
||||||
frametitlerule=false,%
|
frametitlerule=false,%
|
||||||
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
||||||
nobreak=true,%
|
nobreak=true,%
|
||||||
xcolor,%
|
xcolor,%
|
||||||
}
|
}
|
||||||
\mdfdefinestyle{quot}{%
|
\mdfdefinestyle{qte}{%
|
||||||
linecolor=white,linewidth=1pt,%
|
linecolor=white,linewidth=1pt,%
|
||||||
leftmargin=0,rightmargin=0,%
|
leftmargin=0,rightmargin=0,%
|
||||||
innertopmargin=1em,innerbottommargin=1em,%
|
innertopmargin=1em,innerbottommargin=1em,%
|
||||||
innerleftmargin=1em,innerrightmargin=5pt,%
|
innerleftmargin=1em,innerrightmargin=.5em,%
|
||||||
skipabove=0,skipbelow=0,%
|
skipabove=0,skipbelow=0,%
|
||||||
frametitlerule=false,%
|
frametitlerule=false,%
|
||||||
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
||||||
@ -175,7 +160,7 @@
|
|||||||
tikzsetting={draw=black,line width=1pt},%
|
tikzsetting={draw=black,line width=1pt},%
|
||||||
leftmargin=0,rightmargin=0,%
|
leftmargin=0,rightmargin=0,%
|
||||||
innertopmargin=1em,innerbottommargin=1em,%
|
innertopmargin=1em,innerbottommargin=1em,%
|
||||||
innerleftmargin=1em,innerrightmargin=5pt,%
|
innerleftmargin=1em,innerrightmargin=.5em,%
|
||||||
skipabove=0,skipbelow=0,%
|
skipabove=0,skipbelow=0,%
|
||||||
frametitlerule=false,%
|
frametitlerule=false,%
|
||||||
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
||||||
@ -197,7 +182,7 @@
|
|||||||
linecolor=black,linewidth=1pt,%
|
linecolor=black,linewidth=1pt,%
|
||||||
leftmargin=0,rightmargin=0,%
|
leftmargin=0,rightmargin=0,%
|
||||||
innertopmargin=1em,innerbottommargin=1em,%
|
innertopmargin=1em,innerbottommargin=1em,%
|
||||||
innerleftmargin=1em,innerrightmargin=5pt,%
|
innerleftmargin=1em,innerrightmargin=.5em,%
|
||||||
skipabove=0,skipbelow=0,%
|
skipabove=0,skipbelow=0,%
|
||||||
frametitlerule=false,%
|
frametitlerule=false,%
|
||||||
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
||||||
@ -214,14 +199,14 @@
|
|||||||
node[symbol] { \faicon{\fa-exclamation-triangle} };},%
|
node[symbol] { \faicon{\fa-exclamation-triangle} };},%
|
||||||
}
|
}
|
||||||
|
|
||||||
\mdtheorem[style=cmpl, theoremseparator={ - }]{déf}{Définition}
|
\mdtheorem[style=cmpl, theoremseparator={ - }, roundcorner=8pt]{déf}{Définition}
|
||||||
\mdtheorem[style=cmpl, theoremseparator={ - }]{thm}{Théorème}
|
\mdtheorem[style=cmpl, theoremseparator={ - },outerlinewidth=1pt, outerlinecolor=black]{thm}{Théorème}
|
||||||
\mdtheorem[style=cmpl]{ppt}{Propriété}
|
\mdtheorem[style=cmpl, theoremseparator={ - },outerlinewidth=1pt, outerlinecolor=black]{ppt}{Propriété}
|
||||||
\mdtheorem[style=box]{pre}{Preuve}
|
\mdtheorem[style=frm, theoremseparator={ - }]{pre}{Preuve}
|
||||||
\mdtheorem[style=quot]{voc}{Vocabulaire}
|
\mdtheorem[style=qte, theoremseparator={ - }]{voc}{Vocabulaire}
|
||||||
\mdtheorem[style=warn]{rmq}{Remarque}
|
\mdtheorem[style=warn, theoremseparator={ - }]{rmq}{Remarque}
|
||||||
\mdtheorem[style=box]{exe}{Exemple}
|
\mdtheorem[style=frm, theoremseparator={ - }]{exe}{Exemple}
|
||||||
\mdtheorem[style=todo]{exo}{Exercice}
|
\mdtheorem[style=todo, theoremseparator={ - }]{exo}{Exercice}
|
||||||
\mdtheorem[style=todo, theoremseparator={ - }]{app}{Application}
|
\mdtheorem[style=todo, theoremseparator={ - }]{app}{Application}
|
||||||
\mdtheorem[style=todo, theoremseparator={ - }]{met}{Méthode}
|
\mdtheorem[style=todo, theoremseparator={ - }]{met}{Méthode}
|
||||||
%--%
|
%--%
|
||||||
|
Loading…
Reference in New Issue
Block a user