Tutorial Developer Reference 1 Introduction 2 Interface 3 Scanner 4 Parser 5 Analyser 6 Tangle 7 Weave 8 Shell 9 Commands 10 Glossary 11 References SEARCH

3.20 Title

The title pragma is a typesetting pragma with the following syntax.

    ftd_title = ts "title" s font s alignment text
    font      = "normalfont" | "titlefont" |
                "smalltitlefont"
    alignment = "left" | "centre" | "right"
    text      = """" { printable_char } """"

It's effect is to instruct Weave to insert a single line into the printed documentation containing the specified text set in the specified font and aligned in the specified manner. The double quotes delimiting the text are for show only; if you want to put a double quote in the string, you don't need to double them.

Here is an example of the pragma.

    @t title smalltitlefont centre "How to Flip a Bit"

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