### Sample LaTeX file

The name of this file is texintro.tex.
\documentclass[10pt,oneside]{article}
\usepackage{color,graphics}
\usepackage{verbatim}
\usepackage{amsmath}    % need for subequations

\setlength{\baselineskip}{16.0pt}    % 16 pt usual spacing between lines
\begin{comment}
\pagestyle{empty} % use if do not want page numbers
\end{comment}

\begin{document}

\begin{center}
Introduction to \LaTeX \\   % \\ = new line
Harvey Gould \\
January 30, 2001
\end{center}

\section{Introduction}
\TeX\ (a special symbol) looks more difficult than it
really is. It is almost as easy as $\pi$. See how easy it is to
make special symbols such as $\alpha$,
$\beta$, $\gamma$,
$\delta$, $\sin x$, $\hbar$, $\lambda$, $\ldots$ We also can make
subscripts
$A_{x}$, $A_{xy}$ and superscripts, $e^x$, $e^{x^2}$, and
$e^{a^b}$. We will use \LaTeX, which is based on \TeX\ and has
many higher-level commands (macros) for formatting, making
tables, etc.

We just made a new paragraph. Extra lines and spaces make no
difference. Note that all formulae are enclosed by
\beta, \gamma, \Gamma,
\delta,\Delta,
\epsilon, \zeta, \eta, \theta, \Theta, \kappa,
\lambda, \Lambda, \mu, \nu,
\xi, \Xi,
\pi, \Pi,
\rho,
\sigma,
\tau,
\phi, \Phi,
\chi,
\psi, \Psi,
\omega, \Omega\$

\subsection{Special symbols}

The derivative is defined as
$${dy \over dx} = \lim_{\Delta x \to 0}{\Delta y \over \Delta x}$$
$$f(x) \to y \quad {\rm as} \quad x \to x_{0}$$
$$f(x) \mathop {\longrightarrow} \limits_{x \to x_0} y$$

\noindent Order of magnitude:
$$\log_{10}f \simeq n$$
$$f(x)\sim 10^{n}$$
Approximate equality:
$$f(x)\simeq g(x)$$
\TeX\ is simple if we keep everything in proportion:
$$f(x) \propto x^3 .$$

Finally we can skip some space by using a command such as
\begin{verbatim}
\bigskip    \medskip    \smallskip
\vspace{space}
\end{verbatim}
The space can be negative.

\section{Figures}

Figure~\ref{fig:typical} is an eps file.
\begin{figure}[h]
\begin{center}
\includegraphics{figures/sine.eps}
\caption{\label{fig:typical}Show me a sine.}
\end{center}
\end{figure}

\section{References}

Helmut Kopka and Patrick W. Daly, \textsl{A Guide to \LaTeX:
Document Preparation for Beginners and Advanced Users}, third