<title>
The <title>
tag is quite ubiquitous within PreTeXt, and appears in three
distinct contexts:
A BibTitle
as an immediate child of <biblio>
;
a LinedTitle
as an immediate child of <article>
,
<book>
,<chapter>
, <part>
,
<section>
;
or a (generic) <title>
which appears as a child of many other tags.
Syntax
Variants
There are 3 variants of <title>
.
Examples
BibTitles
The title following a <biblio>
tag is italicized.
Division, Lined, and generic titles
The title of a division appears not only within the body of the text, but also as an entry in the Table of Contents and as a label for the browser tab when the corresponding web page is rendered.
When a title is too long for a Table of Contents entry, a
<shorttitle>
may be provided which will
render more compactly, and a <plaintitle>
may be given to
provide an even more compact version for the tab in a web browser.
In a PDF version of the document, the <plaintitle>
is ignored,
but the <shorttitle>
is honored.
Moreover, when a division title is particularly long, the author may choose to
use a LinedTitle
, that is using one of more <line>
tags to
specify the manner in which the title should be broken into
separate lines.
Note that division titles do not acquire an trailing period, but the generic title
of say a <theorem>
does.