Clean code.
This commit is contained in:
parent
3ef74d7bab
commit
8ccaf40698
@ -167,142 +167,142 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
\mdfdefinestyle{frm}{%
|
\mdfdefinestyle{frm}{%
|
||||||
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=.5em,innerrightmargin=.5em,%
|
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{clr}{%
|
\mdfdefinestyle{clr}{%
|
||||||
linecolor=white,linewidth=0pt,%
|
linecolor=white,linewidth=0pt,%
|
||||||
leftmargin=0,rightmargin=0,%
|
leftmargin=0,rightmargin=0,%
|
||||||
innertopmargin=1em,innerbottommargin=1em,%
|
innertopmargin=1em,innerbottommargin=1em,%
|
||||||
innerleftmargin=.5em,innerrightmargin=.5em,%
|
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,%
|
||||||
xcolor,%
|
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=.5em,%
|
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,%
|
||||||
nobreak=true,%
|
nobreak=true,%
|
||||||
xcolor,%
|
xcolor,%
|
||||||
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faPencil };
|
node[symbol] { \faPencil };
|
||||||
},%
|
},%
|
||||||
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faPencil };
|
node[symbol] { \faPencil };
|
||||||
},%
|
},%
|
||||||
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faPencil };
|
node[symbol] { \faPencil };
|
||||||
},%
|
},%
|
||||||
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] { \faPencil };
|
node[symbol] { \faPencil };
|
||||||
},%
|
},%
|
||||||
}
|
}
|
||||||
\mdfdefinestyle{dash}{%
|
\mdfdefinestyle{dash}{%
|
||||||
linecolor=white,linewidth=1pt,%
|
linecolor=white,linewidth=1pt,%
|
||||||
tikzsetting={draw=black,dashed,line width=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=.5em,innerrightmargin=.5em,%
|
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{qte}{%
|
\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=.5em,%
|
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,%
|
||||||
nobreak=true,%
|
nobreak=true,%
|
||||||
xcolor,%
|
xcolor,%
|
||||||
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faQuoteLeft }
|
node[symbol] { \faQuoteLeft }
|
||||||
\path let \p1=(P), \p2=(O) in ($(\x1,.4)+(0,\y2)$)
|
\path let \p1=(P), \p2=(O) in ($(\x1,.4)+(0,\y2)$)
|
||||||
node[symbol] { \faQuoteRight };
|
node[symbol] { \faQuoteRight };
|
||||||
},%
|
},%
|
||||||
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faQuoteLeft }
|
node[symbol] { \faQuoteLeft }
|
||||||
\path let \p1=(P), \p2=(O) in ($(\x1,.4)+(0,\y2)$)
|
\path let \p1=(P), \p2=(O) in ($(\x1,.4)+(0,\y2)$)
|
||||||
node[symbol] { \faQuoteRight };
|
node[symbol] { \faQuoteRight };
|
||||||
},%
|
},%
|
||||||
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faQuoteLeft }
|
node[symbol] { \faQuoteLeft }
|
||||||
\path let \p1=(P), \p2=(O) in ($(\x1,.4)+(0,\y2)$)
|
\path let \p1=(P), \p2=(O) in ($(\x1,.4)+(0,\y2)$)
|
||||||
node[symbol] { \faQuoteRight };
|
node[symbol] { \faQuoteRight };
|
||||||
},%
|
},%
|
||||||
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] { \faQuoteLeft }
|
node[symbol] { \faQuoteLeft }
|
||||||
\path let \p1=(P), \p2=(O) in ($(\x1,.4)+(0,\y2)$)
|
\path let \p1=(P), \p2=(O) in ($(\x1,.4)+(0,\y2)$)
|
||||||
node[symbol] { \faQuoteRight };
|
node[symbol] { \faQuoteRight };
|
||||||
},%
|
},%
|
||||||
}
|
}
|
||||||
\mdfdefinestyle{todo}{%
|
\mdfdefinestyle{todo}{%
|
||||||
linecolor=white,linewidth=1pt,%
|
linecolor=white,linewidth=1pt,%
|
||||||
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=.5em,%
|
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,%
|
||||||
nobreak=true,%
|
nobreak=true,%
|
||||||
xcolor,%
|
xcolor,%
|
||||||
% hidealllines=true, topline=true, bottomline=true,%
|
% hidealllines=true, topline=true, bottomline=true,%
|
||||||
shadow=true,%
|
shadow=true,%
|
||||||
% backgroundcolor=gray!40,% FOR TEST ONLY
|
% backgroundcolor=gray!40,% FOR TEST ONLY
|
||||||
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faFileTextO };
|
node[symbol] { \faFileTextO };
|
||||||
},%
|
},%
|
||||||
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faFileTextO };
|
node[symbol] { \faFileTextO };
|
||||||
},%
|
},%
|
||||||
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faFileTextO };
|
node[symbol] { \faFileTextO };
|
||||||
},%
|
},%
|
||||||
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] { \faFileTextO };
|
node[symbol] { \faFileTextO };
|
||||||
},%
|
},%
|
||||||
}
|
}
|
||||||
\mdfdefinestyle{warn}{%
|
\mdfdefinestyle{warn}{%
|
||||||
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=.5em,%
|
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,%
|
||||||
nobreak=true,%
|
nobreak=true,%
|
||||||
xcolor,%
|
xcolor,%
|
||||||
hidealllines=true, leftline=true,%
|
hidealllines=true, leftline=true,%
|
||||||
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
firstextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faExclamationTriangle };
|
node[symbol] { \faExclamationTriangle };
|
||||||
},%
|
},%
|
||||||
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
secondextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faExclamationTriangle };
|
node[symbol] { \faExclamationTriangle };
|
||||||
},%
|
},%
|
||||||
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
middleextra={\path let \p1=(P), \p2=(O) in ($(\x2,-.4)+1.0*(0,\y1)$)
|
||||||
node[symbol] { \faExclamationTriangle };
|
node[symbol] { \faExclamationTriangle };
|
||||||
},%
|
},%
|
||||||
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] { \faExclamationTriangle };
|
node[symbol] { \faExclamationTriangle };
|
||||||
},%
|
},%
|
||||||
}
|
}
|
||||||
|
|
||||||
\mdtheorem[style=cmpl, theoremseparator={ -}, theoremspace={}, roundcorner=8pt]{déf}{Définition}
|
\mdtheorem[style=cmpl, theoremseparator={ -}, theoremspace={}, roundcorner=8pt]{déf}{Définition}
|
||||||
|
Loading…
Reference in New Issue
Block a user