WD: PostScript Shading Doesn't Fill Border Spacing in MacWord

Last reviewed: November 17, 1997
Article ID: Q65182

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:

  1. Create a paragraph that has 3 points of spacing and a paragraph border applied to it.

  2. 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:

  1. Create a paragraph that has 3 points of spacing and a paragraph border applied to it.

  2. 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
    

  3. Select the lines of PostScript code.

  4. 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.

  5. From the File menu, choose Print.

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.


Additional query words: macword5
Keywords : macword kbprint
Version : MACINTOSH:4.0, 5.0, 5.1
Platform : MACINTOSH
Issue type : kbprb
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.