How to Number Only the Front Pages of a Double-Sided Word Document
Question details
The user needs to sequentially number only the front (odd) pages of a double-sided document so that physical page 3 displays as page 2, skipping numbering on the back pages.
- Product
- Word Processing
- Device & OS
- not provided
- Scenario
- Formatting headers or footers for a double-sided printed document where the back of the sheets should not receive sequential page numbers.
- Observed behavior
- By default, every page is numbered consecutively. Attempting to use a calculation field manually results in a 'Syntax Error' instead of calculating the correct page number.
Ensure your document layout is intended for double-sided printing and that you have access to header and footer editing tools.
Use a Calculated Field Code for Odd Pages
Configure different headers and footers for odd and even pages, then use a formula to calculate the sequence number for the front pages.
This method uses a mathematical field code to calculate the page number dynamically based on the physical page count. Since it is only placed in the odd-page header/footer, the back pages will remain blank.
Double-click the top or bottom margin of your document to open the Header & Footer tools. Check the box for 'Different Odd & Even Pages'.
Click inside the odd-page header or footer and press Ctrl+F9 to insert a pair of field braces { }. Do not type these manually with your keyboard.
Type '= (' inside the braces, press Ctrl+F9 again to insert nested braces, type 'PAGE' inside them, and finish the formula so it looks exactly like: { = ({ PAGE } + 1) / 2 }.
Press F9 on your keyboard to update the calculated field. Your odd pages will now display consecutive numbers (1, 2, 3...) while even pages remain unnumbered.
Fixing Field Code Syntax Errors
Resolve 'Syntax Error' messages that occur when field code braces are typed manually rather than generated via system shortcuts.
Effortlessly Manage Page Numbering in WPS Writer
WPS Writer provides comprehensive layout controls and full support for advanced field codes, allowing you to easily handle complex page numbering scenarios for double-sided documents.
- 1. Open your document in WPS Writer: Launch WPS Writer and open the document you wish to format for double-sided printing.
- 2. Access Header and Footer settings: Go to the Insert tab and click on Header and Footer. Check the 'Different Odd and Even Pages' option in the ribbon.
- 3. Insert the Field Code: Navigate to the Insert tab, click on Quick Parts, and select Field to insert a formula field, or simply use the Ctrl+F9 shortcut to build the { = ({ PAGE } + 1) / 2 } formula.
- 4. Update the calculation: Right-click the field code and select 'Update Field' or press F9 to display your calculated sequential page numbers on the front sheets.

Frequently Asked Questions
Why do I see the { = ({ PAGE } + 1) / 2 } code instead of the actual page number?
You are currently viewing the document's raw field codes instead of the calculated field results. Simply press Alt+F9 on your keyboard to toggle the view back to the actual page numbers.
Will the even (back) pages remain completely blank?
Yes. Because you enabled the 'Different Odd and Even Pages' setting and only placed the formula field in the odd-page header or footer, the even pages will be completely skipped and will not display a page number.
Can I just type the curly brackets on my keyboard to create the formula?
No, manually typing curly brackets using Shift+[ will result in a Syntax Error. You must press Ctrl+F9 to insert the special field code braces recognized by the software's calculation engine.
What if I want the physical third page to be numbered as page 1?
You can modify the math within the field code. If you need to offset the starting number, you can adjust the formula (for example, by subtracting from the PAGE variable) before the division step, though managing section breaks is usually easier for changing starting pages.




