Default | Scope | Available in |
none | page | txtmus abc2svg abcm2ps |
Specify the text to be printed at the top or bottom of each page.
If %%header2
and/or %%footer2
are defined,
their lines go to the even pages.
There may be one or two lines in the header and footer commands.
To specify 2 lines, put the 2 characters "\n" (not a real 'newline')
as a separator in the command.
In each line, 3 areas may be defined: left, center and
right. These areas are separated by tabulations (real TABs,
or "\t") and may be empty (if the left area is empty,
double quote the string - see sample3.abc
for example).
The prefix '$' introduces a variable substitution:
%%dateformat
%%header "$P0 $P1"(there are 2 TABs between $P0 and $P1).
If the header or footer text begins with '-' (hyphen/minus),
it is not printed on the first page.
When the header begins with '-', the command %%header1
may
put a header on top of the first page.
With txtmus and abc2svg, the headers and footers are separated SVG elements. They can be selected in CSS by their class ("header" and "footer"). This may be useful in a browser context if you don't want these elements to be displayed on the screen.
txtmus / abc2svg documentation source author - page hosted by Free