From 26bc7d3921c27b7e697a995c3aed0d6632c7edf5 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 12 Sep 2013 12:46:04 -0400 Subject: [PATCH] Added forms env to permitted numbering --- lvspec.cls | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lvspec.cls b/lvspec.cls index cdd8270..8555a86 100644 --- a/lvspec.cls +++ b/lvspec.cls @@ -156,12 +156,16 @@ % the current environment in @currenvir) \def\@@document{document}% \def\@@premcalc{premcalc}% + \def\@@forms{forms}% % allow document by default \let\@@cmp\@currenvir + % XXX: moveme % allow premcalc env \ifx\@currenvir\@@premcalc \let\@@cmp\@@document - \fi + \else\ifx\@currenvir\@@forms + \let\@@cmp\@@document + \fi\fi % output if match \ifx\@@cmp\@@document% \ifx\haspnum1\relax