Formatting Issues

How to Use Custom Heading Styles for Word Page Numbers and TOC

Elise WilliamsElise Williams Nov 3, 2026 869 views

Question details

The user wants to include chapter numbers in the document's page numbers and generate an accurate Table of Contents, but is using custom heading styles that are not recognized by the software.

How to Include Custom Heading Styles in Word Page Numbers and Table of Contents
Product
Microsoft Word
Device & OS
not provided
Scenario
Formatting a structured document that requires chapter-based page numbering (e.g., Page 1-1, 2-1) and a Table of Contents based on a specific custom design.
Observed behavior
Word's 'Include chapter number' page-number setting only recognizes built-in Heading styles, completely ignoring any custom heading styles created by the user.
Before you start

Identify the specific formatting (font, size, color) of your custom headings and determine which heading level (e.g., Level 1) represents your main chapters.

Solution 1Recommended

Modify Built-in Heading Styles to Match Your Custom Design

Since the chapter page numbering feature requires built-in styles, the best approach is to visually alter Word's built-in Heading styles to perfectly match your custom design.

Microsoft Word's 'Include chapter number' feature is hardcoded to only look for the built-in styles named Heading 1 through Heading 9. By updating these built-in styles to look exactly like your custom ones, you can trick Word into giving you the exact design you want while maintaining full compatibility with automated page numbering and Table of Contents features.

1
Select your custom-styled text

Highlight a paragraph or chapter title in your document that is currently formatted with your custom heading style.

2
Update the built-in heading style

Go to the Home tab and locate the Styles gallery. Right-click 'Heading 1' (or the appropriate built-in level for your chapters) and select 'Update Heading to Match Selection'.

3
Apply the updated style to all chapters

Go through your document and apply this newly modified, built-in Heading style to all your chapter titles, replacing the old custom style.

4
Format Page Numbers

Navigate to the Insert tab, click Page Number, and select Format Page Numbers. Check the 'Include chapter number' box and select the built-in heading style you just modified to start your chapters.

Modify Built-in Heading Styles to Match Your Custom Design
Seamless Table of Contents Integration: By using the built-in Heading styles, your Table of Contents will automatically detect and populate your chapter titles without needing any manual outline level adjustments.

Easily Format Headings and Generate TOCs with WPS Writer

WPS Office provides an intuitive and highly compatible word processor. You can easily modify built-in styles to create beautifully formatted, chapter-numbered documents and generate accurate Tables of Contents without the hassle.

  1. 1. Open your document in WPS Writer: Launch WPS Office and open your .docx file to begin formatting.
  2. 2. Update built-in styles: Highlight your custom-styled text, right-click the built-in Heading style in the Home tab's Style pane, and select 'Update to Match Selection'.
  3. 3. Insert Page Numbers: Navigate to the Insert tab, click Page Number, choose your preferred position, and check 'Include chapter number' to apply your styled headings.
  4. 4. Generate Table of Contents: Go to the References tab and click Table of Contents to automatically generate a TOC based on your newly applied built-in styles.
Fully compatible with Microsoft Word (.docx) heading styles and TOC generationIntuitive interface for modifying and updating text styles instantlyAdvanced page numbering options including chapter and section trackingFree and lightweight alternative for all your document formatting needs
microsoft office alternative - wps office

Frequently Asked Questions

Why won't my custom styles show up in the Word Table of Contents?

By default, the Table of Contents only pulls from built-in Heading styles (Heading 1, 2, 3). To include custom styles, you must go to References > Table of Contents > Custom Table of Contents > Options, and manually assign outline levels to your custom styles.

Can I force Word to use a custom style for chapter page numbers?

No. Word's 'Include chapter number' feature is strictly hardcoded to only recognize built-in Heading 1 through Heading 9 styles. You cannot map this specific feature to a custom style, which is why modifying the built-in styles is the standard workaround.

How do I change the look of a built-in heading style to match my branding?

Simply format a piece of text exactly how you want it to look in your document. Then, right-click the target built-in style (like Heading 1) in the Home tab's Styles pane, and select 'Update Heading to Match Selection'. All text using that style will automatically update.