Formatting Issues

Fix Word Cross-Reference Formatting and Paragraph Breaks in PDF

Algirdas JasaitisAlgirdas Jasaitis Nov 13, 2026 870 views

Question details

The user wants Word cross-references to retain the intended formatting without adding unwanted paragraph breaks in a PDF.

Fix Word Cross-Reference Formatting and Paragraph Breaks in PDF
Product
Microsoft Word for Mac
Device & OS
macOS
Scenario
Exporting a Word document containing cross-references to captions as a PDF.
Observed behavior
Cross-references inherit caption formatting or produce unwanted paragraph breaks in the exported PDF.
Before you start

Open the Word document and locate an affected cross-reference and its caption. On a Mac, you may need to hold Fn when using the F9 shortcuts, depending on your keyboard settings.

Solution 1Recommended

Change the cross-reference field to use CHARFORMAT

Use this method when a cross-reference inherits unwanted formatting after an update or PDF export.

The CHARFORMAT switch applies the formatting of the first character of the field code to the field result. Replacing MERGEFORMAT prevents Word from relying on the previous result's formatting.

1
Show the field code

Select the affected cross-reference in Word and press Shift+F9. If needed on your Mac, press Fn+Shift+F9.

2
Change the formatting switch

In the displayed field code, replace \* MERGEFORMAT with \* CHARFORMAT. If there is no formatting switch, add \* CHARFORMAT before the closing field brace.

3
Set the field formatting

Select the first character of the field code, such as the R in REF, and use the Home tab to apply the font and other character formatting you want for the cross-reference.

4
Update and check the result

Click inside the field and press F9, or Fn+F9 if needed. If the code is still visible, press Shift+F9 again to show the result.

5
Export and inspect the PDF

Use File > Save As and choose PDF, then open the PDF and check the affected cross-reference.

Change the cross-reference field to use CHARFORMAT
Show all field codes: To toggle all field codes in Word for Mac, use Option+F9; add Fn if your keyboard requires it. Repeat the shortcut to return to field results.
Free Microsoft Office alternative

Work with Word Documents and Export PDFs in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Word documents and exporting them to PDF. It supports common Office formats for an easier transition, although it does not repair Microsoft Word's field formatting.

Open and edit Microsoft Word DOC and DOCX filesExport documents to PDF for sharingUse a familiar interface for everyday document editingMove existing Office files into a lightweight workspace
microsoft office alternative - wps office

Frequently Asked Questions

Why does my cross-reference change formatting when I update it?

Word may preserve or replicate formatting through the field's MERGEFORMAT switch. Show the field code with Shift+F9 and try replacing \* MERGEFORMAT with \* CHARFORMAT.

How do I control the formatting used by CHARFORMAT?

Show the field code with Shift+F9, then format its first character using the Home tab. Update the field with F9 to apply that character formatting to the result.

What if my Mac's F9 shortcut does not work?

Try holding Fn with the shortcut, such as Fn+Shift+F9 to toggle the selected field code or Fn+F9 to update it. The required keys depend on your Mac keyboard settings.

How can I remove a paragraph break from a cross-reference?

Turn on Home > Show/Hide ¶ and inspect the caption. If the reference includes a paragraph mark, create a bookmark around only the desired caption text and insert a cross-reference to that bookmark.

How do I check whether the fix worked in the PDF?

After updating the field, choose File > Save As and select PDF. Open the PDF and compare the cross-reference with the Word document.