On 01/17/2010 12:03 PM, stephen's mailinglist account wrote:
Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the Sections
number sequentially regardless of their location within Parts.  So I get:

Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each
Part?

RTFM is a suitable answer if it comes with a reference to the appropriate
part of the manual :)

Thanks again

Cheers


Peter


I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh


Reply via email to