Git Product home page Git Product logo

ucmaths's Introduction

UCMaths

A LaTeX Class for UC Mathematics and Statistics students.

Packages

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.

Macros

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.

Styling

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 and 12pt 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.). Required
  • author, 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.

ucmaths's People

Contributors

aaronstockdill avatar

Stargazers

Chris Wong avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

somervta

ucmaths's Issues

Floor and Ceil

Include floor (\floor{}) and ceiling (\ceil) as macros.

Infinity

\infty is annoying. Alias \infinity to \infty for ease of use.

Empty Set

Consider switching \emptyset for \varnothing, and have the original \emptyset as something else, maybe \slashedzero or \oldemptyset?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.