Is it possible to have numbering such that my Chapters can contain Parts which contain Sections?
Currently I have:
Chapter
Section{foo}
Section{far}
Part{baz}
Section{bar}
Part{Caz}
Section{Coo}
which is being numbered:
3.1 Foo
3.2 Far
I Baz
3.3 Bar
II Caz
3.4 Coo
I want to have:
3.1 Foo
3.2 Far
I Baz
I.1 Bar
II Caz
II.1 Coo
As I'm writing this question I'm thinking perhaps it's easiest to disable chapter
numbering in each Part
, rather than having the Parts
as subsections to Chapter
:
Chapter
Section{foo}
Section{far}
Part{baz} % Disable chapter numbering...
Section{bar}
Part{Caz} % Disable chapter numbering...
Section{Coo}
% Re-enable chapter numbering...
But I'm not sure (a) if this is the best solution or (b) how to achieve this.
Best Answer
The following is a true mock-up of your requirements, however bizarre:
The macro
\sectionbypart
redefines the way the section counter is displayed (\thesection
) to coincide with the part numbering.\sectionbychapter
reverts this process by restoring thesection
counter value, as well as its representation.