%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                         IMPORTANT!!!                       %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Everything you need to edit comes after the line that says %%
%% "\begin{document}" below. Do not edit anything above that  %%
%% line... unless you're familiar with LaTeX and you know     %%
%% what you're doing.                                         %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[11pt,fleqn]{article}

\usepackage[latin1]{inputenc}
\usepackage{enumerate}
\usepackage[hang,flushmargin]{footmisc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}

\theoremstyle{definition}

\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}

\setlength{\oddsidemargin}{0px}
\setlength{\textwidth}{460px}
\setlength{\voffset}{-1.5cm}
\setlength{\textheight}{20cm}
\setlength{\parindent}{0px}
\setlength{\parskip}{10pt}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\begin{center}
{\Huge
\LaTeX{} class 1
}\\
Clive Newstead, Monday 10th July 2017
\end{center}

\section{Text mode}

Typing regular text in \LaTeX{} is very simple: you just type it! All the formatting is done for you. Some parts of it take a little bit of getting used to, such as `quote marks'. To start a new paragraph, just leave a blank line and start typing.

Just like this!

\subsection{Basic formatting}
Text can be \textbf{bold} or \textit{italic} or \underline{underlined} or \texttt{monospace} or \textsf{sans-serif}.

By default it is aligned to the left.

\begin{center}
It can be aligned to the center.
\end{center}

\begin{flushright}
It can also be aligned to the right.
\end{flushright}

\subsection{Sections and subsections}

A good mathematical paper is divided into sections, which often contain subsections and, in many cases, `subsubsections'. These are numbered by default, but you can remove the numbering using an asterisk (\texttt{*}).

\section*{Section with no enumeration}

For example, this section has no enumeration.

\subsection*{Subsection with no enumeration}

Neither does this subsection.

\section{New section}

But this section does!

\subsection{New subsection}

And so does this subsection!

Next time, we'll learn about typesetting mathematical notation using \textit{math mode}.

\end{document}