From 812dc2cbd8308e34de4eff98b2569b757295ac7f Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 1 Dec 2020 11:07:50 +0100 Subject: [PATCH] Feat: nouvel environnement docs --- tools/style/shortcuts.sty | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/style/shortcuts.sty b/tools/style/shortcuts.sty index 0551cbb..8b9b850 100755 --- a/tools/style/shortcuts.sty +++ b/tools/style/shortcuts.sty @@ -349,3 +349,12 @@ \todo[inline,#1]{% \textbf{À rédiger et m'envoyer par mail:}~#2}% }} + +% Environnements théoreme, définition ... +\newcounter{doc} +\newenvironment{doc}[1] +{\refstepcounter{doc} +\begin{bclogo}[barre=none, arrondi=0.1, logo=]{Document \thedoc: #1} +}{ +\end{bclogo} +}