Formatting Issues

How to Prevent Word Cross-References from Changing Font and Style

Amos GikundaAmos Gikunda Nov 4, 2026 871 views

Question details

The user needs to prevent cross-references in Word documents from changing their font, color, or overall formatting when the fields are updated.

How to Prevent Word Cross-References from Changing Font and Style
Product
Microsoft Word
Device & OS
not provided
Scenario
Updating document fields that contain cross-references to captions with direct, manual formatting applied to them.
Observed behavior
Cross-references unexpectedly inherit the font, color, or formatting of the original source caption instead of matching the surrounding paragraph text.
Before you start

Ensure your document fields are visible by pressing Alt + F9 (or Fn + Alt + F9 on some laptops) so you can directly view and edit the underlying field codes.

Solution 1Recommended

Modify Field Code with the CHARFORMAT Switch

Manually editing the cross-reference field code forces it to retain the formatting applied directly to the field itself, ignoring the source caption's formatting.

By default, cross-references might use the MERGEFORMAT switch or lack a formatting switch altogether, causing them to inherit direct formatting from the target text. The CHARFORMAT switch is the most reliable way to lock in your desired font style.

1
Reveal Field Codes

Press Alt + F9 to toggle field codes and reveal the underlying code for your cross-references. The text will change to look something like { REF _Ref123456789 }.

2
Remove MERGEFORMAT

Locate the cross-reference field code you want to fix. If you see \* MERGEFORMAT inside the brackets, delete it.

3
Add CHARFORMAT

Type \* CHARFORMAT at the end of the field code before the closing bracket. It should now look like { REF _Ref123456789 \* CHARFORMAT }.

4
Apply Desired Formatting

Select the entire field code (including the brackets) and apply your desired font, size, and color using the Home tab.

5
Update the Field

Press Alt + F9 again to hide the field codes, select the cross-reference text, and press F9 to update it with the new formatting rules locked in.

Modify Field Code with the CHARFORMAT Switch
Formatting Locked: Using CHARFORMAT ensures the cross-reference strictly follows the formatting applied to the first character of the field code itself, regardless of how the source caption changes.
Professional Word Processing

Manage Cross-References Easily with WPS Writer

WPS Writer provides robust handling of field codes, cross-references, and document styles, allowing you to maintain strict control over your formatting without unexpected changes upon updating.

  1. 1. Open Document in WPS Writer: Launch WPS Office and open your .docx file containing the problematic cross-references.
  2. 2. Toggle Field Codes: Right-click the specific cross-reference and select 'Toggle Field Codes', or simply press Alt+F9 on your keyboard.
  3. 3. Apply Formatting Switch: Add the \* CHARFORMAT switch to the field code, format the text block to your liking, and press F9 to update.
Perfect compatibility with Microsoft Word (.docx) formats and field codes.Advanced style management to prevent unwanted formatting inheritance.Lightweight and fast, even when processing documents with thousands of cross-references.Intuitive interface for toggling and editing field codes seamlessly.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my cross-reference format differently than the surrounding text?

When a cross-reference updates, it often pulls direct formatting from the source text (such as a figure caption). If the source was manually made bold or given a different color outside its default paragraph style, the cross-reference will inherit those specific manual changes.

What is the difference between MERGEFORMAT and CHARFORMAT?

MERGEFORMAT attempts to preserve the formatting applied to previous results of the field, which can sometimes lead to inconsistent formatting during document updates. CHARFORMAT is much stricter and applies the exact formatting of the first character of the field code itself to the entire result.

How do I update all cross-references in my document at once?

Press Ctrl + A to select your entire document, then press F9. This will force all fields, including cross-references, table of contents, and page numbers, to update their text and apply any updated formatting switches like CHARFORMAT.