This template can be used for typesetting solutions to homework assignments.
We define a document class that includes a number of useful packages, defines shorthand macros for commonly used constructs and makes it easy to typeset answers to exercises. The template default content demonstrates how various tasks can be achieved in LaTeX as well: mathematical notation and many symbols, typesetting a table, including a figure, et cetera.
This is a formal write-up of the first theorem we proved in class. You can use this as a template for your own write-ups. The notes in the comments of the code should provide a brief introduction to using LaTeX.