Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate |
Barry MacDonnell's Toolbox for WordPerfect |
||
Macros, tips, and
templates for Corel® WordPerfect® for Windows® |
Page updated Apr 21, 2024 |
|
WordPerfect
Tips Main tips page | Browse more tips |
||||||||||||||
Mixing text justification (left-center-right) on the same line How to use your menu, keyboard, or mouse to align words or short phrases at up to three separate locations on a single line, between the page margins
Headers, Footers, and Watermarks - how to start, stop, suppress, edit, change, replace, delay, overlay, and remove them (with links to page numbering topics) Using two footers simultaneously (one for page
number, the other for separator line and filename, etc.) so that items
do not overlap
|
Overview WordPerfect users sometimes have difficulty figuring out how to produce text on a single line that is left aligned, centered, and flush right, something like this:
• You probably will find that just one or two of the methods below will work for most of your needs. Review them to see which might be best for you. • Most of the methods below primarily apply to short blocks of text on a single line in the document. (However, all of them can be used to create or simulate a single line with mixed justiifcation.) • For longer blocks of text or multi-line items or paragraphs: - Method 5 uses a
three-column table with Table, Create (with or without cell borders) to divide the
material. - Method 6 uses 3 columns with Format, Columns to divide the material. [While you can
break up longer or multi-line items into short blocks of text, each
block ending with a hard return (<Enter> key), and then justify
them as you would a single line of short phrases (see methods 1-4
below), the 3-column table or column methods should be easier to set up
and maintain during editing when used with long items.] • The first 4 methods below are different from
using Format, Justification (or their
keyboard shortcut and property bar counterparts), which will apply
justification to a selection of text, or from the cursor onward (if no
text was selected).
In fact, these more customary paragraph Justification codes
can conflict with the first three methods explained below (which "push"
individual text items into a specific location on the line), so if the
methods here do not appear to work, check Reveal Codes for other
Format, Justification codes ([Just] that might be causing a conflict).
• All methods work both in the document's body text area and inside headers, footers, and text boxes. The methods are - Method 1: Using the Format menu
Method 2: Use keyboard shortcuts Method 3: Use the mouse Method 4: Use the Shadow Cursor Method 5: Use a table Method 6: Use columns Method 1: Using the Format menu This method assumes you are using the <WordPerfect Menu>; otherwise, these menu choices will not appear. If necessary, right-click on the top menu bar and select the <WordPerfect Menu> choice from the list that appears. [Note that the other methods below will usually work no matter which menu is active.] Compared to the next two methods below -- using the keyboard or mouse -- using the Format menu takes a few extra mouse clicks, but it might be easier to remember later (i.e, Format, Line). Method 2: Use keyboard shortcuts This method assumes you are using a <WPWin Keyboard> or a <WPDOS Keyboard>; otherwise, these keyboard shortcut choices will not be available. If necessary, right-click on the top menu bar, choose Settings, then choose the Keyboards tab to select a WordPerfect keyboard definition from the list that appears. [Note: You can customize your current keyboard definition anytime to include (i.e., assign) these choices to it, as noted in the tip below.]
☼ You can customize your keyboard to
assign (or reassign) these and many other features to different
shortcut key combinations, or to new shortcuts if you don't currently have them on your keyboard. See Assigning a
macro, feature, program, or string of keystrokes to a key or key
combination (i.e., a "shortcut" or "hot key"). The above items are found on the Keyboard Shortcuts dialog, under the "Feature categories" drop list Format category
Method 3: Use the mouse Do not select any text. ☼ Clicking Center or Flush Right twice in succession will insert [....]dot leaders. (You can also use this tip if you use the Format menu or keyboard shortcuts instead of the mouse.) You can simulate center-justified text and flush right text by using the Shadow Cursor, which simply inserts tabs (and hard returns, if needed) up to the Shadow Cursor's location -- the point in the document where you left-clicked while the Shadow Cursor is turned on. TipsMethod 5: Use a table You can mix text justification on a single "line" by creating a borderless two- or three-column, one-row table: 1. On a new line, click Table, Create.Method 6: Use 3 columns You can mix text justification on a single "line" with three short columns, each containing the appropriate text and with each column justified left, center, and flush right:
[Tip: You can use this column method for both short phrases (as shown above) and for multi-line blocks of text. For the latter, and depending on the amount and purpose of the text, you can justify the columns Left-Center-Right, or make them all left-justified or center-justified.] 1. On a new line in the document click Format, Columns. 2. Set the Number of columns to "3" and click OK. Note: If there was any following text in the document it is now in column format. This will be corrected in the next step. 3. Click inside the first column at the very top before any text and format codes (if any appears there) and press <Ctrl+Enter> twice to move the cursor and
any existing text rightwards. The cursor should now be positioned at
the very top of the third column before any text in that column. 4. Click Format, Columns, Discontinue to stop further column formatting. The cursor should move itself outside the columns (at which point another [Col Def] code -- the "off" code of the pair of column codes -- should appear in Reveal Codes). 5. You
should now have 3 empty, 1-line columns on screen. (Optional:
Adjust the space between the columns to a minimum dimension: Just
double click on the first [Col Def] code in Reveal Codes to open the
Columns editor.) 6. Enter your new text in each column. Just click in a column with your mouse -- or if already in a column you can use the left or right arrow keys to move to a different column. 7. Justify the center and right columns' text: (a) Click in the center column before any text and click Format, Justification, Center; then - (b) click in the right column before any text and click Format, Justification, Right. Tip:
Instead of using Format, Justification, Center (or Right) you could use
the same format menu choices or shortcut keys described in Method 1 and Method 2 above. For "single line" text they should give the same results when used in such short columns. |
|||||||||||||
Footnote 1 .....Dot leaders place a series of periods (full stops) before the desired text, or up to the end of the current line or table cell. (See references to them in the above sections here and here and here.) But you don't need to use "dots"
-- you can change them to any character or symbol, and even add extra
spaces between them.
This is done using the somewhat unintuitive method below.
Note that the change is a per-document setting so other regular documents should not be affected. (But... if you use the Master/Subdocument feature, see here for tips on how subdocuments can be affected by changed format codes in one or more related subdocuments.) * * *
Step 1. Place the cursor where you want the new dot leader characters to take effect (e.g., at the very top of the document).
Note that the new leader characters will automatically replace any existing leader characters further down in the document.
Step 2. Click Format, Line, Tab set. This opens the Tab Set dialog. (Yes, that's correct!) Step 3. Type a new keyboard character in the Dot leader character box to replace whatever is in that box. You can also use a character symbol inserted from the symbols dialog (Ctrl+W). The box accepts only a single character or symbol. Step 4. (Optional:) Type or select a number in the Character spacing box (a.k.a, spaces between characters). (Default=1.) Note that the Character to align on box has no effect on these changes: it is used with decimal tab stops.
Step 5. Click Set, then Close. This inserts a new [Dot Lead Char] code in the document at the cursor location. It should appear before (above or to the left side of) the [...Hd Flush Right] code in Reveal Codes. * * *
Note about editing the Dot leader character box (Step 3 above)
You
cannot simply delete the contents in the Dot leader character box. That small box must have something in it,
even just a single space character -- but in which case a space character will cause
the leading dots (or other character or symbol you set in Step 3) to disappear at that location and also further in that document where any dot leadrs are used.
Maybe that's what you want -- but if not, try one of these solutions: You can either [A] delete that [Dot Lead Char] code in Reveal Codes, or [B] double-click on that code to open the Tab Set dialog (as shown above), where you can change the space character in the Dot leader character box back to a "dot" or other visible character or symbol. Tips
• Make it quick and easy to use:
If you carefully select just that new code(s) in Reveal Codes you can turn this method into a QuickWord
for quick and easy access in the future while in any document.
Typically (but not necessarily) you would use the QuckWord at the very top of the document so that any existing dot leaders will be instantly converted to leaders with the new character. • Quick changes: If you double-click on that [Dot Lead Char] code you can change the leader character again. (But see Note above.)
• Create a solid underline from (or to) a margin: If you set the Dot leader character to an underscore (_) (step #3 above) and set the Spaces between characters to zero (step #4), you will produce a solid
underline instead of a dotted line.
Underlining to a
margin is useful with (e.g.) section Headings to set them apart from
surrounding text -- sometimes done using Format, Line, Flush Right with
Dot Leaders to produce a dotted line. [For an alternative method of underlining to the margin using a solid line see Underline2Margin.wcm -- one of 3 macros on the Underlin.html page.]
Footnote 2 PC Magazine (Dec. 30, 2003, pp.79-80) outlined the Microsoft Word method to left- and right-justify text on the same line in their User to User column: [Q:] How do I
right-justify part of line in Microsoft Word? In a certain section of a
document, I want to list items at the left margin and issue dates on
the same line at the right margin. In WordPerfect, there is a function
that automatically sets the cursor to stay at the right margin, thus
assuring that the text was aligned at the right margin. Is there an
equivalent option in Word?
[A:] If the ruler isn't visible at the top of the typing area, select Ruler from the View menu. Create a tab stop by clicking on Format | Tabs. In the "Tab stop position" field, enter the inch number on the ruler (6, for example) where the right margin begins. Check the Alignment option titled Right, select a Leader character if you wish, and click on OK. This will result in the effect you want. . . . Clearly, this is a lot more complicated than the method used by WordPerfect. |