Dec 262017
WP5.1 Macro to wrap text around diamond shape.
File DIAMON.ZIP from The Programmer’s Corner in
Category Word Perfect
WP5.1 Macro to wrap text around diamond shape.
File Name File Size Zip Size Zip Type
DIAMOND.TXT 2492 1219 deflated
DIAMOND.WPM 9592 2713 deflated

Download File DIAMON.ZIP Here

Contents of the DIAMOND.TXT file

Word Perfect 5.1 Macro
--- created by Gregg Leslie (76226,3567) ---

This macro makes text wrap around a diamond shape in a document, by
generating a number of empty graphics boxes that together give the effect of a
four-sided diamond.


Entering Numbers. Do not use fractions, or inch marks. Just enter the
figures as decimal numbers, e.g. 1.5 or 2.25. Numbers will be truncated to
three decimal places if they are entered longer than that.

Going Off of the Page. The entire diamond does not have to fall on the
page, if you want a half-diamond shape on one side of the page. Placing
diamonds partially off the page has not been entirely tested, however.

Placing Text or Graphics. These can be placed in a non-visible box that
will be one number greater than the last box in the diamond. The center of
that box will be in the center of the diamond; just don't place text out to
all sides, or it will "bleed" over the shape created by the boxes.

Resetting the Figure Options. If you make a diamond and then find you
need it a little larger, you can either delete the boxes that were created
or simply change the Figure Options setting before the first box (by
changing the value of the Outside Border Space).

Keeping the Diamond on the Correct Page. The box codes for the diamond
will be placed where the cursor is when the macro is started. If your
cursor is below where to define the diamond, it will appear on the next
page. Also, if you add more text before the codes, you could push the
diamond to another page. The best way to avoid this is to move the cursor to
the start of the document before calling the macro, then changing the
"Number of pages to skip" option. If you want the diamond to start on page
3, tell it to skip 2 pages.

Laser Printer Errors. Apparently, some laser printers with less than 1
meg of memory will not be able to print a full page of text with a large
diamond. You may just have to experiment to find the largest size your
printer will allow, or try lessening the number of boxes the macro will use
when it asks you to confirm the numbers.

SPECIAL NOTICE: If you use this macro in creating professional
publications (Okay, I think big), a small registration fee of $5.00 would
be appreciated. Include your CIS I.D. # and receive e-mail on new macros as
I create them. Send to: Gregg Leslie, 1860 N. Scott St., #334, Arlington,
VA 22209. Thank you.

 December 26, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>