From 9d809eaca2b424a34222f8912d58d476720ffa24 Mon Sep 17 00:00:00 2001
From: Mark Wooding <mdw@distorted.org.uk>
Date: Sun, 24 Jan 2016 12:43:16 +0000
Subject: [PATCH] mdwtab.dtx: Fix group nesting in `smarray'.

This bug was introduced with the colour support way back in 7abe48b...

Fixes #21, reported by Christian Cornelssen.
---
 mdwtab.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mdwtab.dtx b/mdwtab.dtx
index b972848..5f863b2 100644
--- a/mdwtab.dtx
+++ b/mdwtab.dtx
@@ -2973,7 +2973,7 @@
   \extrarowheight\z@%
   \col@sep\smarraycolsep%
   \let\tab@extrasep\smarrayextrasep%
-  \def\tab@bmaths{$\color@begingroup\scriptstyle}%
+  \def\tab@bmaths{\color@begingroup$\scriptstyle}%
   \def\tab@btext{\begingroup\scriptsize}%
   \setbox\z@\hbox{\scriptsize\strut}%
   \dimen@\ht\z@\dimen@ii\dp\z@\tab@setstrut%
-- 
2.11.0

