|
Page Numbering in Books
For basic page numbering
information and several related items on this site, see here.
See also Page
numbering using both Roman and Arabic numerals |
Do you need to create page numbering for
Chapters or Sections like that found in many books?
That is, do you need to create a page number
at the bottom of the first page of a chapter or section
with remaining page numbers at the top of subsequent pages
-- like this?
Here's how.
- Create a header (either A or B) that
will appear at the top of subsequent pages (i.e., the
second and following pages of the chapter or section):
- Put your cursor at the very top of the first
page of the current chapter, click Insert, Header/Footer.
- Choose the header type (A or B), and when
the header area appears (the cursor will be in it), type any
desired text and then insert a page number code with Format,
Page, Insert Page Number.
- Justify the text and number as desired (in
the above example the number on page 2 is right-justified), then
click outside the header area to return to the main document.
- NOTE: Headers, footers, and watermarks will be visible
onscreen in Page mode (View, Page), or if you are directly editing
them. They usually contain text, but can contain graphic images
and format codes (page number, current date, filename, line justification,
etc.). For more on these "repeating elements," see
here.
- TIP:
If you want different headers (or different justification) on
even and odd pages, such as found in many books,
see here.
- Next, at the top of the first page
of the chapter, suppress this new header (and thus the
page number displayed inside it) with Format, Page, Suppress,
Header (choose either A or B). This keeps the header from appearing
on the first (i.e., current) page of the chapter, but it will
appear at the top of subsequent pages since it is suppressed
just on the first page.
- NOTE: In the Suppress dialog, there is a checkbox at the
bottom: "Print page number at bottom center on current page."
Leave it unchecked for the current procedure. The WP8
Help file gives its purpose: "To suppress the current page
number style and still print a number on the [bottom of the]
page...." It appears to be designed to work with "normal"
or "pre-defined" page numbering -- that is, where numbers
are placed on the page with Format, Page, Numbering and not by
turning normal numbering off and using numbers in headers or
footers as recommended here.
- Finally, create a footer (A or B)
on the first page of the chapter with a page number code
in it (as above); then "discontinue" it on following
pages with Format, Page, Delay Codes, 1, OK, Header/Footer button,
Footer (either A or B) radio button, Discontinue, Close button.
The page number will appear at the bottom of the first page of
the chapter but it will not appear at the bottom of subsequent
pages, since it will have been "turned off" on the
next page and following pages.
Note that headers and footers (and watermarks)
continue until replaced at some point by a new version of the
header, footer, or watermark (which is what happens here in a
multi-chapter document) or continue until discontinued (in which
case, they simply stop at that point). The latter is often done
with a Delay code to ensure the header, etc., appears on a given
page, but does not appear after some (delayed) number of pages.
Tips
- If you use page numbering inside a header
or footer (as above) you probably want to turn standard
page numbering (which is not inside a header or footer) off
with Format, Page, Numbering, Position: <No Page Numbering>.
This way, you won't get two numbers per page -- a standard page
number and a page number in a header (or footer).
- Much of the above can be recorded in macros.
For related information on suppress and delay codes, see the
SUPDELAY macro page here.
- Need to use Roman numerals (I, ii, iii, iv,
etc.) in the first pages of your document, then switch to Arabic
numerals (1,2,3,4, etc.) for the rest of the document?
- While you can do this with standard page
numbering, let's assume you are using a header or footer from
the very first page of your document, with a page number code
([Pg Num Disp]) inside the header or footer:
- At the beginning of the introduction or other
"front matter," place the cursor before all codes.
The logical position is before the [Header] or [Footer] code,
which has (or will have) the page number in it.
- Note: If you use a Title page and do not
want it included in numbering, you can place the cursor at the
top of the next page to begin numbering there. Be sure to set
the beginning value back to "i" in the next step.
- Then use Format, Page, Page Numbering, Position:
<No page numbering>, Page numbering format: <i>,
OK. This should start page numbering with lower-case Roman numerals
("i"), in the header or footer on the first page. This
also inserts a [Pg Num Meth] code in the document.
(If you double-click it you will see the numbering method is
Roman numerals.)
- Then place your cursor at the top of the
first page that follows the front matter -- that is, the page
where you want to begin numbering with Arabic numbers -- and
use Format, Page, Page Numbering, Position: <No page numbering>,
Page numbering format: <choose an Arabic number, which at
this point will reflect the actual page you are on>, then
click the Set Value button and set the value back to "1".
Click OK twice. Another [Pg Num Meth] code is inserted;
this should start page numbers with "1".
- Regenerate the Table of Contents and Index,
if used, with Tools, Reference, Generate.
|