Summary
This class teaches how to give a document its framework: the title data and the command that typesets them, the abstract and the classes that provide it, the seven sectioning levels with their numbering and their presence in the table of contents, the table of contents and the lists of figures and of tables, the appendices and, in books, the division into front matter, main matter and back matter, with their two page numberings. It explains which levels exist in each class and how the counters secnumdepth and tocdepth decide, separately, what is numbered and what enters the table of contents. It ends with the typical structures of a research article, a thesis and a philosophical essay.
Learning objectives
- Typeset the title data of a document, with several authors and their notes, and its abstract, knowing in which classes the
abstractenvironment exists and what to do where it does not. - Choose the right sectioning level in each class and predict the numbering and the table of contents that a source produces, including the effects of
secnumdepth, oftocdepthand of the starred forms. - Explain why the table of contents and the lists need a second compilation and why a single compilation after a change gives no warning.
- Organise the appendices and, in a book, the front matter, the main matter and the back matter, predict their page and chapter numbering, and reproduce it in a class that does not offer those commands.
- Build the skeleton of a research article, a thesis and an essay according to the conventions of each genre.
The title data
The title of a document is typeset in two stages. First its data are stored, with three commands that are usually written in the preamble: \title stores the title, \author the author or authors and \date the date. Then, in the body, \maketitle typesets them. As the class on the anatomy of a document showed, the first three only store and the last one typesets; it follows that \maketitle must come after the data, because it typesets whatever it finds stored at that moment. If it finds no title, it stops with the error “! LaTeX Error: No \title given.”.
When the document has several authors, they are separated inside \author with \and, and each is typeset in a column of its own, side by side. The command \thanks, already introduced in the class on notes, quotations and verse, attaches to an author or to the title a note marked with a symbol instead of a number, suitable for an affiliation or an acknowledgement: in English, the first note gets an asterisk, the second a dagger (†), the third a double dagger (‡), and so on. If \date is omitted, the date of compilation is typeset, in the language of the document; with \date{}, none; with any other argument, that text.
In article, the title is typeset at the top of the first page, and the text continues below it. In report and in book, it takes a page of its own, without a page number. The class on document classes and page layout explains how to change that behaviour.
Loading the content…
Completed
Sign in to save your progress