PS TEXT FORMAT Reference Manual
Overview of TFORM Capabilities
11387 Tandem Computers Incorporated 2–27
Customizing Your Text To achieve such effects as boldface, overstrike, subscript, underline, and so
on—where the text requiring the special treatment is not necessarily keyed
to whole lines—TFORM provides a number of special control commands
called escape sequences. An escape sequence is a backslash (or whatever
character you are using as your trigger character), followed by a keyword
naming the operation, an open parenthesis, your text, a second trigger, and
a closing parenthesis.
Escape sequences look like commands in that they begin with trigger
characters, but they differ in that they do not need to occur at the beginning
of a line, that the text they affect can extend over several lines, and that they
use a special set of characters to enclose the text receiving the special
treatment. Here are some examples:
1. If you want to enclose your text in boldface, type:
\BOLD(
your text
\)
TFORM recognizes the first backslash as signaling an escape sequence.
When it finds “BOLD,”it sets the text within the parentheses in
boldface. The second backslash character signals TFORM that the end
of the sequence is coming up; the second parenthesis defines the end of
the escape sequence.
2. If you want to print the underscore character under every character
(including blanks) in a portion of your text, type:
\UNDERLINE (
your text
\)
3. If you want to overprint nonblank characters in your text with an
overstrike character, type:
\OVERSTRIKE (
your text
\)
By default, the overstrike character is a hyphen; you can change this
character to another with the DEFINE OVERSTRIKE command.