+\usepackage{picture}
+\usepackage[section]{placeins}
+\usepackage{float}
+
+\def\setgrouptext#1{\gdef\grouptext{#1}}
+\newenvironment{groupeditems}{\begin{displaymath}\left.\vbox\bgroup\setgrouptext}{%
+ \egroup\right\rbrace\hbox{\grouptext}\end{displaymath}}