1 Introduction
2 Macros
3 Typesetting
4 Example
5 Hints
6 Examples
7 Webmaking

FunnelWeb Tutorial Manual

3.6 Adding A Header Page

FunnelWeb provides a few typesetter-independent typesetting constructs which are specifically designed for the construction of header pages. These constructs are usually best placed at the top of your input file, but can be placed anywhere the document if desired to create header pages right through. The two main restrictions on these constructs is that the @t must start at the start of a line (which cannot contain comments), and that the constructs cannot appear inside a macro definition. Here is what the top of an input file might look like:

@t vskip 40 mm
@t title titlefont centre "Hairy Wombat"
@t title titlefont centre "Simulation"
@t vskip 10 mm
@t title smalltitlefont centre "A Program in Six Parts"
@t title smalltitlefont centre "Simulating the Life of"
@t title smalltitlefont centre "Some Hairy Wombats"
@t vskip 20 mm
@t title normalfont left "By Zqitzypba Ypongslrzz"
@t new_page
@t table_of_contents
@t new_page

The @t at the start of each line indicates that each entire line is a typesetter directive. The vskip directive instructs FunnelWeb to skip some vertical space (measured in millimetres). The title directive instructs FunnelWeb to position a string of text on a single line of its own. Options are provided for font and alignment. The first word after title is the font which can be one of (in decreasing order of size) titlefont, smalltitlefont, and normalfont. The second word after title is the desired alignment of the text. The options here are left, right, and centre. The new_page directive instructs FunnelWeb to skip to a new page. Finally, the table_of_contents directive instructs FunnelWeb to insert a table of contents at that point in the text.

Prev Up Next

Webmaster    Copyright © Ross N. Williams 1992,1999. All rights reserved.