Creating Headers and Footers


A header appears at the top of every page, and a footer appears at the bottom of every page. You might want to use headers and footers to display the document title, your name, the name of your organization, and so on. Figure 8.6 shows a document in Print Preview. The name of the organization and the date are entered in the header, so they print on every page.

Figure 8.6. By default, the text in headers and footers prints on every page of your document.

graphics/08fig06.jpg

As you'll see, Word makes it easy to center and right-align header and footer text by providing a center tab in the middle of the header and footer and a right tab at the right edge of the header and footer.

To create a header and/or footer, follow these steps:

  1. Choose View, Header and Footer .

    graphics/lightbulb_icon.gif

    When you have text in your header or footer, you can double-click it when you're in Print Layout view to activate it instead of choosing View, Header and Footer.


  2. Word activates the header area and displays the Header and Footer toolbar (see Figure 8.7). Note the custom tabs in the center and on the right. If you want to create a footer, click the Switch Between Header and Footer toolbar button to activate the footer area. (Click the same button again when you want to switch back to the header area.)

    Figure 8.7. The View, Header and Footer command activates the header area of your document and displays the Header and Footer toolbar.

    graphics/08fig07.jpg

  3. Type any text that you want to appear at the left margin.

  4. If you want any text centered, press the Tab key to jump to the center tab and type the text.

  5. If you want some text to be right-aligned at the right margin, press the Tab key twice to move to the right tab and type the text.

  6. Apply any formatting that you like to text (and fields) in your header or footer by selecting it and using the standard formatting techniques, including the Formatting toolbar, the Font and Paragraph dialog boxes, keyboard shortcuts, and so on. To select all of the text in the header or footer, click when your mouse pointer is in the left margin, outside of the dashed-line that demarcates the header or footer area. Figure 8.8 shows a footer with text on the left and right margins, formatted in an Arial 10-point font.

    Figure 8.8. You type whatever text you want in the header and footer.

    graphics/08fig08.jpg

    graphics/lightbulb_icon.gif

    It's common to make header and footer text a couple of point sizes smaller than your document text to set it apart from the text stream.


  7. Click the Close button in the Header and Footer toolbar to return to viewing your document text.

graphics/lightbulb_icon.gif

The Insert AutoText button at the left end of the Header and Footer toolbar displays a list of typical header and footer entries, such as the filename of the document, the date on which it was last printed, and so on. Most of the entries are a combination of regular text and fields. Clicking an entry in this list is faster than creating it yourself.


By default, the document text is dim but visible when you're working with headers and footers. If you like, you can hide it completely by clicking the Show/Hide Document Text button in the Header and Footer toolbar. To bring the document text back into view, click the toolbar button again. If you want to display the Page Setup dialog box to modify the header or footer (see "Creating a Different Header or Footer on the First or Odd and Even Pages"), click the Page Setup toolbar button.

To delete text in your header or footer, activate the header or footer area and then delete the text by using any of the usual methods . To delete a field, double-click it or drag over it and then press the Delete key. If you want to see clearly what text is a field and not normal text, choose Tools, Options. In the View tab of the Options dialog box, display the Field Shading drop-down list and choose Always (if you want your fields to always be light gray) or When Selected (if you only want your fields to appear light gray when you click them). Then click OK.

Inserting the Page Number or Date in the Header or Footer

The Header and Footer toolbar makes it easy to insert fields for the page number and the date or time (see Figure 8.9). As with the page number field, fields for the date and time automatically update to display the current date and time.

Figure 8.9. The Header and Footer toolbar has buttons that make it simple to add page numbering.

graphics/08fig09.jpg

To insert the page number in the header or footer, follow these steps:

  1. Choose View, Header and Footer .

  2. Click the Switch Between Header and Footer button if you want to insert the page number in the footer.

  3. Press Tab once or twice if you want to center or right-align the page number.

  4. Click the Insert Page Number button on the Header and Footer toolbar (or press Alt+Shift+P).

    graphics/lightbulb_icon.gif

    If you want to use the format Page 1 of 8, Page 2 of 8, Page 3 of 8 , and so on, click the Insert AutoText button, and then click Page X of Y in the list that appears.


  5. Format the header or footer however you like, and then click the Close button on the Header and Footer toolbar.

If you want to begin page numbering with a number other than 1, click the Format Page Number button on the Header and Footer toolbar to display the Page Number Format dialog box, type the desired number in the Start At text box, and click OK. If you have divided your document into multiple sections (see "Varying the Page Formatting in Your Document" later in this hour), Word automatically continues the page numbering from one section to the next . To restart the page numbering in each section, activate the header and footer in each section, as described in "Creating Different Headers and Footers in Different Sections of Your Document" later in this hour , display the Page Number Format dialog box, and enter 1 in the Start At text box.

