Commands, Declarations and Environments (example2.tex)
\documentstyle[12pt]{article}
\pagestyle{empty} %omit the page numbers
\title{A Sample Document}
\author{Robert Miner}
\begin{document}
\maketitle
\section{Commands}
This paragraph illustrates some ``commands''. Many
\LaTeX\ commands start with a \\ I mean $\backslash$ character.
Others involve 1--2
special characters that rarely appear in print. Natually\,,
this \underline{paragraph} is a bit contrived. \vspace{1 cm}
Some commands are {\it unusual} llama {\it unusual\/} llama, and
obscure. Others \today are pretty straightforward. An\"{o}ther l\'{a}rge
class of commands has to do with ac\c{c}ents. Still another important
class has to do with controlling page breaks. \newpage
\section{Declarations}
Many {\em declarations have to do with \Large typefaces}. You can
{\sc control} {\tiny the} {\Huge size} and {\sf font}. Declarations
all have a scope associated with them. The easiest way to mark a
scope is with the \{ and \} characters.
Another option is to use the {\tt $\backslash$begin\{{\it
environment}\}} and {\tt $\backslash$end\{{\it environment}\}}
commands.
\section{Environments}
\begin{itemize}
\item The {\em itemize} environment is for lists
\item The {\em quote} environment is for short quotes while the {\em
quotation} environment is for multi-paragraph quotes.
\begin{enumerate}
\item The {\em math} and {\em theorem} enviroments are important.
\item The {\em center} environment is particularly handy.
\end{enumerate}
\end{itemize}
\end{document}
Last modified: Tue Oct 31 14:54:17 1995