- clean code
- suppress border around the icon - change name of frame style - change position of icon
This commit is contained in:
parent
e926d8466d
commit
2a2f3969ba
@ -116,13 +116,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
\tikzset{
|
\tikzset{
|
||||||
writesymbol/.style={
|
pensymbol/.style={
|
||||||
rectangle, draw=black,
|
rectangle, draw=white,
|
||||||
fill=white, scale=1,
|
fill=white, scale=1,
|
||||||
overlay
|
overlay
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
\mdfdefinestyle{exo}{%
|
\mdfdefinestyle{complete}{%
|
||||||
linecolor=black,linewidth=1pt,%
|
linecolor=black,linewidth=1pt,%
|
||||||
leftmargin=0,rightmargin=0,%
|
leftmargin=0,rightmargin=0,%
|
||||||
innertopmargin=1em,innerbottommargin=1em,%
|
innertopmargin=1em,innerbottommargin=1em,%
|
||||||
@ -132,17 +132,17 @@
|
|||||||
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
frametitlebackgroundcolor=white!0,%innertopmargin=\topskip,%
|
||||||
nobreak=true,%
|
nobreak=true,%
|
||||||
xcolor,%
|
xcolor,%
|
||||||
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,0)+1.0*(0,\y1)$)
|
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[writesymbol] { \faicon{\faPencil} };},%
|
node[pensymbol] { \faicon{\faPencil} };},%
|
||||||
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,0)+1.0*(0,\y1)$)
|
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[writesymbol] { \faicon{\faPencil} };},%
|
node[pensymbol] { \faicon{\faPencil} };},%
|
||||||
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,0)+1.0*(0,\y1)$)
|
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[writesymbol] { \faicon{\faPencil} };},%
|
node[pensymbol] { \faicon{\faPencil} };},%
|
||||||
singleextra={\path let \p1=(P), \p2=(O) in ($(\x2,0)+1.0*(0,\y1)$)
|
singleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[writesymbol] { \faicon{\faPencil} };},%
|
node[pensymbol] { \faicon{\faPencil} };},%
|
||||||
}
|
}
|
||||||
|
|
||||||
\mdtheorem[style=framed, theoremseparator={ - }]{déf}{Définition}
|
\mdtheorem[style=complete, theoremseparator={ - }]{déf}{Définition}
|
||||||
\mdtheorem[style=framed, theoremseparator={ - }]{thm}{Théorème}
|
\mdtheorem[style=framed, theoremseparator={ - }]{thm}{Théorème}
|
||||||
\mdtheorem[style=framed]{ppt}{Propriété}
|
\mdtheorem[style=framed]{ppt}{Propriété}
|
||||||
\mdtheorem[style=framed]{pre}{Preuve}
|
\mdtheorem[style=framed]{pre}{Preuve}
|
||||||
@ -150,8 +150,7 @@
|
|||||||
\mdtheorem[style=no_framed]{rmq}{Remarque}
|
\mdtheorem[style=no_framed]{rmq}{Remarque}
|
||||||
\mdtheorem[style=framed]{exe}{Exemple}
|
\mdtheorem[style=framed]{exe}{Exemple}
|
||||||
\mdtheorem[style=dash_framed]{exo}{Exercice}
|
\mdtheorem[style=dash_framed]{exo}{Exercice}
|
||||||
% \mdtheorem[style=dash_framed]{app}{Application}
|
\mdtheorem[style=dash_framed]{app}{Application}
|
||||||
\mdtheorem[style=exo]{app}{Application}
|
|
||||||
\mdtheorem[style=dash_framed, theoremseparator={ - }]{met}{Méthode}
|
\mdtheorem[style=dash_framed, theoremseparator={ - }]{met}{Méthode}
|
||||||
%--%
|
%--%
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user