\documentclass{article}
\usepackage{graphicx}


\title{Put title here}
\author{Put author's name here}
\date{\today (can change the date if you want)}







% The region above (i..e, before "\begin{document}") is called the "preamble"
\begin{document}

\maketitle

\section{Put a section title here}
Hi. This is the first paragraph
in the first section.
Notice extra how spaces      and
line breaks
do not show in the final document (after it's typeset).

But a blank line tells the software to start a new paragraph (like this one).
For some symbols, to produce them you just type them; e.g.:

\begin{center}
( ) [ ] @ * . ; : , ? !   '  " `
\end{center}
but some symbols need to be preceded by a backslash:
\begin{center}
\$ \# \%
\end{center}
because without a backslash
they tell the Latex software to \emph{do} something!
(I don't remember how to produce the backslash symbol itself.
I need to look it up.)

Latex automatically puts extra space after a period
that marks the end of a sentence, like right here. See?
But what if we want to use a period that isn't ending a sentence,
as in etc. and other abbreviations?
Then we put a backslash space after the period.
For example, this period.\  doesn't have extra space after it.




\section{Change this section title too}

Let's learn how to make math symbols.
All math symbols must be surrounded by dollar-signs:
$ f(x) = x^2$; or ``double-dolloar-signs'':
$$f(x) = x^2$$

\subsection{Binary relations}
These are binary relations. Do you know why they're called that?

\begin{center}
$ =$
$ < $
$>$
$\le$
$ \ge$
\end{center}

\subsection{Sub- and super-scripts}
Examples:
$x^2$, $x_2$.
But ook at these: $x_12$ versus $x_{12}$; and
$x^ab$ versus $x^{ab}$.







\section{Environments: enumerate, itemize, center, verbatim, quote, etc.}


Here's a numbered list.
\begin{enumerate}
\item
This is the first item.
\item
This is the 2nd one.
\item
Now go ahead and add an item before the first item and see what happens.
\end{enumerate}
Now here's a bulleted list.
\begin{itemize}
\item
This is the first item.
\item
This is the 2nd one.
\end{itemize}
You can nest ``numbered'' lists inside others:
\begin{enumerate} %1 begin
\item
This is the first item.
\begin{enumerate}  %2 begin
\item
This is a list nested inside another.
Indentation in the output file is automatic.
\item
blah blah
\begin{enumerate} %3 begin
\item
This is a list nested inside a list nested inside a list.
\item
This is the 2nd item.
\item
blah blah
\end{enumerate} %3 end
\item
blah blah
\end{enumerate} %2 end
\item
This is the 2nd one.
\item
blah.
\end{enumerate} %1 end
%
%
Here's another environment:

\begin{verbatim}
All characters inside a verbatim environment show as themselves:
` `` ~ ! @ # $ % ^ & * ( ) _ { } | /
Spacing is followed verbatim also:
1 2  3   4    5     .
\end{verbatim}


\subsection{Dashes and hyphens}
They come in three sizes:
- -- ---





\section{To discuss in class}

\begin{verbatim}
\documentclass[12pt]{report}
\documentclass[twocolumn,12pt]{report}
double spacing
\mbox
\tiny
\newcommand (macros)
\include
theorems
$  vs.  $$  vs. \(   vs. \[
\displaymath
spacing in math mode
The first paragraph in each section is not indented!

\section vs. \section*

Figures:
\usepackage{graphicx}

\end{verbatim}





\section{Learning more}

If you want to learn \LaTeX properly, I \emph{highly} recommend:
\begin{quote}
LaTeX: A Document Preparation System (2nd Edition), by Leslie Lamport
\end{quote}




%\begin{figure}[h]
%\includegraphics[scale=1]{Book-Lamport.pdf}
%\end{figure}








\newpage






Figure~\ref{figK7F} has been scaled down in size by a factor of 0.7 so that it fits better.



\begin{figure}[ht]
\begin{center}
\includegraphics[scale=0.7]{figK7Family.pdf}
\caption{The $K_7$ family.}
\label{figK7F}
\end{center}
\end{figure}


\end{document}
