| Barry MacDonnell's
Toolbox for WordPerfect
Macros, tips, and
templates for Corel® WordPerfect® for Windows®
| Page updated Apr 12, 2020
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
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:
Doing this using WordPerfect's format tools is easy, but it might not be obvious -- especially to Microsoft Word users. Here is an abridged exchange from one of the Corel newsgroups that illustrates this common difficulty:
Some important points -
• You probably will find that just one or two of the methods below will work for most of your needs. Scan 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.)
- Method 5 uses a
three-column table with Table, Create (with or without cell borders) to divide the
- 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
This procedure 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 procedures below will usually work no matter which menu is active.]
Compared to the next two procedures 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).
This procedure 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 and select a WordPerfect keyboard from the list that appears.
☼ You can customize your keyboard to
assign (or reassign) these and many other features to different
shortcut key combinations. 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
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:
You can use this method for both short phrases and for multi-line blocks of text.
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).
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
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.
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. They should give the same results when used in columns.
.....Dot leaders place a series of periods (full stops) before the desired text (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 a somewhat unintuitive method:
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.
2. Click Format, Line, Tab set. This opens the Tab Set dialog. (Yes, that's correct!)
3.Type a new keyboard character in the Dot leader character box. (Tip: You can also use a character symbol inserted from the symbols dialog (Ctrl+W).)
4.(Optional:) Type or select a number in the Character spacing box (a.k.a, spaces between characters). (Default=1.)
5.Click Set, then Close.
This inserts a new [Dot Lead Char] code in the document at the cursor location.
• 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 [code] you can change the leader character again.
• 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.]
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.