I'd like to have something like that:
Code:
CHAPTER ONE:
Section one
eq(1.1.1)
eq(1.1.2)
Section two
eq(1.2.1)
eq(1.2.2)
APPENDIX CHAPTER ONE
eq(A.1)
appendix section one
eq(A.2)*
eq(A.3)
appendix section two
eq(A.4)*
eq(A.5) So within the main part, the section number is used for numbering equations and numbering restarts each section. But in the appendix I don't need the section number for equation numbering. And most importantly, equation numbering should NOT restart each new section. But this is what happens: every numer marked with a asterisk is labeled (A.1).
I wrote
Code:
\numberwithin{equation}{section} at the beginning of the main part and this works perfectly for the main part (it looks like the example above).
As I understand \numberwithin, a simple statement
Code:
\numberwithin{equation}{chapter} at the beginning of the appendix ought to do the trick (restart numbering each chapter, no section number for numbering equations), but somehow it doesn't work (no section number for numbering equations is ok, but numbering still restarts each section).
I hope this clearifies my problem. So, what's wrong with \numberwithin? I'd like to understand why LaTeX does what it does and how to fix this straightforward (without workarounds). At least if possible.
Thanks again!