| Barry MacDonnell's
Toolbox for WordPerfect
Macros, tips, and
templates for Corel® WordPerfect® for Windows®
|Page updated Sep 2, 2009|
|LETRBOX - Enclose single characters (letters, numbers, or symbols) in boxes|
Two simple macros that create a small box with rounded corners around a letter or other character, including symbols. Examples:
The macros can be used for headings, illustrations, instructions, telephone directories, in the headers/footers of catalogs, and even within a text line -- anywhere special characters or unique numbering are desired.
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.