All, I have: project book in book.tex environment bookenv book.env.tex product chapter1 in chapter1.tex component section1 in section1.tex component section1 in section2.tex component section1 in section3.tex In each section, I would like numbering of theorems, definitions, examples, equations, etc, to be consecutive and include the section number as a prefix. For example, if a theorem happens to appear first, then number it 1.1, the next three equations (1.2), (1.3), and (1.4), the next two examples 1.5 and 1.6, the next two equations (1.7) and (1.8), the next definition 1.9, the next theorem 1.10, the next three equations (1.11), (1.12), and (1.13), the next example 1.14, etc. Then this numbering scheme is reset in the next section. So, if the first thing to appear is a theorem, then it is numbered 2.1, the next definition 2.2, the next three equations (2.3), (2.4), and (2.5), and so on. How do I set this up in bookenv? David
David Arnold wrote:
In each section, I would like numbering of theorems, definitions, examples, equations, etc, to be consecutive and include the section number as a prefix. For example, if a theorem happens to appear first, then number it 1.1, the next three equations (1.2), (1.3), and (1.4), the next two examples 1.5 and 1.6, the next two equations (1.7) and (1.8), the next definition 1.9, the next theorem 1.10, the next three equations (1.11), (1.12), and (1.13), the next example 1.14, etc.
How do I set this up in bookenv?
By reading cont-enp.pdf? There's a lot of information in there and it has a pretty good index. Use the way=x setting, as in: \setupformulas[way=bychapter] (or way=bysection if that's really how you want to number it). nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
participants (2)
-
David Arnold
-
Nikolai Weibull