A LaTeX Class for UC Mathematics and Statistics students.
This class automatically makes available the following packages:
amsmath
amssymb
amsthm
mathtools
These packages were chosen because they represent the "standard" imports when writing a mathematical document.
UCMaths also makes available enumitem
, array
, calc
and ifthen
, because they are used internally/set default styles.
Several macros over those from the above packages are also included, so make writing the majority of undergraduate course content easier. These are:
\argmin
\argmax
\abs{}
\norm{}
\floor{}
\ceil{}
\mlv{}
(multi-letter variables)\diff
(d for derivatives)\divides
\sigfig{}
(only a number is required)\infinity
(an alias for\infty
)\naturals
\integers
\rationals
\reals
\complex
\quaternions
\true
\false
\union
\intersection
\set{}
\comp{}
(compliment)\mat[]{}
(optional argument is a superscript label)\transpose
\inverse
\inversetranspose
\pseudoinverse
We also make available by default the environments theorem
, lemma
, corollary
, and definition
.
It is worth noting that \epsilon
and \varepsilon
have been reversed,
and \emptyset
is now an alias for \varnothing
.
If you need the old empty set symbol, it is now \slashedzero
.
The class should take care of most of your styling needs. The basic structure of a file should look like
\documentclass[a4paper, 12pt, twosided, signature]{ucmaths}
\title{Assignment}
\author{Eve McCodecracker}
\studentid{12345678}
\coursecode{MATH123}
\coursetitle{Maths and Stats}
\due{5pm on Friday 1 January 2134}
\coverinfo{
Something
}
\begin{document}
\maketitle
Something
\end{document}
The class options are:
twosided
, which inserts a blank page between the coversheet and the main content, so that when printing two-sided the coversheet is single-sided.signature
inserts a signature line at the bottom of each (non-cover) page.a4paper
and12pt
are as for article, recommended for New Zealand.
The preamble declarations are:
title
, setting the title of the document (e.g. Assignment 1, Project, etc.). Requiredauthor
, the student's name. This can be skipped by assignment authors.studentid
, the student's UC Student ID. This can also be skipped by assignment authors.coursecode
, to specify the course this is for. Required.coursetitle
, the "natural" name of the course. Required.due
, the date the project is due. Required.coverinfo
, some extra details to put on the cover sheet. Optional.groupsize
, which specifies how many people are in the group. Optional, unless the groups are larger than one. Separate Authors and Student IDs with\and
.
\maketitle
will insert the coversheet and title.
If you want to use your own title, use \oldmaketitle
.
To insert the cover page by itself, use \makecoverpage
.