On 10/03/2017 06:41 PM, rls wrote: > Thanks once more! > > I truly understand the need to RTFM, but sometimes one is tired, just > looking for a quick fix (having gone through Pascal, 8086 assembly, C, > LateX Java, ML, and programmed a half dozen editors...)
I understand, of course, and did not mean to tell you to RTFM, as fine as it is. Just, if you do want to understand the details..... > I just got the following question: > Why not reverse the process; Rather than modifying a dozen styles? > What would it take to create something like a "Subsection-v2" which > would just use as counter the "thm" counter? This can be done, but it would mean creating your own version of theorems-ams. It's easy to do this by copying the old files to new names (in $USERDIR/layouts/) and then modifying them. I'll be happy to explain the process a bit more if you want to do that. The reason you have to modify so many styles is that all the declarations happen in Theorem, and then the other styles copy them. But the copying happens when the file is originally read: Later modifications to Theorem do not affect, say, Lemma. And each individual counter (e.g., "Lemma \thesubsection") has to be declared independently, anyway. Presumably, there would be a way to fix that, but no one has ever really needed to do it, so it doesn't get done. Richard