Numbering and Table of Contents

I am new to Scrivener and have always used WORD for document creation.
I am having difficulty in finding how I can create a document in Scrivener such that I can create a Table of Contents once I have compiled it into WORD (.docx) format. WORD uses paragraph styles (Heading-1, Heading-2 etc) for this, and I am not finding a way to set such styles, or some equivalent, in Scrivener.
I would also like to be able to generate Chapter and sub chapter numbering—Can this be done in Scrivener?
Thanks

If you need a dynamic table of contents after compiling, then the tips posted to this thread will be of use to you:

You may also consider a static ToC if you are sure that the chapter ordering and naming will not be changed in the post-Scrivener phase. We have some tools for creating a ToC, which you’ll find in chapter 23 of the user manual.

Absolutely. A simple system is demonstrated with the “Non-Fiction with Sub-Heads” compile format preset (there is also one demonstrating hierarchical numbering, such as “12.3.2” used frequently in technical documentation). You may need to enable these presets as I don’t believe they are enabled in the main compile “Format As” menu by default. Go down to the bottom of that menu and select the management option if you do not see them.

Now that you’ve selected one of those, flip over to the Formatting compile option pane to see where all of this is done and how. In the top half of that pane you’ll see the “stylesheet” for these compile settings. If you click through the various levels, you’ll see how they all can have different treatments to titling and other details. The last level in the list, marked with a “+”, will impact everything at that level and below. Consequently if you deleted the Folder Level 4+ line, you would end up with a Folder Level 3+, and that level would impact level 4, 5 and on downward folders.

Hopefully that framework works well for you out of the box, or with moderate modifications to the styling. Use that mock editor in the lower half to adjust formatting using the standard tools for doing so (the Format menu is also available to you in this area of the compiler).

If you’re wondering how the auto-numbering gets done here, click on the “Section Layout” button to adjust the title prefix and suffix.

For more complex solutions, refer to the auto-numbering section of the Placeholders Tag List, in the Help menu. Our counters are fairly deep—you can do a lot with them, including cross-referencing and multi-streaming (so you can run more than one counter for figures, tables and chapter numbers).