Note: Z-Write's headers and footers always print centered within the top and bottom margins you've selected, so make sure you leave enough room for them to fit!
While the header and footer text is limited to one line and one style of attributes (font, size, color, etc.), you have three alignment options. By default Z-Write flushes your text to the left. If you press the Tab key, Z-Write will type in <TAB> within the text line. This is a special code that Z-Write uses so you can see you've typed a tab (since tabs are invisible). Just like tabs in a regular word processor can align text in various ways, these special header/footer tabs will align your text.
The first bit of text you type is flushed left. After the first <TAB>, however, the next bit is centered. After another <TAB>, the third bit is flushed right. This allows you to easily create a header with some text on the left, some centered, and some aligned on the right! If you wish your header to be only flushed right or centered, simply enter the appropriate number of <TAB>s (one for centering, two for flushed right) and no text before them. (See the examples below for more.)
Z-Write's headers and footers also support print variables. These are very cool tags that allow you to insert special information that isn't known until print time (like the name of the current Section being printed, or the length of the document). The following variables are supported (which are replaced at print time):
#d (print date)
#t (print time)
#p (current page number)
## (total pages being printed)
#s (name of the current Section)
You can type these codes manually, or you can use the handy popup menu in the Edit Header/Footer dialog box. The following are some examples of headers/footers:
Example 1: The Great Novel<TAB>#s<TAB>#d
Prints like this: The Great Novel Chapter One 10/04/99
Example 2: <TAB><TAB>Page #p of ##
Prints like this: Page 7 of 29
Note that the Total Pages code is the total of pages being currently printed, not necessarily the length of your entire document. If you're only printing one Section, it's the length of that Section.
As you type or change settings within your header or footer, the result is graphically previewed within the dialog box.