WD: Setting Up Different First Header/Footer for Even/Odd Pages (88404)
The information in this article applies to:
- Microsoft Word for Windows 1.0
- Microsoft Word for Windows 1.1
- Microsoft Word for Windows 1.1a
- Microsoft Word for Windows 2.0
- Microsoft Word for Windows 2.0a
- Microsoft Word for Windows 2.0b
- Microsoft Word for Windows 2.0c
- Microsoft Word for Windows 6.0
- Microsoft Word for Windows 6.0a
- Microsoft Word for Windows 6.0c
- Microsoft Word for Windows 95
- Microsoft Word for Windows 95 7.0a
- Microsoft Word 97 for Windows
This article was previously published under Q88404 SUMMARY
In a Microsoft Word for Windows document containing different even/odd
header or footer formatting, you can create a different first header
or first footer that automatically determines whether the page number
is even or odd and then inserts the appropriate first header or first
footer.
MORE INFORMATION
When you select the Different First Page check box, Word for Windows
not only sets up a different first header, but also sets up a
different first footer. If it is necessary to maintain the appropriate
even or odd footer on the first page of the section, but that page
could be either even or odd, insert the following field in the first
footer:
{if {=mod({page},2)} = "1" "->->Page {page}" "Page {page}"}
Note: In this example, "->" represents a TAB character.
The MOD function divides the current page number by two and then tests
to determine if the remainder equals one. If the remainder equals one,
the page is odd; if the remainder does not equal one, it equals zero
(0), which means the page is even. If the page is odd, the odd page
footer is inserted (in the above example, it is two tabs, then the
word "Page" and a PAGE field); if the page is even, the even footer is
inserted (in the above example, it is the word "Page" and a PAGE field
aligned at the left margin).
For example, suppose you have a document for which you want to create
different even and odd headers and footers. However, you want the
header (but not the footer) on the first page of each section to be
blank, similar to the following:
Odd page, first page
of section with Even page with
footer, but no header header and footer
__________________ ___________________
| | | |
| | | Header |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| Page {page}| | Page {page} |
|__________________| |___________________|
Reference(s):
"Microsoft Word for Windows User's Guide," version 2.0, pages 579-582,
639-641
"Microsoft Word for Windows User's Reference," version 1.x, pages
95-96, 97-98, 103, 147-149
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | kbfield kbualink97 kbusage KB88404 |
---|
|