2   Usage and examples for the template

The School of Mathematics provides a default template, which is designed for writing new course materials – it aims to improve accessibility and convert nicely to HTML. It should also be relatively easy to convert existing materials to this template. The template provides a preamble in preamble/SoM.tex. You can add your own preamble in preamble/custom.tex.

The examples shown in this section are intended to demonstrate the use of the packages and environments included by default in the template, and to give an overview of how different elements are rendered in both the PDF and the HTML versions of a document. Workarounds and  snippets are also given for certain packages or commands which are not compatible with BookML; these may also be useful to those not using the template.

For more information, see the BookML Documentation. This also includes interesting ways of using the HTML functionality.