Home>Article>Topics> How to use field code to set page number in word

How to use field code to set page number in word

尚
Original
2019-06-20 09:29:29 37614browse

How to use field code to set page number in word

The method of using field codes to insert page numbers in Word is as follows:

1. Add a table

Double-click at the footer , making the footer editable.

Click "Insert" - "Table" to insert a table with "two columns and one row" and adjust the height of the table.

(The table is inserted here to facilitate the alignment of page numbers)

How to use field code to set page number in word

2. Enter the page number in the first column

and position the cursor at In the first cell of the table, set the alignment to "Centered".

First enter "Page of Pages", position the cursor between "Page", press [Ctrl F9] twice to insert two blank fields {{{}}} (Note: This brace cannot be entered manually ).

Enter {={page}*2-1} between {{{}}}, right-click, and select "Update Domain" in the pop-up shortcut menu.

Press [Ctrl F9] twice to insert {{{}} between "Total Pages".

Enter {={numpages}*2} between {{{}}}, right-click, and select "Update Domain" in the pop-up shortcut menu.

How to use field code to set page number in word

3. Enter the page number in the second column

Position the cursor in the second cell of the table and set "center alignment".

Use the same method to enter "{={page}*2} pages of {={numpges}*2} pages" respectively, and then "Update domain".

How to use field code to set page number in word

4. Remove the table border line

Select the table in the footer, click "Start" - "Paragraph" - "Border", set to " No frame lines”.

Double-click in the area other than the footer to exit the editing state. In this way, adding page numbers to the column is completed.

For more technical articles related to Word, please visit theWord Tutorialcolumn to learn!

The above is the detailed content of How to use field code to set page number in word. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn