Microsoft KB Archive/71049

-

{|
 * width="100%"|

The information in this article applies to:
 * Microsoft Word for the Macintosh, versions 3.0, 3.01, 3.02, 4.0, 5.0, 5.1

SUMMARY
The single, solid-line paragraph border options in Microsoft Word are a one point, a two point, and a hairline border, respectively. To create a paragraph border that is thicker than these measurements, follow these steps:

  Type the following PostScript code immediately preceding the paragraph to which the border will be applied: .para. 8 setlinewidth wp$box stroke  Select the three lines of PostScript code and apply the PostScript style (hold down the SHIFT key while choosing All Styles from the Format menu).

When the document is printed, the code above draws a box around the entire paragraph using a line width of 8 points (there are 72 points per inch). To change the width for the border, type a new number in place of the &quot;8&quot; in the code.

MORE INFORMATION
To create a single-line bottom border, type the following immediately preceding the paragraph to which the border will be applied:

.para. 8 setlinewidth 0 0 moveto wp$yorig 0 rlineto stroke Select the five lines and apply the PostScript style. Change the number &quot;8&quot; in the text to obtain the desired border width. NOTE: This PostScript code also works with Microsoft Word versions 3.0x.

For more information on using PostScript, see the application note titled &quot;Introduction to PostScript Using Microsoft Word.&quot; For additional information, please see the following article in the Microsoft Knowledge Base:

ARTICLE-ID: Q64783 TITLE    : WD: Introduction to PostScript Using Microsoft Word
 * }

-

Last reviewed: November 17, 1997

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.