WD: Setting Up Different First Header/Footer for Even/Odd PagesLast reviewed: February 4, 1998Article ID: Q88404 |
The information in this article applies to:
SUMMARYIn 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 INFORMATIONWhen 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
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |