\begin{displaymath}
      x = \frac{-b \pm \sqrt[2]{b^2 - 4ac}}{2a}
      \end{displaymath}
Produces the following formula:
Even strange formulas with Greek letters, such as 
, can be 
inserted right within a line of text by surrounding the necessary
components of the equation with dollar signs ($).
       $\delta = \pi sin(\theta -\Sigma)$
To insert sections of computer code so that it keeps the same format, try
using the 
begin{verbatim} tag.  For instance, the
following segment of code was printed using this option. 
      main()
            { cout << "Hello \LaTeX" << endl;
            }