\documentclass{article}

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

\begin{document}

\maketitle

\section{Put a section title here}
Hi. This is the first paragraph 
in the first section. 
Notice how extra spaces      and 
line breaks 
do not show in the final document 
(i.e., the document that the software produces from what you type in).

But a blank line tells the software to start a new paragraph (like this paragraph).
I like to break up my lines 
to make them look short in the source file 
(i.e., the file in which you type up your document,
not the one the software produces).
Why? Because it's easier for me to
edit the file later on.
But this is just a matter of personal taste; many people don't break up their lines, like this line (they hit return only for new paragraphs). Try changing the width of the source file window; you'll see how this is one long ``unbroken'' line. (Did you notice how the quotation marks are special in \LaTeX?)


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.)




\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-dollor-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 look at these: $x_12$ versus $x_{12}$; and
$x^ab$ versus $x^{ab}$.

\section{Now practice}
Now, in this section, type up one of the problems 
that appears in the comps exam.
Try to make it look just like it does on the exam.

\end{document}