On Wed, 13 Feb 2013 10:00:04 -0800 Jane Shevtsov <jane....@gmail.com> wrote:
> On Wed, Feb 13, 2013 at 1:35 AM, Steve Litt > <sl...@troubleshooters.com>wrote: > > > On Tue, 12 Feb 2013 22:36:55 -0800 > > Jane Shevtsov <jane....@gmail.com> wrote: > > I understand that you don't want problems to continue the numbering > > of the previous section, but if you reset them, reset them to what? > > In your example, if you reset the major number to 2, then numbered > > section 2 would be 3, which I doubt you want. > > > > I'm not sure what you mean. I just want problem numbers within each > section to start at 1. Ah-ha! Before we continue, I think you should send us a prototype of how you *want* this to look. On prototype is worth a thousand words and is much less prone to misunderstanding. You could do it with a text editor, using spaces for indentation, showing how you'd like your MWE to look. > > Personally, I'd have a different numbering system for lab sections, so > > instead of environment Section *, I'd have an environment Lab > > that has its own counter, and an environment Labproblem that acts > > the same way as the Problem environment you currently use in > > environment Section except is prints and increments the counter for > > Lab. > > > > By the way, you did the right thing making your own Problem > > environment instead of using Subsection. > > > > Thanks, but I actually didn't. That's a downloaded package. (I only > use Subsection for actual subsections of the text.) What package? > How would you make a Lab or Labproblem environment? Depending on your prior LaTeX experience, this might sound like gobblety gook to you... You'd make your own Document Class, based on the one you're using now, using a layout file. Within the layout file, you'd add environments of your own. Your environments for Lab and Labproblem would maintain their own counters. But first things first. I honestly don't know how you want this thing to look, and I have a feeling few others on this list know that either. A prototype would make that crystal clear. Once the enhancement is defined, the rest is just a little LaTeX wizardry. SteveT