• Keine Ergebnisse gefunden

Adding Headers and Footers

Im Dokument ADVANCED USER ' S GUIDE (Seite 51-56)

This part of the tutorial explains how to create running headers and footers (also called page headings and page footings). Headers appear within the top margin of each page; footers appear within the bottom margin of each page.

Sprint supports multiple-line headers and footers and lets you specify how the header and footer text should be formatted. You can place the text at the left margin, aligned at the right margin, and/or centered between the left and right margins. The commands to create headers and footers are on Layout/Header and Layout/Footer menus. The menus are identical; the Header menu is shown in Figure 1.6.

< Sprint typestyles (if your printer supports them). FOI---IWindow Alt-W have some text that is marked as bold. then se Columns Utilities Alt-U

immediately obvious what typestyle Position in. especially if you have a monochrome monitor (whi ed number of ways it can change the appearance of text on your screen).<

'''''p:Jldi"'~1'Rd111';'.'1; ... n~t.;II!I.il!!ll".-.-plJl:1!.-.!r.I.-tflOlif:--A!D10

Figure 1.6: The Header Menu

Sprint's Header and Footer commands can appear anywhere in your document. By default, the text of the page header or footer will appear on all pages following the command except the first page.

As you can see in Figure 1.6, both the Header and Footer menus offer the All Pages command. When you choose All Pages, Sprint inserts BEGIN and END HEADER commands (for a header) or BEGIN and END FOOTER commands (for a footer) into your file; you just enter the text of the header or footer between those commands. The All Pages command prints the header or footer you create on every page except the first. If you want your header or footer to print on every page including the first, you must also choose Title Page and enter the same header or footer text as you did for All Pages. You can also use Title Page to create a special header or footer for the first page only.

Two other commands the Header and Footer menus share are Odd Pages and Even Pages: choose Header/Odd Pages and Header/Even Pages to print different headers on odd and even pages (as we do in this manual);

choose Footer/Odd Pages and Footer/Even Pages to do the same for your footers.

The headers and footers you create can be positioned on the page with the Position command; specify the exact distance from the top of the page

(headers) or the bottom of the page (footers) in any dimensions your printer supports.

By default, Sprint automatically prints the page number in the footer line of every page; you need not choose a Footer command. However, if you do choose a Footer command, you override this default function. If you want page numbers in your footer, you need to tell Sprint where to place them.

Specifying a page number is a little abstract because it involves the concept of variables, discussed in the" Advanced Formatting: Tips, Tricks, and Techniques" chapter of this book. To print page numbers, you need to insert the variable page and tell Sprint to print its current value.

Practice

You'll create a page heading for the Smith work order that contains the name of the job and the date. The page footing will contain the company name (Remodeling, Inc.) on the left, the words Work Order in the center, and the page number on the right.

Inserting a Header

1. Move the cursor to the top of the file (but stay below the ruler line).

2. Choose Layout/Header/All Pages; this tells Sprint to print a header on every page except the first:

Press: FlO LHA

Sprint inserts the following commands into your document:

BEGIN HEADER END HEADER

3. With the cursor between the BEGIN and END HEADER commands, enter the job name:

Type: Smith Job (Cabinets)

4. Choose Insert/Wide Space (Spring) to force the rest of the header (the date) against the right margin, and then type the date:

Press: FlO IWto force what you type next to the right margin Type: May 2, 1988

Press: Enter

5. Immediately below the END HEADER command, create a header for the first page with Header/Title Page:

Press: FlO LHT

Sprint inserts the following commands into your document:

BEGIN HEADERT END HEADERT

6. Enter the same header information you entered for Layout/Header/All Pages in order to get a first page header identical to the one that appears on all the other pages.

Inserting a Footer

1. On the line directly below the END HEADERT command, choose Layout/Footer / All Pages and proceed as you did to insert a header (see above).

Press: F10 LFA

Sprint inserts the following into your document:

BEGIN FOOTER END FOOTER

2. Enter the company name, Remodeling, Inc., between the BEGIN and END FOOTER commands, choose Insert/Wide Space (Spring), and enter the words Work Order:

Type: Remodeling, Inc.

Press: F10 IW to force what you type next to the right margin Type: Work Order

3. After the words Work Order in the footer, insert another wide space with Insert/Wide Space (Spring):

Press: F10 IW

4. Now, to insert the page number, choose Insert/Variable and choose Page. (This insertion will force the words Work Order back towards the center of the page. See the footer on page 11 for the way this prints.)

Press: F10 IV

Sprint displays the list of available variables.

Press: arrow keys to choose page Press: Enter

Page is a variable; its value changes each time Sprint begins a new page.

When you insert the Page variable, you're telling Sprint to determine the value of Page each time it prints a page of your file, and insert the correct page number in the footer.

Once you choose Page, you'll see a menu that lets you pick a template for how Sprint should print the page number (for example, in arabic numbers, roman numerals, and so on).

5. Choose arabic (if you want to try a different numbering template, choose another from the list). Sprint inserts the page variable and codes for the template you chose.

6. On the line immediately below the END FOOTER command, create a footer for the first page with Footer/Title Page:

Press: F10 LFT

Sprint inserts the following commands into your document:

BEGIN FOOTERT END FOOTERT

7. Enter the same footer information· you entered for Layout/Footer/All Pages in order to get a first page footer identical to the one that appears on all the other pages.

8. Your header and footer commands should look like this onscreen:

BEGIN HEADER

Smith Job (Cabinets)

END HEADER

BEGIN BEADERT Smith Job (Cabinets) END BEADERT

BEGIN FOOTER Remodeling, Inc.

END FOOTER BEGIN FooTERT Remodeling, Inc.

END FooTERT

May 2, 1988

May 2, 1988

Work Order PAGE, t="%d"

Work Order PAGE, t="%d"

9. Using the instructions provided in Lesson 8, Previewing Your Text, view your formatted file, and verify that your header and footer lines print correctly.

The following table summarizes the tasks presented in Lesson 9:

Task

Insert a header

Insert a footer

Force text to right margin

Table 1.10: Tasks in Lesson 9

Action

Choose Layout/Header/All Pages from the main menu. Type the text of the header between the BEGIN and END HEADER commands Sprint inserts. To create a header for the first page, choose Layout/Header/Title Page.

Choose Layout/Footer/All Pages from the main menu. Type the text of the footer between the BEGIN and END FOOTER commands Sprint inserts. To create a footer for the first page, choose Layout/Footer/Title Page.

Choose Insert/Wide Space (Spring) before you enter the text.

Insert page number variable Choose Insert/Variable, then pick page from the list of variables Sprint displays and choose a template for the way you want Sprint to insert the page number at print time.

This completes Lesson 9.

Im Dokument ADVANCED USER ' S GUIDE (Seite 51-56)