From 1dde9bf6666681da4d648f15aa9ac610a8563c2e Mon Sep 17 00:00:00 2001
From: Christophe Garion <tofgarion@runbox.com>
Date: Mon, 23 May 2016 11:43:59 +0200
Subject: [PATCH] env: add bracket for arrays

---
 my-env.sty | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/my-env.sty b/my-env.sty
index 90bbd9a..d0236b9 100644
--- a/my-env.sty
+++ b/my-env.sty
@@ -116,3 +116,7 @@
     }
   \end{scope}
 }
+
+\newcommand{\brckt}[4]{% from, to, lvl, text
+  \draw (nodearray-#1.south west) ++($(-.1, -.1) + (-.1*#3, 0)$) -- ++($(0,-.1) + (0,-#3*1.25em)$) -- node [below] {#4} ($(nodearray-#2.south east) + (.1,-.1) + (.1*#3, 0) + (0,-.1) + (0,-#3*1.25em)$) -- ++($(0,#3*1.25em) + (0,.1)$);%
+}
-- 
GitLab