Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate |
![]() Toolbox for WordPerfect |
||
Macros, tips, and
templates for Corel® WordPerfect® for Windows® |
Page updated Apr 25, 2016 | |
LETRBOX - Enclose single characters (letters, numbers, or symbols) in boxes | ||
Related items - • TextBox - A macro to create a "rounded" and "overline/underline" text box around words or phrases. (WordPerfect's own Insert, Text Box feature uses square corners.) • Box2Text - A macro that moves all text inside each text box in a document to the current box's position in the document, then deletes the empty box. Options let you pause the macro at each item for confirmation, etc. • Attaching graphic images: How to keep a graphic image or text box from "jumping around" on a page or moving to another page (plus: how to group images) • Several ways to "stamp" labels or other useful information on each page (or a range of pages) of a document with headers, footers, text boxes, etc. See here. |
Two simple macros that create a small box with rounded corners around a letter, number, or other character -- including symbols. Examples: HOW TO USE IT Place your cursor after the character you want to "box," and play LETRBOX or LETRBOXR. See the comments at the top of the macro code for more information. LETRBOXR.WCM draws a reverse-color box (white-on-black). [Also see TEXTBOX.] HOW IT WORKS The macro first selects the character just to the left of the current insertion point, then cuts the selected character to the clipboard. It then creates a text box, pastes the character into it (center justified, small font), adjusts the text box's parameters (including its position as a character on the page), and then uses cut-and-paste to place the text box itself back at the original insertion point in the document. A small rectangular box, with minimum inside and outside box spacing, was used instead of a circle around the selected character to minimize the influence the box may have on adjacent lines of text. You can edit the box to add more characters. Note that the macro works well for boxing text
or symbols up to about 20 points or so. Larger characters may require
you to adjust the box's width dimension in the macro's code.
|
|