Microsoft KB Archive/65182

-

{|
 * width="100%"|

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

SUMMARY
In Microsoft Word, when you shade a paragraph with the PostScript command .para., and you add spacing to that paragraph by clicking Paragraph on the Format menu (by choosing Borders and entering a dimension in the From Text box [in Word 4.0, the Spacing box]), the PostScript shading does not fill the additional space.

WORKAROUND
To work around this problem, use any of the following methods.

PostScript Workarounds
To Shade a Paragraph and Include Three Additional Points of Shading on Both Sides of the Paragraph:

 Create a paragraph that has 3 points of spacing and a paragraph border applied to it.  Type the following PostScript commands above the paragraph: .para. initclip .99 setgray -3 0 moveto -3 wp$y lineto wp$x 3 add wp$y lineto wp$x 3 add 0 lineto closepath fill 

Follow steps 3-5 below. To Shade a Paragraph, Add Three Points of Side Shading, Four Points of Top and Bottom Shading, and Place a Border Around the Paragraph:

 Create a paragraph that has 3 points of spacing and a paragraph border applied to it.  Type the following PostScript commands above the paragraph: .para. initclip .99 setgray -4 -4 moveto -4 wp$y 4 add lineto wp$x 3 add wp$y 4 add lineto wp$x 3 add -3 lineto closepath gsave fill grestore .5 setlinewidth 0 setgray stroke NOTE: To shade the paragraph without adding a border, change the third line of the above PostScript code to read as follows: fill  Select the lines of PostScript code. To apply the PostScript style to the selected text, hold down the SHIFT key and choose the PostScript style from the Style box on the ruler. From the File menu, choose Print.</li></ol>

NOTE: When you print, make sure that the Print Hidden Text option is turned off.

Non-PostScript Workaround for Word Version 5.0
To shade a paragraph without using PostScript, follow these steps:


 * 1) Select the paragraph to be shaded.
 * 2) From the Format menu, choose Borders.
 * 3) Under Shading, select the percentage of shading that you want to apply to the paragraph.
 * 4) Click OK.
 * }

-

Last reviewed: November 17, 1997

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