A minimal input file looks like the following:
\documentclass{class} \begin{document} your text \end{document}
where the class is a valid document class for LaTeX. See Document classes, for details of the various document classes available locally.
You may include other LaTeX commands between the \documentclass
and the \begin{document}
commands (this area is called the
preamble).