Typical compilation workflow:
First edit a text file with your favourite editor, for example: example.tex
\NeedsTeXFormat{LaTeX2e}
\usepackage{amsmath}
\title{\LaTeX example}
\documentclass[12pt]{article}
\begin{document}
\maketitle
%\thispagestyle{empty} this is commented!
Hello \LaTeXe\ and \TeX{}!
Some math:
\begin{align}
E &= mc^2 \\
m &= \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
\end{align}
\end{document}
C:> latex example.tex C:> dvips example.dvi C:> ps2pdf example.psThis is the traditional compilation workflow, which allows you to use .eps images and PStricks magic.