# 3  Sections

The command `\title` may be used to title the entire document.

```\title{The Odyssey}
```

You can use `\\` to insert linebreaks in a multiline `\title`.

If you wish a different ``external'' title for the Web document, use `\externaltitle`. TeX will ignore `\externaltitle`.

TeX2page recognizes the following sectioning commands: `\section`, `\subsection`, `\subsubsection`, `\paragraph`, and `\subparagraph`. Usage:

```\section{The Princess at the River}
```

The sectioning commands are numbered, and can be cross-referenced using labels (sec 5). Unnumbered sections can created by affixing ``*`' to the sectioning command, eg,

```\section*{The Princess at the River}
```

The section number is a dotted number that reflects the section's depth. Eg, the second `\subsubsection` in the fourth `\subsection` of the third `\section` is numbered ``3.4.2''.

TeX2page recognizes subsections deeper than `\subparagraph` (depth = 5), although it does not provide the `\sub...subsection` or `\sub...paragraph` macro at these depths. To specify a section at depth `n`, use `\sectiond{n}`. Thus, `\subsection` is merely a convenient abbreviation for `\sectiond{2}`.

The command `\chapter` can also be used, and is useful for book-length documents. Following LaTeX convention, `\chapter`s are considered to be at depth 0. `\chapter` causes a page break (sec 3.1) and typesets the header more prominently than `\section`. `\chapter*` produces unnumbered chapter headings.

The command `\appendix` causes subsequent top-level (ie, depth = 0 if `\chapter`s are used, depth = 1 otherwise) headings to be identified alphabetically rather than numerically.

## 3.1  Producing several HTML pages

Typically, TeX2page produces a single HTML page for the entire document. There are a couple of exceptions: The `\chapter` command will start a new HTML page. For some documents, you may want to split the document into pages at your own discretion. As in TeX, use the commands `\eject`, `\supereject`, or `\dosupereject` to force a page break.6 LaTeX users can additionally use `\pagebreak`, `\newpage`, `\clearpage`, `\cleardoublepage`. Each of the resulting pages has a navigation bar at the top and at the bottom that let you travel quickly to the first, previous, or next page.

6 It is advisable to place a `\vfill` before `\eject` so the DVI document doesn't cause the pre-`\eject` text to increase its interparagraph space unsightlily in order to fill the physical page.