Forum Discussion

Gilgamesh1964's avatar
Gilgamesh1964
Brass Contributor
Apr 01, 2021

How do I create Paragraph Numbering that includes a Heading number

Hello.

I'm trying to get some paragraph numbering sorted out using styles so it will all be automatic without anyone having to manually go in and reset values.

I have heading numbering all sorted out as that was relatively easy but I want the most recent heading number as a preface to the paragraph number.

i.e. For text

Heading Level 1

Paragraph

Paragraph

Heading Level 2

Paragraph

Paragraph

Heading level 3

Paragraph

Paragraph

I would hope to get something like this

1. Heading Level 1

1.1 Paragraph

1.2 Paragraph

1.1. Heading Level 2

1.1.1 Paragraph

1.1.2 Paragraph

1.1.1. Heading level 3

1.1.1.1 Paragraph

1.1.1.2 Paragraph

I know this has some disadvantages in that a paragraph and heading could have the same number but this is something that can be worked through.

While it is possible to manually change the paragraph numbering style after each heading to simply put in text that represents the previous heading number this will end up with incorrect numbers as sections are added and removed from the document that changes the heading number. So I'm looking for a style that automatically inherits the most recent heading.

Thank you

 

  • Stefan_Blom's avatar
    Stefan_Blom
    Apr 03, 2021

    Gilgamesh1964 

     

    Yes, multiple body text styles will be required—one for each time you want to "reflect" the numbering of a corresponding numbered heading.

     

    You can certainly make use of the "Style for following paragraph" setting (the way you can with any paragraph style in Word). For the most part, I suspect that you will have to explicitly apply the desired style, though, to achieve the desired format and number.

     

    If you modify the numbering (in the Multilevel List dialog box), all "connected" styles will be affected: the Heading style as well as any body style which is based on the heading.

    • Gilgamesh1964's avatar
      Gilgamesh1964
      Brass Contributor
      Thank you for taking the time to respond.
      I did mention that I had heading numbering sorted, though I have to admit that the article you referred me to is the best way I've seen of setting up heading numbering.
      The issue is the paragraph numbering which I want to inherit the header number. The style I generally use for my paragraphs is Body Text, and unless I've missed something (entirely possible) I don't see how that can be done in the article.
      • Stefan_Blom's avatar
        Stefan_Blom
        MVP

        Gilgamesh1964 

         

        As I wrote, you can include a body text style in a multilevel list, so that it replaces one of the heading levels. 

         

        The alternative is that you keep the multilevel list of headings intact, and then create a body text style which is based on a heading. That way, the body text style will inherit the numbering of the selected heading style/level and reference its numbering.

Resources