The edmaths package for LaTeX/report

The current version is 0.96.

An easy way to implement the University’s typesetting rules in LaTeX is provided by the package edmaths. This is its documentation.

Installation

Simply download the file edmaths.sty and store it either along with your .tex file(s) or in any directory that is findable by LaTeX.

Features

The edmaths package sets the page margins as required and defines commands to create the correct cover page and standard declaration. It also loads the amsmath, amsthm, amscd and amssymb packages, which are required by almost all mathematical publications.

Line spacing settings are available that only affect the body text, but not footnotes and captions. (This is thanks to the setspace package.)

Requirements

The basic package has no special requirements. If you have certain additional packages installed, you can make use of some fancifying options (see below).

Usage

  1. Use the report document class (via “\documentclass[...]{report}”) with options
  2. Define \title{…}, \author{…} and date{…}.
  3. Add the line “\usepackage[<options>]{edmaths}” to your preamble. (This must be after step 2 or you will get errors.)

Here <options> is a comma-separated list of the following keywords:

Once edmaths is set up, use the “\maketitle” command to create the cover page, the “\declaration” command to create the standard declaration, the “\dedication{…}” command for a dedication page, the “\begin{abstract}…\end{abstract}” environment for the abstract and the “\tableofcontents” command for the table of contents. To redefine the title of the abstract, use “\renewcommand{\abstractname}{My New Title}”.

When using the y4project option, the command “\yfourdeclaration{…}” can be used right after the abstract to print a declaration at the bottom of that page; the argument of this command is the name of the particular degree.

Recommendations

Apart from these basics, you might also consider the following suggestions. (You may have to search the internet to obtain the actual documentation of what is mentioned below.)

Examples

The following two examples demonstrate the usage of the edmaths package, once in a basic fashion and once a little beefed up.

Basic example

Download as .tex and as PDF.

\documentclass[10pt]{report} \title{The title of my first year report} \author{My name} \date{2007} \usepackage[firstyear]{edmaths} \begin{document} \maketitle \begin{abstract} My abstract. \end{abstract} \tableofcontents \chapter{First Chapter} \section{First section} \section{Second section} \chapter{Second Chapter} \appendix \chapter{First Appendix} \end{document}

Beefed-up example

Download as .tex and as PDF.

\documentclass[12pt,twoside]{report} \title{My thesis title} \author{My name} \date{2007} \usepackage[phd,fourier,hyperref,colour,fancyhdr]{edmaths} \begin{document} \flushbottom \pagenumbering{roman} \maketitle \declaration \begin{abstract} My abstract. \end{abstract} \dedication{In memory of my sanity.} \tableofcontents \newpage \pagenumbering{arabic} \chapter{First Chapter} \section{First section} \section{Second section} \chapter{Second Chapter} \appendix \chapter{First Appendix} \end{document}

Known issues

None at the moment. Send an email to the author if you would like to raise an issue.