Search code examples
ms-wordseq

Number and letter numbering of tables in word with cross-referencing


How do I get a smart numbering system as shown below? Whenever I have a new table, I want the numbering to rise. If, on the other hand, I add a row to the table, I would like to add a letter in behind the numbering. Is this possible?

Picture showing the idea behind the numbering

I have startet using Field Codes and Sequences, and I believe it is the way to go.

I know the numbering without the letters can be obtained by

Number #{ STYLEREF 1\s}{SEQ Table \# "00"}

I also know that alphabetic numbering can be made by using the \alphabetic command.

I am just not sure how to combine them. Also, I would like to make cross-references to the table captions.


Solution

  • You can achieve this with Word's built-in numbering - no need to resort to a complex combination of fields that you'll need to manually update.

    I'm going to outline the very complete approach...

    1. On the Home tab: Paragraph/Multilevel list/Define new list style.
    2. Enter a name for the style, then from the Format button choose Numbering; click More.
    3. With Level 1 selected, choose the style with which you want to link the numbering (Heading 1, for example)
    4. In the "Enter formatting for number" field type any text you want to have appear before or after every number. (According to your picture: Header in front of the number 1 with grey shading already in the box.)
    5. Select Level 2, choose the style with which you want to link the numbering (Heading 2, for example)
    6. In the "Enter formatting for number" field type in front of the number (2, grey shading): Number #00
    7. From the "Include level number from" dropdown, select level 1. The number from Level 1 will be inserted between the last 0 and the grey-shaded 2.
    8. If necessary, change the alignment settings (you probably don't want the indent inside the table cell?)

    Now, when you apply the Heading styles the numbering will be applied automatically. If you don't like the formatting of the Heading styles you can change the style definition(s). Since you created a numbering style, you can also change these settings by going again to the Multilevel numbering dialog box, right-clicking the numbering format you created and selecting "Modify".