From f314f3ad6d84599a7b93015fbc1f3dbdd03fb4fb Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 27 May 2011 17:46:27 -0400 Subject: [PATCH] Let \newtheorem declare the Pr@blem counter (old way seems to hang). --- problempack.sty | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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% -- 2.26.2