From 3fc344bdae8cbfaaf7d49d13ef2e021e1a974770 Mon Sep 17 00:00:00 2001
From: Sébastien Dailly <sebastien@chimrod.com>
Date: Wed, 9 May 2018 08:16:05 +0200
Subject: Initial commit

---
 resources/figures.tex | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 resources/figures.tex

(limited to 'resources/figures.tex')

diff --git a/resources/figures.tex b/resources/figures.tex
new file mode 100644
index 0000000..2957756
--- /dev/null
+++ b/resources/figures.tex
@@ -0,0 +1,20 @@
+\usepackage{float}
+\floatplacement{figure}{htbp} % here, top, bottom, extra-page
+%\floatstyle{boxed}
+%\restylefloat{figure}
+
+
+\usepackage{caption}
+\captionsetup[figure]{name=Schéma}
+
+\let\legacyFigure\figure
+\let\endlegacyFigure\endfigure
+
+\renewenvironment{figure}{%
+  \begin{legacyFigure}%
+    \begin{mdframed}[linecolor=gray]%
+}{%
+  \end{mdframed}%
+  \end{legacyFigure}%
+}
+
-- 
cgit v1.2.3