To insert the date or time in the header or footer, follow these steps:

  1. Choose View, Header and Footer .

  2. Click the Switch Between Header and Footer button if you want to insert the date or time in the footer.

  3. Press Tab once or twice if you want to center or right-align the date or time.

  4. Click the Insert Date toolbar button (or press Alt+Shift+D ) to insert the date. Click the Insert Time toolbar button (or press Alt+Shift+T ) to insert the time. Figure 8.10 shows the date field inserted at the right edge of the header.

    Figure 8.10. Use buttons in the Header and Footer toolbar to add date and time fields to your header or footer.

    graphics/08fig10.jpg

  5. Format the header or footer as you like, and then click the Close button.

Word inserts the date field in the default format. If you want to change the default to something else (from 11/18/03 to November 18, 2003, for example), choose Insert, Date and Time to display the Insert Date and Time dialog box, click the format you want in the Available Formats list, click the Default button, click Yes, and then click OK. You'll learn more about the Date and Time dialog box in Hour 12.

Creating a Different Header or Footer on the First or Odd and Even Pages

Word gives you a straightforward way to create a different header and footer for the first page of a multipage document. The most common reason to do this is to keep the header and footer from printing on the first page. And it is equally easy to create different headers and footers for your odd and even pages. You may want to do this if the document is to be double-sided and bound.

In many documents, you want to print the header and footer on every page but the first. For example, you probably don't want the page number to appear on the first page of a letter. To suppress the header and footer on the first page of a document, you tell Word that you want a different header and footer on the first page, and then you simply leave the first page header and footer blank:

  1. Choose File, Page Setup to display the Page Setup dialog box. If you are viewing your headers and footers already, you can also click the Page Setup button on the Header and Footer toolbar (refer to Figure 8.7).

  2. Click the Layout tab (refer to Figure 8.4).

  3. Mark the Different First Page check box.

  4. Click OK .

  5. Choose View, Header and Footer .

  6. When you are viewing the header or footer for the first page, the left side of the header or footer indicates First Page Header or First Page Footer , as shown in Figure 8.11. If you don't want any header or footer text on the first page, leave the first page header and footer blank.

    Figure 8.11. You can create a separate header and footer for the first page.

    graphics/08fig11.jpg

  7. Click the Show Next button in the Header and Footer toolbar to move to the header and footer for the remainder of the document, and insert and format the desired text and fields. (If you want to move back to the first page header and footer, click the Show Previous toolbar button.)

  8. Click the Close button in the Header and Footer toolbar.

To create different headers or footers for odd and even pages in your document, follow these steps:

  1. Choose File, Page Setup to display the Page Setup dialog box.

  2. Click the Layout tab (refer to Figure 8.4).

  3. Mark the Different Odd and Even check box.

  4. Click OK .

  5. Choose View, Header and Footer .

  6. When you are viewing the header and footer for odd pages, the left side of the header or footer indicates Odd Page Header or Odd Page Footer , as shown in Figure 8.12. Type and format the text that you want to appear in the odd header and footer.

    Figure 8.12. You can create different headers and footers for odd and even pages.

    graphics/08fig12.jpg

  7. Click the Show Next toolbar button to move to the header and footer for even pages (they are labeled Even Page Header and Even Page Footer ), and type and format the header and footer text.

  8. Click the Close button in the Header and Footer toolbar.

Creating Different Headers and Footers in Different Sections of Your Document

If you divide your document into sections, as described in "Varying the Page Formatting in Your Document" at the end of this hour, you can then create different headers and footers in each section. You might do this if you're printing a long document with multiple chapters and you want to include the chapter name and number in the header or footer, for example.

Word makes a less-than -intuitive assumption about headers and footers in documents that are divided into multiple sections. Unless you tell it otherwise , Word makes the header and footer text in each section the same as the previous section. You have to turn off this feature if you want to vary the header and footer text from section to section. Figure 8.13 shows the header in section 2 of a document. Note that the section number appears on the left side of the header and Same As Previous appears on the right side. To "unlink" the header and footer in the current section from the previous section, click the Link to Previous button in the Header and Footer toolbar to turn it off (it's turned on by default).

Figure 8.13. Click the Link to Previous button to unlink the header and footer from the previous section.

graphics/08fig13.jpg

You have to do this in each section individually. After the sections are unlinked , you can click the Show Previous and Show Next buttons in the Header and Footer toolbar to move from section to section and type and format each one separately.

graphics/bookpencil_icon.gif

You can specify different first page and/or different odd and even page headers and footers within each section of a document, if you like.




Sams Teach Yourself Microsoft Office Word 2003 in 24 Hours
Sams Teach Yourself Microsoft Office Word 2003 in 24 Hours
ISBN: 067232556X
EAN: 2147483647
Year: 2003
Pages: 315
Authors: Heidi Steele

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net