Before the document
definition, in the preamble, you must define the document class.
The document class implements a default set of formatting rules, typical for that "class" of document it represents, mostly like a "theme".
\documentclass[options]{classname}
A class can be furtherly customized by providing a comma-separated list of the following options:
10pt, 11pt, 12pt
a4paper, letterpaper, ...
draft
onecolumn, twocolumn
fleqn, leqno
oneside, twoside
openany, oneside, ...
Some of the default document classes are:
article
beamer
book
letter
proc
report
All default classes have a different preset of options and different default environments.
List of short examples containing titles and some paragraphs:
List of classes and templates that may be useful in
real-life™ scenarios:
ModernCV
:AwesomeCV
: