From 19e874918d3c3997f7ea483fecfd1342dc3ba8e4 Mon Sep 17 00:00:00 2001
From: Sébastien Dailly <sebastien@chimrod.com>
Date: Mon, 14 May 2018 13:43:20 +0200
Subject: New float env

---
 resources/figures.tex | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'resources/figures.tex')

diff --git a/resources/figures.tex b/resources/figures.tex
index 57e4587..a574a1f 100644
--- a/resources/figures.tex
+++ b/resources/figures.tex
@@ -26,3 +26,14 @@
 %  \end{mdframed}%
   \end{legacyFigure}%
 }
+
+% Float environment for programs
+
+\floatstyle{ruled}
+\newfloat{fprogram}{htbp}{lop}
+\floatname{fprogram}{Programme}
+
+\newcommand\DUadmonitionfloatprogram[1]{\begin{fprogram}#1\end{fprogram}}
+\newcommand\DUtitlefloatprogram[1]{\caption{#1}}
+
+
-- 
cgit v1.2.3

