Let \newtheorem declare the Pr@blem counter (old way seems to hang).
authorW. Trevor King <wking@drexel.edu>
Fri, 27 May 2011 21:46:27 +0000 (17:46 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 27 May 2011 21:46:27 +0000 (17:46 -0400)
problempack.sty

index c7327837c5e1c24cd5d702cbc549512c38f64359..b08fcc729df3a87abc045e380979c342ae5672c1 100644 (file)
@@ -70,8 +70,9 @@
 }
 
 % define theorem environments
 }
 
 % define theorem environments
-\newcounter{Pr@blem}
-\newtheorem{Pr@blem}[Pr@blem]{Problem}
+%\newcounter{Pr@blem}
+%\newtheorem{Pr@blem}[Pr@blem]{Problem}
+\newtheorem{Pr@blem}{Problem}
 \newcommand{\Pr@blemSkip}{0pt} % set to 2\baselineskip when nosolutions, to give breathing room between problems
 \newenvironment{problem}{%
   \phantomsection%
 \newcommand{\Pr@blemSkip}{0pt} % set to 2\baselineskip when nosolutions, to give breathing room between problems
 \newenvironment{problem}{%
   \phantomsection%