modification de la numérotation pour les cours

DavidD 3 years ago
parent 28bc5a232a
commit de6bb6128a

@ -72,22 +72,25 @@
\newtheorem*{rmkk}{Remark} \newtheorem*{rmkk}{Remark}
\newtheorem\VAR{ td }{exo}{Exercice} \newtheorem\VAR{ td }{exo}{Exercice}
\newtheorem\VAR{ td }{sol}{Solution} \newtheorem\VAR{ td }{sol}{Solution}
\newtcbtheorem[auto counter]{thm}{Théorème}{colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries}{thm}
\newtcbtheorem[use counter from=thm]{prop}{Proposition}{colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries}{prop}
\newtcbtheorem[use counter from=thm]{cor}{Corollaire}{colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries}{cor}
\newtcbtheorem[use counter from=thm]{lem}{Lemme}{colback=red!5!white,colframe=red!60!black,fonttitle=\bfseries}{lem}
\newtcbtheorem[use counter from=thm]{definition}{Définition}{colback=blue!5!white,colframe=blue!75!black,fonttitle=\bfseries}{def}
\newtcolorbox[use counter from=thm]{rmk}[1][]{colframe=black!50!white,colback=white,leftrule=2pt, toprule=3pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,sharpish corners,breakable,enhanced,coltitle=black,title={\noindent\textbf{Remarque~\thetcbcounter.}\par},nobeforeafter,#1}
\newtcolorbox[use counter from=thm]{ex}[1][]{colframe=gray!50!white,colback=white,leftrule=2pt, toprule=3pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,breakable,enhanced,title={\noindent\textbf{Exemple~\thetcbcounter.}\par},#1}
\newtcolorbox[use counter from=thm]{exs}[1][]{colframe=gray!50!white,colback=white,leftrule=2pt, toprule=3pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,sharpish corners,breakable,enhanced,title={\noindent\textbf{Exemples~\thetcbcounter.}\par},#1}
\newtcolorbox[use counter from=thm]{rmks}[1][]{colframe=black!50!white,colback=white,leftrule=2pt, toprule=3pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,sharpish corners,breakable,enhanced,title= {\noindent\textbf{Remarques~\thetcbcounter.}\par},#1}
\newtcbtheorem[auto counter,number within=section]{thm}{Théorème}{colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries}{thm} \newtcolorbox[use counter from=thm]{notation}[1][]{colframe=purple!50!white,colback=white,leftrule=2pt, toprule=-1pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,sharpish corners,breakable,enhanced,code= {\noindent\textbf{Notations.}\par},notitle,#1}
\newtcbtheorem[use counter from=thm,number within=section]{prop}{Proposition}{colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries}{prop}
\newtcbtheorem[use counter from=thm,number within=section]{cor}{Corollaire}{colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries}{cor}
\newtcbtheorem[use counter from=thm,number within=section]{lem}{Lemme}{colback=red!5!white,colframe=red!60!black,fonttitle=\bfseries}{lem}
\newtcbtheorem[use counter from=thm,number within=section]{definition}{Définition}{colback=blue!5!white,colframe=blue!75!black,fonttitle=\bfseries}{def}
\newtcolorbox{rmk}[1][]{colframe=black!50!white,colback=white,leftrule=2pt, toprule=-1pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,sharpish corners,breakable,enhanced,coltitle=black,code={\noindent\textbf{Remarque.}\par},nobeforeafter,#1}
\newtcolorbox{ex}[1][]{colframe=gray!50!white,colback=white,leftrule=2pt, toprule=-1pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,sharpish corners,breakable,enhanced,code = {\noindent\textbf{Exemple.}\par},notitle,#1}
\newtcolorbox{exs}[1][]{colframe=gray!50!white,colback=white,leftrule=2pt, toprule=-1pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,sharpish corners,breakable,enhanced,code = {\noindent\textbf{Exemples.}\par},notitle,#1}
\newtcolorbox{rmks}[1][]{colframe=black!50!white,colback=white,leftrule=2pt, toprule=-1pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,sharpish corners,breakable,enhanced,code= {\noindent\textbf{Remarques.}\par},notitle,#1}
\newtcolorbox{ins}[1][]{colframe=red!50!white,colback=white,leftrule=2pt, toprule=-1pt, rightrule=-1pt, bottomrule=-1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,fonttitle=\bfseries,sharpish corners,breakable,enhanced,code= {\noindent\textbf{Instructions.}\par},notitle,#1}
\renewtcolorbox{proof}[1][]{colframe=red,colback=white,leftrule=2pt, toprule=-1pt, rightrule=-1pt, bottomrule=1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,sharpish corners,notitle,before upper ={\textbf{Preuve} :\par},after upper ={\qed},breakable,enhanced,#1} \renewtcolorbox{proof}[1][]{colframe=red,colback=white,leftrule=2pt, toprule=-1pt, rightrule=-1pt, bottomrule=1pt,boxsep=0pt,right=0.3cm, left=0.3cm, top=3pt, bottom=3pt,sharpish corners,notitle,before upper ={\textbf{Preuve} :\par},after upper ={\qed},breakable,enhanced,#1}
\newtcolorbox{attention}[1][]{colframe=red,colback=red!5!white,notitle,attach title to upper,halign=center,title={\textcolor{red}{\Radioactivity}\qquad},after upper={\qquad\textcolor{red}{\Radioactivity}},#1} \newtcolorbox{attention}[1][]{colframe=red,colback=red!5!white,notitle,attach title to upper,halign=center,title={\textcolor{red}{\Radioactivity}\qquad},after upper={\qquad\textcolor{red}{\Radioactivity}},#1}
\newtcolorbox{objectif}[1][]{colframe=cyan!50!white,title=\textbf{Objectifs},#1} \newtcolorbox{objectif}[1][]{colframe=cyan!50!white,title=\textbf{Objectifs},#1}
\newtcolorbox{plan}[1][]{colframe=blue!50!white,title=\textbf{Plan du cours},#1} \newtcolorbox{plan}[1][]{colframe=blue!50!white,title=\textbf{Plan du cours},#1}
\BLOCK{ endif } \BLOCK{ endif }

Loading…
Cancel
Save