PS TEXT FORMAT Reference Manual
Introduction to TFORM
3–122 11387 Tandem Computers Incorporated
SET HYPHENS Option
You use the SET HYPHENS command to control hyphenation in your
output.
SET HYPHENS ON
SET HYPHENS ON turns on automatic hyphenation, which
remains in effect until TFORM encounters a SET HYPHENS OFF
command. The different features that you can choose to customize
SET HYPHENS ON are the following
SET HYPHENS ON
int
specifies that
int
is the smallest
number of characters that can be broken off from the rest of the
word. The default is 3.
SET HYPHENS ON ENGLISH
int
states that the hyphenation
algorithm is to take into account the rules governing syllabication
of English words.
SET HYPHENS ON ANYWHERE
int
states that hyphenation is
to be based strictly on character count, with no attempt to
identify syllables.
If you omit both ENGLISH and ANYWHERE, TFORM uses
ENGLISH rules.
SET HYPHENS OFF
SET HYPHENS OFF turns off automatic hyphenation. This command is
also the default condition.
Occasionally you might find a word hyphenated incorrectly due to
either of two reasons (1) hyphenation is done by an algorithm and so
can’t be 100 percent correct at all times (given the many spelling
exceptions in the English language), or (2) TFORM doesn’t attempt
hyphenation on words that contain capital letters or nonalphabetic
characters. You can remedy these conditions, or establish your own
hyphenation rules for non-English words, by using the “discretionary
hyphen” metacharacter. This feature is described in Section 4 of this
manual.