Document 378

How to suppress typeset headers and footers

Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

You can suppress the typeset header and footer on individual pages of your document, or you can entirely eliminate the space allotted for printing the headers and footers throughout the document.

Suppressing the typeset header and footer on an individual page

  1. Place the insertion point on the page for which you want no header or footer.

    If the page has a section heading, place the insertion point after the heading.

  2. Enter an encapsulated TeX field.
  3. In the entry area, type \thispagestyle{empty} and choose OK.

    When you typeset preview your document, you may find that the typesetting specifications for the first page of a part or chapter have been defined differently from the rest of the document and have not been affected by your change. In this case, you must suppress the header and footer information on the individual pages.

Suppressing headers and footers created with the fancyhdr package

If you create special headers and footers with the fancyhdr package, you may want to suppress them on certain pages, such as on the first page of a chapter.

  1. Place the insertion point on the page for which you want to suppress headers and footers.

  2. Enter an encapsulated TeX field.

  3. In the entry area, type \thispagestyle{plain}.

  4. Choose OK.

Eliminating the space for typeset headers and footers throughout the document

If you want to expand the amount of information you can get on a page, you can eliminate the headers and footers entirely and expand the text area into the space they ordinarily occupy by adding the geometry package to your document:

  1. From the Typeset menu, choose Preamble.
  2. Click the mouse in the entry area.
  3. On a new line at the end of the entries, type \pagestyle{empty} and choose OK.
  4. On the Typeset toolbar, click the Options and Packages button Options and Packages button or, from the Typeset menu, choose Options and Packages and then choose the Package Options tab.
  5. Add the geometry package to your document.
  6. In the Packages in Use box, select geometry and choose Modify.
  7. In the Category box, select Header/Footer space.
  8. In the Options box, select No header space, No footer space, or No header or footer space.
  9. Choose OK twice to return to your document.

See also

Last revised 02/08/06

This document was created with Scientific WorkPlace.