
%
% Mark Allman
% mallman@cs.ohiou.edu
% Ohio University Computer Science
% Last Updated: Tue Apr  9, 1996
%
% LaTeX Sample
%

\documentstyle [12pt]{article}

\oddsidemargin  0.0in
\topmargin      -0.4in
\headheight     0.2in
\headsep        0.15in
\textheight     9in
\textwidth      6.5in
\topskip        0.0in
\footheight     0.1in
\footskip       0.15in
\marginparwidth 0in
\marginparsep   0in

\newcommand{\dspace}{\baselineskip 25 pt}	% double spacing command
\newcommand{\sspace}{\baselineskip 14 pt}	% single spacing command

\begin{document}
\pagestyle{empty}

Paragraphs in LaTeX look something like this.  The input does not
need to be formatted in any way (i.e., indenting).  LaTeX will do it
all for you.  Use a blank line to seperate paragraphs, like this...

Here we are in a new paragraph.  Ain't that spiffy?  If you need to
break a line off suddenly, you can do this \\
And, then start on the next line.  \\
\indent If the next line should be indented, then this will do the
trick. 

\dspace

\noindent This paragraph is double spaced.  You will also notice the
command at the beginning of this paragraph to force LaTeX not to
indent the first line.  The next command will switch us back to
single spacing.

\sspace

\bigskip

Notice that the above command skips some space.  There is also a
``medskip'' and a ``smallskip'' command for skipping less space.  If
you want to skip a certain amount of space, use something like this:

\vspace{1.0in}

\begin{center}
Here is how we \\
center text!
\end{center}

\noindent You can also make text {\bf bold}, {\it italics} or {\tt type}.

\begin{verbatim}
You can tell LaTeX to keep its hands off your text like this. 
Then, spacing, like            this works, where normally LaTeX 
would remove all the above space.  This is handy for things like 
program segments.
\end{verbatim}

\noindent We can make several different kinds of lists.  The first is a
numbered list:

\begin{enumerate}
\item First Item
\item Second Item
\item Third Item
\end{enumerate}

\noindent And, we also have a bulleted list available:

\begin{itemize}
\item First Item
\item Second Item
\item Third Item
\end{itemize}

\noindent There are other lists, but you will have to look those up on your
own.  

\noindent You can start a new page any time you like, like this:

\newpage

\noindent There are several font sizes, as follows:

\bigskip

\noindent {\small small} \\
\noindent {\large large} \\
\noindent {\Large Large} \\
\noindent {\LARGE LARGE} \\
\noindent {\huge huge} \\
\noindent {\Huge Huge}

\bigskip

\noindent The last item to discuss is tables.  They are defined as follows:

\begin{tabbing}
xxxxxxxxxxxxxxxxx \= xxxxxxxxxxxxxx \= \kill
hello \> world \> ! \\
LaTeX \> is \> FUN!
\end{tabbing}

\bigskip

\noindent {\bf \large Enjoy LaTeX!}
\end{document}
