logo
search
Document Editing Problems

How to Create a Numbered Requirement Style for Word Cross-References

Huma Ashraf ChHuma Ashraf Ch Oct 22, 2026 870 views

Question details

The user needs to create a custom, selectable Requirement style with automated numbering (e.g., [Req-2.4.1-001]) that incorporates heading-based section numbers and restarts for each section.

How to Create a Numbered Requirement Style for Word Cross-References
Product
Word
Device & OS
not provided
Scenario
Drafting technical or requirement documents where specific requirement IDs must be automatically numbered based on document headings and easily cross-referenced.
Observed behavior
A standard custom style cannot generate complex, heading-linked numbering with prefixes and suffixes on its own; it requires integration with Word's multilevel list feature.
Before you start

Ensure your document already uses built-in Heading styles (Heading 1, Heading 2, Heading 3) for its structural framework, as the requirement numbering will depend on these existing heading levels to generate accurate section numbers.

Solution 1Recommended

Set up a Multilevel List Linked to Headings

Link your custom Requirement style to a multilevel list to automatically pull in heading numbers and add custom text like "[Req-".

A standalone style in Word cannot generate complex numbering strings. You must associate your custom style with a specific level of a multilevel list to include preceding heading numbers and fixed text prefixes.

1
Create the custom style

Go to the Home tab, open the Styles pane, and click 'New Style'. Name it 'Requirement Number' and set the Style type to Paragraph.

2
Define a new multilevel list

On the Home tab, click the 'Multilevel List' icon and select 'Define New Multilevel List'. Click the 'More' button to expand the advanced options.

3
Link Headings to levels 1-3

Select level 1 and use the 'Link level to style' dropdown to choose 'Heading 1'. Repeat this process for level 2 (link to Heading 2) and level 3 (link to Heading 3).

4
Configure level 4 for requirements

Select level 4 and link it to your newly created 'Requirement Number' style. Check the box for 'Restart list after' and set it to 'Level 3'.

5
Format the numbering

In the 'Enter formatting for number' box, type '[Req-'. Use the 'Include level number from' dropdown to insert the Level 1, 2, and 3 numbers, separating them manually with periods. Type a hyphen, then select a '001, 002, 003...' format from the 'Number style for this level' dropdown. Close the string with a bracket ']'.

Set up a Multilevel List Linked to Headings
Handling missing heading levels: If a section skips heading levels (e.g., it only has Heading 1 and 2), Word might insert a ghost '0' for the missing Level 3. You may need to limit the automatic numbering to Heading Level 2 if your document structure frequently varies.
Professional Document Editing

Effortlessly Manage Complex Multilevel Lists in WPS Writer

WPS Writer provides an intuitive interface for managing multilevel lists, heading styles, and cross-references. It fully supports custom numbering formats, making it easy to generate requirement tags like [Req-2.4.1-001] for technical documentation.

  1. 1. Apply heading styles: Open your document in WPS Writer and apply standard Heading styles (Heading 1, Heading 2, etc.) to your document sections.
  2. 2. Create a custom multilevel list: Navigate to the Home tab, click the Multilevel List icon, and select 'Custom List' to open the configuration dialog.
  3. 3. Link and format levels: Link the higher levels to your Heading styles, and link a lower level (e.g., Level 4) to your custom Requirement style. Define the custom number format (e.g., [Req-1.1.1-001]) in the number format field and save.
Fully compatible with Microsoft Word multilevel lists and stylesIntuitive dialog for linking headings to custom numbering levelsSeamless cross-referencing for requirement trackingLightweight, fast, and free to use
microsoft office alternative - wps office

Frequently Asked Questions

Can I filter the Cross-reference dialog to show only my Requirement style?

By default, the Cross-reference dialog does not allow filtering by a specific custom style. However, if your Requirement style is linked to a numbered list, selecting 'Numbered item' in the Reference Type dropdown will display them alongside your other numbered lists.

Why is a '0' appearing in my requirement number (e.g., [Req-2.1.0-001])?

This happens if your numbering format includes a higher heading level (like Heading 3), but the current section only goes up to Heading 2. The missing third level defaults to zero. To prevent this, you can limit your custom number formatting to only include up to Level 2.

Can I restart the requirement sequence number for each new section?

Yes. In the Multilevel List dialog, select the level assigned to your Requirement style and check the box for 'Restart list after'. Set it to the appropriate higher heading level (such as Level 3 or Level 2) so the three-digit sequence resets to 001.

Do I have to manually type the brackets and hyphens every time I add a requirement?

No. By adding fixed text such as '[Req-' and hyphens directly into the 'Enter formatting for number' field within the Multilevel List settings, they will automatically appear as part of the numbering every time you apply the custom style.