word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

word页眉页脚每页不同

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

We’ve shown you how to add “Page X of Y” to a header of footer of large spreadsheets in Excel. The same thing can be done in Word for longer documents. It’s a bit different than in Excel, so read on to find out how.

我们已经向您展示了如何在Excel 中将“ Y的第X页”添加到大型电子表格的页脚页眉中 。 对于更长的文档,可以在Word中完成同一操作。 它与Excel中有些不同,因此请继续阅读以了解操作方法。

There are two ways to add “Page X of Y” to a header or footer in Word. The easiest way is to use the Page Number gallery. However, using the Page Number gallery replaces any content you already have in your header or footer. If you currently have content in your header or footer and you want to add “Page X of Y” to that content, you can use field codes. We’ll show you both methods.

有两种方法可以将“ Y的第X页”添加到Word的页眉或页脚中。 最简单的方法是使用页码库。 但是,使用“页码”库将替换页眉或页脚中已有的所有内容。 如果您当前在页眉或页脚中有内容,并且想要在该内容中添加“ Y的第X页”,则可以使用域代码。 我们将向您展示这两种方法。

NOTE: When we say to type something in this article and there are quotes around the text, DO NOT type the quotes, unless we specify otherwise.

注意:当我们说要在本文中键入某些内容并且文本周围有引号时,请不要键入引号,除非我们另外指定。

使用页码库 (Using the Page Number Gallery)

To insert “Page X of Y” using the Page Number gallery, click the “Insert” tab.

要使用页码库插入“ Y的第X页”,请单击“插入”选项卡。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

In the “Header & Footer” section, click “Page Number” and move your mouse over either “Top of Page” or “Bottom of Page” in the drop-down menu. A list of readymade page number styles displays. Scroll down to the “Page X of Y” section and select one of the “Bold Numbers” styles, depending on whether you want your page numbers left-, center-, or right-aligned.

在“页眉和页脚”部分中,单击“页码”,然后将鼠标移到下拉菜单中的“页面顶部”或“页面底部”上。 显示现成的页码样式列表。 向下滚动到“ Y的第X页”部分,然后选择“加粗数字”样式之一,具体取决于您希望页面编号是左对齐,居中对齐还是右对齐。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

The page number and total number of pages are added to the header or footer.

页码和总页数添加到页眉或页脚。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

Note that the page numbers are bold. If you don’t want the page numbers to be bold, select the text and click “Bold” in the “Font” section of the “Home” tab.

请注意,页码为粗体。 如果您不希望页码为粗体,请选择文本,然后在“主页”选项卡的“字体”部分中单击“粗体”。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

使用栏位 (Using Fields)

If you already have content in your header or footer and want to add “Page X of Y” without replacing that content, you can add page numbers using fields. To do so, open the header or footer and place the cursor where you want to insert “Page X of Y”. Type “Page” and a space.

如果页眉或页脚中已经有内容,并且想添加“ Y的第X页”而不替换该内容,则可以使用字段添加页码。 为此,请打开页眉或页脚,然后将光标放在要插入“ Y的第X页”的位置。 输入“页面”和一个空格。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

Click the “Insert” tab.

点击“插入”标签。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

In the “Text” section, click the “Quick Parts” button and select “Field” from the drop-down menu.

在“文本”部分中,单击“快速零件”按钮,然后从下拉菜单中选择“字段”。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

The “Field” dialog box displays. In the “Field names” list, scroll down and select “Page”. You can change the format of the page number by selecting an option in the “Format” list, but we’ll accept the default format. Click “OK”.

显示“字段”对话框。 在“字段名称”列表中,向下滚动并选择“页面”。 您可以通过在“格式”列表中选择一个选项来更改页码的格式,但是我们将接受默认格式。 点击“确定”。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

The page number of the current page is inserted at the cursor. After the page number, type a space, then “of”, then another space.

当前页面的页码插入到光标处。 在页码之后,键入一个空格,然后输入“ of”,然后输入另一个空格。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

Click the “Quick Parts” button in the “Text” section of the “Insert” tab again and select “Field” from the drop-down menu. This time, select “NumPages” in the “Field names” list. Accept the default values for “Format” and “Numeric format” and click “OK”.

再次单击“插入”选项卡的“文本”部分中的“快速零件”按钮,然后从下拉菜单中选择“字段”。 这次,在“字段名称”列表中选择“ NumPages”。 接受“格式”和“数字格式”的默认值,然后单击“确定”。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

The page number and total number of pages are inserted at the cursor in your header or footer.

页码和总页数插入到页眉或页脚中的光标处。

word页眉页脚每页不同_如何在Word的页眉或页脚中插入Y的第X页

Get more information on how to add page numbers, omit the page number on the first page of a document, or start a new section on an odd page number in Word.

获取有关如何添加页码的更多信息,在文档的第一页上省略页码 ,或在Word中以奇数页码开始新的部分

翻译自: https://www.howtogeek.com/231377/how-to-insert-page-x-of-y-into-a-header-or-footer-in-word/

word页眉页脚每页不同