TGAL Manual

FOOT Command
TGAL Commands
2–22 060865 Tandem Computers Incorporated
FOOT Command Use the FOOT command to print the text you specify at the bottom of each page. The
text appears centered, on the second line following the last line designated for printing
text. You must give the FOOT command before the first line of text on the page where
you want the footing to first appear. To stop printing a foot, use the FOOT command
with a null string, i.e., \FOOT “ ”.
When you change the text in the FOOT command by giving a new FOOT command,
TGAL saves the old value. It saves up to eight values. When you give the FOOT
command alone, TGAL uses the previous value.
The syntax of the FOOT command is:
FOOT [ "
footing
" [ [
trigger
] TODAY ] ]
footing
is the text to be printed at the bottom of each page. Quotation marks are required.
trigger
is the trigger character, usually a backslash (\). This option is no longer necessary;
it has been retained for compatibility with previous versions of TGAL.
TODAY
specifies that today’s date is to be printed with the footing. If the format for the
date is not previously specified with a TODAY command, the format used is
mm/dd/yy (USA SHORT).
Considerations
The VERSION command looks for a match with the text of the FOOT command.
If the text specified in the VERSION command matches the text specified in the
FOOT command, the footing is printed at the bottom of the page. The VERSION
command only tries to match the text; it ignores the date supplied by the TODAY
option.
If you do not use this command, TGAL assumes:
FOOT" "
Example
This example shows using the FOOT command to print the footing on every page of a
document. With the TODAY option specified, the date on which you print your
document also appears. The two spaces at the end of the footing allow some space
between the footing and the date. If you enter:
\FOOT "TGAL Commands " TODAY