Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map |
Toolbox for WordPerfect |
||
Macros,
tips, and templates for Corel® WordPerfect® for Windows® |
||
Download BRACKETS.ZIP (v1.01; 10/30/07; 18,470 bytes) Compatible with WordPerfect versions WP9-WPX3 Downloading, Documentation, Modifications, and Support
|
PURPOSE AND USES This WordPerfect 9 (and later version) macro that creates an "outdented" table -- i.e., a table that extends into the margins -- with a large, full-height left and/or right border that simulates a large square bracket ( "[" and/or "]" ).
While WordPerfect can apply outdented vertical borders to paragraphs with Format, Paragraph, Border/Fill, the borders are simple vertical lines. They do not simulate brackets. If text is selected first, the text will be automatically inserted in the table. Three versions of the table can be created with a simple setting in the macro: left bracket only, both left and right brackets, and right bracket only. The macro can be used to set off text for special purposes, such as to format "pull quotes" or editorial comment (see Tips below), or to indicate that several characters are speaking simultaneously in theater and opera manuscripts. Note that the table's text column (a single cell) is aligned on the vertical page margins with other document text at the table's location; it is just the brackets that are outdented from the margin. Outdenting is the default, but it is optional. The macro can also be customized to produce different bracket styles and colors. Simple instructions are given in the redlined User Modification Area of the macro's code. HOW TO USE THE MACRO OPTIONAL: Set the desired type of table (left bracket only, right bracket only, or both left and right bracket), the width of the "bracket," and several other options in the redlined User Modification Area. By default the width of brackets is set to 0.067 inches wide (0.17cm), which is the typical minimum width of a table column when created manually; you can set it to more (or even slightly less) than this amount. [Metric users can change the default setting for the bracket width from inches to centimeters.] When you are finished making changes, click Save & Compile on the macro toolbar. PLAY THE MACRO (with Tools, Macro, Play or <Alt+F10>) in a test document with various left and right page margin settings to see how it works. You can undo things with Edit, undo or <Ctrl+Z>.
If you select text before playing the macro, it will be inserted (with cut and paste) into the table automatically. If you don't select text, the macro will create a table at the current cursor location, and you can then copy (or type) text into the table. The table will expand downward as needed to accommodate your text. Page margins are automatically adjusted just before the table begins and then restored to their previous values just after the table ends. Thus you can use the macro regardless of the page margins in effect at that point. TIPS
KNOWN RESTRICTIONS AND LIMITATIONS
|