15. LaTeX Title/Section Commands and Tables of Contents
Titles
To add a title, just after begin{document}, include something like
|
\title{Introduction to \LaTeX}
\author{Simon Hood}
\date{14th February 2001}
\maketitle
|
- The format depends on the document style.
Sections
LaTex makes it easy to divide a document into (chapters and) sections,
using
|
\chapter \subsection \paragraph
\section \subsubsection \subparagraph
|
- LaTeX takes care of the section numbering.
- \paragraph and \subparagraph are really
"\subsubsubsection" and
"\subsubsubsubsection", not paragraphs.
- Including the command
will cause a table of contents to be included!
(You may need to compile/process twice.)