Jürgen Spitzmüller wrote: > Paul A. Rubin wrote: > > I only found one problem, illustrated by the attached DVI. If the cases > > occur in the middle of ordinary text (rather than nested in something > > like a proof environment), they violate the left margin of the document. > > Russ?
Russ, Paul, how about the attached? It fixes the problem Paul reported. Is that a formatting you both could live with? Jürgen
Index: lib/layouts/amsmaths.inc =================================================================== --- lib/layouts/amsmaths.inc (Revision 24508) +++ lib/layouts/amsmaths.inc (Arbeitskopie) @@ -619,7 +619,14 @@ Preamble \newcounter{casectr} \newenvironment{caseenv} - {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}{}\setcounter{casectr}{0}\usecounter{casectr}} + {\begin{list}{{\itshape\ Case} \arabic{casectr}.}{% + \setlength{\leftmargin}{\labelwidth} + \addtolength{\leftmargin}{\parskip} + \setlength{\itemindent}{\listparindent} + \setlength{\itemsep}{\medskipamount} + \setlength{\topsep}{\itemsep}} + \setcounter{casectr}{0} + \usecounter{casectr}} {\end{list}} EndPreamble End