Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate

Barry MacDonnell's
Toolbox for WordPerfect

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2017 by Barry MacDonnell. All Rights Reserved.

Page updated Sep 9, 2016
[Original pub.: Jun 6, 2008]
WordPerfect Tips
Main tips page | Browse tips
Using two footers simultaneously (one for page number, the other for separator line and filename, etc.) so that items do not overlap


Some related items -

•  Modifying the legal Pleading feature

•  Headers, Footers, and Watermarks - how to start, stop, suppress, edit, change, replace, delay, overlay, and remove them

•  Page Numbering in WordPerfect (a page of links to basic information and some page formatting variations)

•  The EdgeText macro - place text, date, or filename outside the page margins

•  Creating and modifying custom templates

•  The Suppress feature

•  Delay codes



 




Some courts (e.g., in California; see samples) require a page number at the bottom of all pages (except on Page 1), with a graphic separator line under it, and then the filename under the line.

Tip: You can modify the WordPerfect legal Pleading document to customize it. See here.

This presents a small problem in WordPerfect, since you can't selectively suppress the page number (on Page 1) that was inserted in a single footer (or header -- see the suppress feature here) and still leave the other text and graphics showing.

However, you can do this if you use both footers (A and B) in the document. Note that both types of footers (and headers, too) overlap if used simultaneously. So a little tweaking is needed.

Tip: To use just one type of footer (A or B), see the example in Footnote 1.

For example: Here's a copy of a message to such a user that may help you set up these structures:

"...when you use two footers (or two headers), one lays on top of the other, so you need to do some spacing in one or the other (or both) if you want to see or print everything that is in both structures.

I assume you want something like this in the footer area (with the page number only suppressed on page 1):

-1-

filename.wpd [or other information]

If so, try this (I'm using WP9, but the same procedure should work in WP8 and earlier versions):

[On Edit: Since this method uses page numbers inside a footer via a page number code placed in the footer (in Step 1), you will want to turn normal page numbering OFF while the cursor is in the main document area (i.e., not in a footer, header, etc.). Otherwise you will get duplicate page numbering. To turn it off: At the top of the document click on Format|Page|Numbering|Position: <No page numbering>. Alternatively you can delete the [Pg Num Pos] code in Reveal Codes.]

Step 1. Since you will be using page numbers inside a footer (this also applies to headers) you will want to turn normal page numbering OFF so that it does not produce another (duplicate) page number on each page.

Hence:
Go to the top of your document and click on Format|Page|Numbering. Make sure that the Page number position drop-down list is set to NO PAGE NUMBERING.

Tip: For more on page numbering in WordPerfect see here.

Step 2. Click on Insert|Header/Footer|Footer A|Create. This opens a new Footer A. Insert a page number code with Format|Page|Insert Page Number, select the type of numbering, then click Insert|Close. You should see the current page number displayed.

Step 3. While still in the footer, go to the left of the page number code (or select it), center justify it with Format|Justification, and set any font/size for it that you want. You can also add text around the number, such as hyphens: "-1-". (Note that a smaller font size than the document body text often looks better here.)

Now, go to the right side of the page number -- i.e., the end of the line -- and press Enter. This moves the page number up one line on the page by placing a hard return directly under it. Click outside the footer to return to the document.

Step 4. Click on Insert|Header/Footer|Footer B|Create. This opens Footer B. Immediately press Enter to move subsequent text or graphics down a line, then insert a horizontal graphic line with Insert|Line.... Press Enter after the graphic line (i.e., at the end of the graphic) to move the insertion cursor down one more line.

Enter a filename code with Insert|Other|Filename (or Path and Filename). Or, enter any other text. You can format the filename (or other text) by selecting it and applying a different font/size or position in the same manner as the page number. Click in the body of the document to return to it.

Step 5. Now (assuming) you want to suppress printing the page number on page 1: Go to the top of the document and click Format|Page|Suppress and check "Footer A." Rationale: You want to suppress the entire footer that contains the page numbering code you just inserted -- i.e., Footer A. (It's important to note that checking "Page Numbering" would suppress numbering set up by the Format|Page|Numbering feature -- a method which was not used here -- so you don't need to check that box.)

Step 6. Check the document to see if it looks right to you. You may want to adjust the bottom page margin if the new footers are pushing up the body text too much. Also, if you want to add some space above and/or below the graphic line in Footer B, you could add additional hard returns in the footers with the Enter key, or click the graphic line (select it) an then click Edit|Edit Graphic Line..., then adjust the Space Above (or Below) Line. If you edit the line, you may have to make corresponding changes in the spacing of the other footer."

Tips

If this works for your purposes you could

(A) record a macro that would go to the top of the document and create these structures in the same way as above, whenever you need them; or

(B) record a style in your template (or the default template) so you can set up documents by selecting a style; or

(C) you could just add these structures to a new custom template so that they are always present.



Footnote 1

[From a Sept. 2016 post on WordPerfect Universe here:]

Can you use just one type of footer (A or B)?

A user asked how to create numbered footers but where the first page's footer is not numbered, and where the second page begins with the number "1".

My suggestion was to use a Delay code. The general method can be adapted for other "postpone formatting" situations.

...

"1. Create your footer (e.g., Insert, Header/Footer, Footer A) at the top of page 1 with the desired content -- but do not include page numbering inside the footer or on the main document. Exit from the footer by clicking in the document.

2. Still on page 1 (just to the right of the new [Footer A] code):

Create a [Delay] code with Format, Page, Delay Codes, 1, OK. When the Define Delayed Codes editor opens: On the main WordPerfect menu use Format, Page, Numbering and for Position set it to No Page Numbering. Then click Set Value and set the number to "1" (if it's not already 1). Click OK twice to return to the Delay Codes editor. You should see this code in Reveal Codes: [Pg Num Set].

3. Still in the Define Delayed Codes editor:

Click the Header/Footer button on the editor's toolbar, and choose the same type of Footer (A or B) you used on page 1 of the document. Click Create. You will now be inside the footer. Enter your text, etc., and place the page number code where desired -- e.g., Format, Line, Flush Right (on the main menu), then use the Page Numbering icon on the property bar or Ctrl+p. (Note: The new Footer A will supercede the Footer A on page 1.)

4. Click the Close icon (looks like a yellow folder) on the property bar to return to the Delay Codes editor. You should now see these codes: [Pg Num Set][Footer A].

5. Click Close on the editor's toolbar to return to the document.

Important: All of this presumes you have set the normal page numbering Position to No Page Numbering (step 2) so that you don't get duplicate page numbers on each page from page 2 forward."
...