TGAL Manual

JUSTIFY Command
TGAL Commands
2–34 060865 Tandem Computers Incorporated
JUSTIFY Command Use the JUSTIFY ON command to space words to meet the right margin exactly.
Anything that causes a break in the text indicates the end of a paragraph. A break can
be caused by a blank line or any TGAL command.
The last line of the paragraph is not justified. A text line immediately preceding a
JUSTIFY OFF command is never justified.
Add an ALWAYS option to the JUSTIFY ON command when you use justification to
spread all lines on a page, including the line preceding the JUSTIFY OFF command.
An example of this is justifying the entries in a table of contents.
The syntax of the JUSTIFY command is:
JUSTIFY
ON [ ALWAYS ]
OFF
ON
specifies that all lines between this command and the next JUSTIFY OFF command
are right justified.
OFF
specifies that lines are no longer to be justified.
ALWAYS
specifies that all lines, including the text line just preceding the JUSTIFY OFF
command, are to be justified.
Considerations
The CENTER, BOX, and OV commands suppress the justifying of lines.
If you do not use this command, TGAL assumes:
JUSTIFY OFF
Examples
These examples show how to use of the JUSTIFY command and what effect it has on
the BOX, CENTER, and OV commands.
1. This example shows only the effect of the JUSTIFY command. It assumes that
lines are not to be joined.
\JUSTIFY ON;
OUTLEN 68
The positive, integer-valued parameters r (Eq. 12) and s
(Eq. 13) are the base and the number of significant
digits. Replacing these parameters with the values from
Eq. 8 yields the following: