Here is a much modified and expanded version of the TikZ demo from the 2008–03–10 class.
Read the PDF file tikz-tutorial.pdf and its LaTeX source
tikz-tutorial.tex in parallel. Examine each piece
of TikZ code and the corresponding output.
The last page of tikz-tutorial.pdf has two detailed workflow diagrams
that shows how to compile and proess LaTeX documents. As I noted in
class, the types of graphics involved in your document may dictate which
method to use to compile.
Author: Rouben Rostamian