12. LaTeX
- A macro package for (Plain) TeX.
- Uses document style --- determines how a document will be,
formatted (how it will look).
- Many styles available: research papers, books,
"slide"-presentations, letters,...
Structure:
|
\documentclass[11pt]{article} % Select style.
\begin{document} % Begin document.
.
. % Text of document.
.
\end{document} % End document.
|
Document Styles and Style Options
There are several standard document styles available in LaTeX including:
- article
-
For short documents and articles for publication (no chapters; title at
top of first page).
- report
-
For longer documents (chapters available; title on own page).
- book
-
Layout adjusted for verso (even, left-hand) and recto (odd, right-hand).
- letter
-
Address, signature, etc.
- 11pt, 12pt
-
Prints document using 11pt or 12pt running text (default is 10pt).
- twoside
-
Layout adjusted as book.
- twocolumn
-
Two columns a page.
- titlepage
-
Causes title to be on its own page.