From 6aa154967ccb50023ec4fbc5ecc590296809a946 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Fri, 17 Feb 2017 18:34:03 +0100 Subject: [PATCH] Add new mdtheorem env. --- cours/cours_prof.cls | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cours/cours_prof.cls b/cours/cours_prof.cls index bb0ad78..dd8a45c 100644 --- a/cours/cours_prof.cls +++ b/cours/cours_prof.cls @@ -180,7 +180,7 @@ \mdfdefinestyle{clr}{% linecolor=white,linewidth=0pt,% leftmargin=0,rightmargin=0,% - innertopmargin=1em,innerbottommargin=1em,% + innertopmargin=.5em,innerbottommargin=.5em,% innerleftmargin=.5em,innerrightmargin=.5em,% skipabove=0,skipbelow=0,% frametitlerule=false,% @@ -233,22 +233,22 @@ nobreak=true,% xcolor,% 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)$) node[symbol] { \faQuoteRight }; },% 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)$) node[symbol] { \faQuoteRight }; },% 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)$) node[symbol] { \faQuoteRight }; },% 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)$) node[symbol] { \faQuoteRight }; },% @@ -306,13 +306,14 @@ } \mdtheorem[style=cmpl, theoremseparator={ -}, theoremspace={}, roundcorner=8pt]{déf}{Définition} +\mdtheorem[style=frm, theoremseparator={ -}, theoremspace={}, roundcorner=8pt]{défn}{Définition} \mdtheorem[style=cmpl, theoremseparator={ -}, theoremspace={}, outerlinewidth=1pt, outerlinecolor=black]{thm}{Théorème} \mdtheorem[style=cmpl, theoremseparator={ -}, theoremspace={}, outerlinewidth=1pt, outerlinecolor=black]{ppt}{Propriété} \mdtheorem[style=frm, theoremseparator={ -}, theoremspace={}]{pre}{Preuve} \mdtheorem[style=qte, theoremseparator={ -}, theoremspace={}]{voc}{Vocabulaire} \mdtheorem[style=qte, frametitle=none, frametitleaboveskip=0em, frametitlebelowskip=0em]{qte}{} \mdtheorem[style=warn, theoremseparator={ -}, theoremspace={}]{rmq}{Remarque} -\mdtheorem[style=frm, theoremseparator={ -}, theoremspace={}]{exe}{Exemple} +\mdtheorem[style=dash, theoremseparator={ -}, theoremspace={}]{exe}{Exemple} \mdtheorem[style=todo, theoremseparator={ -}, theoremspace={}]{exo}{Exercice} \mdtheorem[style=todo, theoremseparator={ -}, theoremspace={}]{app}{Application} \mdtheorem[style=todo, theoremseparator={ -}, theoremspace={}]{met}{Méthode}