TGAL Manual

Table of Contents
TGAL Examples
3–6 060865 Tandem Computers Incorporated
Table of Contents This example shows spacing and formatting for a table of contents. The following
TGAL commands are used:
TODAY LONG WORLD specifies the format for the date. To print today’s date in
the long, world format, you must first specify this format
with the TODAY command before attaching the TODAY
option with the FOOT, SUBHEAD, or HEAD command.
FOOT adds a footing to the page. In this example, the FOOT
command has a null string attached to it and only the date
appears in the line designated for the footing.
BLANK adds blanks between words. By inserting the BLANK
command character between words, you prevent unwanted
spaces between words when TGAL justifies a line. Look at
the crosshatch symbol (#) used in the example. This symbol
acts as an invisible letter; thus, the words it appears
between are not justified.
JUSTIFY ON ALWAYS specifies that all lines are to be justified until a JUSTIFY OFF
is encountered. The ALWAYS option specifies that even the
last line of text to be justified. Without the ALWAYS
option, the last line of text is not justified and appears flush
left.
OUTLEN controls the line length and thus sets the right margin at the
fiftieth character position.
POFF sets the left margin to begin at the tenth character position.
SECT controls page numbering. In this example, SECT is set to 0,
and only Roman numeral “iii” will appear.
SPACE adds 10 blank lines before the first line of text.
COMMENT allows you to write comments with your commands.