Long Examples

Below is a longer LaTeX document (by Alexander Arbieto and Carlos Matheus).
It was selected (at random) from an on-line archive, arXiv.org e-Print archive. The original is posted at http://arxiv.org/abs/math/0310207.
You can save it from here.
The LaTeX might not be perfect (e.g., \[...\] is shorter than \begin{displaymath}...\end{displaymath} and preferable to $$...$$), but it provides many of the basic features.