% article.tex, a sample LaTeX file. 
% Run LaTeX on this file twice for proper section numbers.
% A '%' causes LaTeX to ignore remaining text on the line

\documentclass{article}    % Specifies the document style.

\title{A Sample Document}  % Declares the document's title.
\author{Your Name}         % Declares the author's name.

\begin{document}           % End of preamble and beginning of text.

\maketitle                 % Produces the title.

{\LaTeX} is one of the most widely used {\TeX} macros, so it is included with PC{\TeX} for Windows.  This is a sample {\LaTeX} input file.  You can use it to test the capabilities of this program.  This particular document uses {\LaTeX}'s ``article'' document style.  In {\LaTeX}, there are also ``book,'' ``letter,'' and ``report'' document styles.

\section{Text and Typestyles}  

The ends of words and sentences are marked by spaces. It doesn't matter how many spaces you type; the end of a line counts as a space.  One or more blank lines denote the end of a paragraph.  {\LaTeX} commands are usually preceded with a backslash.  They are often also included in brackets, as shown in this file.  The {\LaTeX} command generates the {\LaTeX} logo.  Quotation marks are usually done like ``this.''  Dashes come in three sizes: an intra-word dash, a medium dash for number ranges like 1--2, and a punctuation dash---like this.

Should you want to cause some text to appear in {\bfseries boldface type}, you can simply place the \verb!\bfseries! command before that text.  Should you want a sentence to appear in {\itshape italics}, you can simply use the \verb!\itshape! command.  {\itshape This sentence appears in italics.}  

{\large You can also use different commands to cause text to appear in larger type.  This paragraph uses {\LaTeX}'s ``large'' typestyle.}

{\LaTeX} interprets some common characters as commands, so you must type
special commands to generate them.  These characters include the
following: \$ \& \% \# \{ and \}.

Footnotes\footnote{This is an example of a footnote.} are easy to do with {\LaTeX}.

{\LaTeX} is also very good at typesetting mathematical formulas like:
       \( x-3y = 7 \) 
or
       \( a_{1} > x^{2n} / y^{2n} > x' \).

\section{Displayed Math}

Mathematical formulas may be placed within paragraphs of text.  But they may also be ``displayed.''  In displayed math formulas, the formulas are displayed between lines of text, as shown below: 
   \[  x' + y^{2} = z_{i}^{2}\]

\section{Lists}
It is very easy to create lists using {\LaTeX}.
The following is an example of an {\it itemized} list.
\begin{itemize}
\item  This is the first item of an itemized list. 

\item  This is the second item in the list.
  
\begin{enumerate}
\item This is the first item of an enumerated list that is nested within the itemized list.

\item This is the second item of the inner list. 
\end{enumerate}
          
\item  This is the third item of the list.
\end{itemize}
\end{document}             % End of document.