<pretext>

The <pretext> tag is the top-level tag of a document. It may contain <docinfo> and one of <article>, <book>, <letter>, or <memo>.

The self-closing <pretext/> tag maybe be used to typeset the PreTeXt logo.

Syntax

Variants

There are 2 variants of <pretext>.

Examples

The <pretext> Root Tag

<pretext>
    <docinfo>
        <title>My Document</title>
        <author>
            <person>
                <name>John Doe</name>
            </person>
        </author>
    </docinfo>
    <article>
        <section>
            <title>Introduction</title>
            <p>Hello, world!</p>
        </section>
    </article>
</pretext>