PS TEXT FORMAT Reference Manual

Overview of TFORM Capabilities
11387 Tandem Computers Incorporated 2–9
Justifying Text TFORM also lets you justify your text. If you want both the right and left
ends of formatted lines to align on their respective margins, use the SET
command to tell TFORM:
\SET JUSTIFY ON
When TFORM has completed regular formatting of a line, it starts adding
extra space—alternating left and right sides of the line and working inward
from the ends—until the line just fills the line width determined by
whatever margins are in effect.
With most printers, this means adding blanks between words. With the
5530 letter-quality printer, TFORM can “microjustify,” inserting tiny
microspaces between letters; when joining and justification are both on, the
adjustment is usually impossible to spot. Also with the 5530 printer,
TFORM can squeeze a line until it fits if it is slightly too long and would
otherwise have to be broken off and padded with spaces.
TFORM continues justifying until it finds a blank line, a page break, a
mandatory line break, the end of the file, or a SET command to turn
justifying off. This form of the SET command is:
\SET JUSTIFY OFF
Note With justification on and joining off, TFORM can’t take words from a following line to extend
a short line, so the amount of space added to that line can produce unacceptable results.
For this reason, you should ordinarily use joining and justification together.
If joining and justification are both in effect, a SET JOIN OFF command also turns off
justification. A subsequent SET JOIN ON command turns justification back on as well
(unless in the meantime you enter a SET JUSTIFY OFF command).