From: W. Trevor King Date: Fri, 27 May 2011 21:46:27 +0000 (-0400) Subject: Let \newtheorem declare the Pr@blem counter (old way seems to hang). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f314f3ad6d84599a7b93015fbc1f3dbdd03fb4fb;p=problempack.git Let \newtheorem declare the Pr@blem counter (old way seems to hang). --- diff --git a/problempack.sty b/problempack.sty index c732783..b08fcc7 100644 --- a/problempack.sty +++ b/problempack.sty @@ -70,8 +70,9 @@ } % 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%