• Keine Ergebnisse gefunden

Page Numbers (General Information)

Im Dokument THE PROFESSIONAL WORD PROCESSOR (Seite 190-194)

Keystrokes

Function

How To

Alt-E (or F10, Edit), Go to Page Alt-I (or F10, Insert), Variable, Page

Go to Page moves the cursor to the specified page number.

The Go to Page command lets you move the cursor to a specific page number in the current file. This is especially helpful when you are working with large files.

You have to use Sprint's Paginate command to generate onscreen page breaks before you can choose Go to Page.

The Variable command can be used to reference the variable Page.

The variable Page, referenced by choosing Insert/

Variable, prints the current page number. When the for-matter encounters this command, it determines the current page number and replaces the command with the actual page number. This is useful in page headers and footers.

When you choose the Go to Page command, Sprint displays the following prompt in the status line:

Page number: 1

Page Numbers (General Information) Enter the number of the page (1 is default). Sprint immediately moves the cursor to the first character on the page you specified.

The current position of the cursor doesn't matter. The cursor can be positioned either before or after the specified page number when you select the Go to Page command.

Sprint automatically numbers each page of your docu-ment. By default, the formatter prints page numbers as Arabic numbers (numerals like 1,2, and 3), but you have the option to print Roman numerals, cardinal, or ordinal numbers, or words. See the Variables entry for details.

Page Numbers in Headers and Footers

By default, the first page of your document is not numbered, the second page is numbered 2, the third is 3, and so on. The page number appears in the center of the page footing (at the bottom of the page). If you select the Footer command on the Layout menu, you can override this automatic page numbering. If you don't enter any text in your footer command, the formatter leaves the footer blank. If you enter text, the formatter prints the text instead of the page number. If you want to print text and a page number in either your header or footer, you need to use the Insert/Variable command and reference the variable Page. See the Footer, Header, and Variable entries for details.

Chapter/Section Numbers in the Page Number

If you want your page numbers to include the current chapter number (like 1-1, 1-2, 2-1, and so on), you need to tell the formatter to include the "parent" in the page number. Near the top of the file, choose Style/Other Format and type Parent page = chapter (press C for a Command).

Likewise, if you want page numbers preceded by a section number, type the Parent command and make Page equal to Section. See the Parent entry in Appendix C of the Advanced User's Guide for details on this com-mand.

Page Numbers (General Information)

Page Number Reference

When you want to 'reference text that appears on a particular page of your document, use the Define a Tag and Reference a Tag commands. For example, if you want to reference the page on which a table of phone numbers appears, set a tag for the table and then reference the tag when you want to reference the page on which the table appears. For example:

• Select the Table format (type Alt-S, then choose Table).

Type the caption in response to Sprint's prompt or leave it blank if there is no caption .

• Choose Define a Tag from the Style/X-Reference menu.

• Type the following in response to Sprint's prompt:

Name for new tag: phone=table

• Type the text of your table (for example, a list of phone numbers).

• Continue typing the text of your document. When you want to reference the page on which the table appears, select the Reference a Tag command from the Style/

X-Reference menu. For example,

Contact Pat Cole to get a copy of this document.

Her phone number is listed on page

At this point, choose the Reference a Tag command and type the following response to Sprint's prompt:

Tag to reference: phone

• When Sprint displays the Reference By menu, choose Page number. Sprint inserts the command PAGEREF

phone after the text /I •• .listed on page." The text now looks like this:

Her phone number is listed on page PAGEREF phone.

• When your document prints, the formatter replaces the PageRef command and the tag name phone with the page number on which the table appears.

Renumbering Pages

Sprint automatically begins numbering with page number 2 and continues numbering each page sequen-tially. If you have a document that's made up of several

Page Numbers (General Information)

files, and you want the files to have sequential page numbers, you can

• Create one large document that contains the text of all your files.

• Create a master file that uses the formatter command Include to merge your separate files.

For example, let's say your document is made up of three files: INCOME.SPR, INVEST .SPR, and LOSSES.SPR. Your master file could be named MYMONEY.SPR, and could include the text of your headers and footers and the following Include com-mands:

INCLUDE INCOME.SPR INCLUDE INVEST.SPR INCLUDE LOSSES.SPR

To insert an Include command, move the cursor to a blank line and choose Style/Other Format. When Sprint prompts for a formatter command, type Include plus the file name. For example,

Include INCOME.SPR

Press Enter to end the formatter command and then press Enter again to create a blank line. Choose Style/

Other Format again and type the text of your next Include command.

• You could also maintain your separate files without creating a master file.

At the top of each file, type the formatter command Set and specify a beginning page number. Then choose Layout/Page Breaks/Insert (Unconditional) (or type Alt-N). You must set the page number before the next page starts.

For example, let's say that your document is made up of three separate files, and the first file ends on page 12. You don't need to do anything with the first file if you want it to begin printing with page 1.

At the top of the second file, however, choose Style/

Other Format and type SET page=12

Now choose Layout/Page Breaks/Insert (Uncon-ditional) (or type Alt-N). The first page of your second

Page Numbers (General Information)

See Also

file will be numbered 13. If this file ends on page 28, edit the third file to include the following formatter command:

SET page=28

Be sure to choose the Insert (Unconditional) Page Break command after typing the Set command. The third file will begin on page 29.

Page Breaks, Footer Menu, Header Menu, Tags, Variables, and Chapter 2 (Include, Set)

Im Dokument THE PROFESSIONAL WORD PROCESSOR (Seite 190-194)