TGAL Manual

HEAD Command
TGAL Commands
2–24 060865 Tandem Computers Incorporated
HEAD Command Use the HEAD command to put the specified head at the top of each page until the
next HEAD command. You must put this command before the first line of text on the
page where the head first appears. To stop printing a head, use the HEAD command
with a null string, i.e., HEAD “ ”.
The syntax of the HEAD command is:
HEAD "
heading
" [ [
trigger
] TODAY ]
heading
is the text to be printed at the top 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 heading. If the format for the
date is not previously specified with a TODAY command, the format used is
mm/dd/yy (USA SHORT).
Considerations
With the HEAD command, the heading always prints on the third line above the
first line of text. The TOPMARGIN command does not affect the number of lines
between the heading and the text; it only increases the number of lines between
the top of the page and the heading.
The heading is right justified on a page. The ALT command causes the heading to
be left justified on even-numbered pages.
If you do not use this command, TGAL assumes:
HEAD " "
Example
This example shows using the HEAD command to print a heading at the top of every
page. If you enter:
\HEAD "Beginner's Practice File"