I am trying to create a LaTex-style document with Section numbers of the form 1.0 and then subsection numbers 1.1, 2.1, etc. I need the numbering to be automatic such that if I insert a new subsection, the numbering of subsequent subsections will automatically adjust. Is there an easy way to do this (presumably by editing the stylesheet??). I've looked at a bunch of options but can't seem to find the appropriate one.
This question might help.
In short, to get an automatically numbered section or subsection you could edit the
In its simplest form the number specification would be something like
for a section or
for a subsection, but you can add your own styling to the numbering. For example for a notebook using the default stylesheet you could set the style definition of
Which would produce sections like this
You can add automatic numbering using
I do not know how to automatically do this via the stylesheet, so unfortunately I'm limited to doing this every time I create a new headline. You can however copy+paste the automatic numbering, replace the actual caption in the new place, and you'll have just what you want.