LaTeX Packages by Robert Whittaker
This page give details and download links for the various styles
and classes I've written for use with the LaTeX document preparation
system. If you have any questions about those which are listed, please
email me. For more information and help with using LaTeX, you might like to look
at the Curlie's LaTeX category.
rjw-all.zip
- A zip file containing all the other files for the classes and
styles listed below.
rjwmath.sty
- The
rjwmath
package contains various maths-related
macros and commands. Key features include:
- Commands for many dimensionless groups (Ra, Re, Pr, etc.).
- Commands for multiple integrals, derivatives and
differentials.
- Commands for vector operators (div, grad, curl, Laplacian), with
an option to use with text or symbol variants.
- Additional Special functions (cosec, Ei, BesselJ, erf, etc.).
- Vector and tensor formatting with
\vect{}
and
\tens{}
.
- A fix for the erroneous wide space around the central relation in
the
eqnarray
environment.
- An experimental
\widebar
math-mode accent.
- The
rjwextra
package contains various
non-maths-related macros and formatting enhancements. Key features
include:
- Package option
britdate
to format dates with the traditional
British (day, month, year) order. This is the default; use
usdate
option to return to standard behaviour.
- Nicer figure captions: Small-caps used for "Figure n" text, and
slanted style for the caption text itself.
- A new command
\note{}
to implement margin notes.
- Package option
seceqnum
causes equations to be
numbered by section with an (n.m) style format.
- Footnote spacing altered to leave a line's space between the page text and the footnote separator.
- A fancy quotation environment
fquote
.
- Experimental support for automatic addition of title and author
metadata to PDF files created from PostScript output.
- Experimental support for having multiple subequations on the same
line with the
subequations
environment in
amsmath
. Macros take care of equation numbering, and
allow labels to be defined for cross-referencing.
rjwcol.sty
- Experimental class for adding automatic colouring of equations and
headings. I wrote it mainly for use in conjunction with
the
foiltex
package for writing presentations.
rjwthesis.cls
- The class I wrote for my PhD
thesis, based on the LaTeX
book
class. Main features include:
- Default of 1½ line spacing.
- Title page with commands to set the author, supervisor,
affiliation, logo, etc.
- Fancy chapter headings (courtesy of Vincent Zoonekynd).
- Chapter-specific appendices with separator, using the
subappendix
package.
- Customisation of the default latex running page headers, to look
less ugly.
- Synopsis environment (like an abstract) for use at the start of
each chapter.
There's also a template file rjwthesis.tex
to demonstrate how
to use the class.
rjwcv.cls
- Experimental class for preparing CVs. Includes layout for headings and sections, along
with suitable bulleted and definition lists. Also a simple mechanism
for multiple versions, sharing most of the content.
ueasheet.cls
- An unofficial class for laying out problem sheets and handouts for
UEA maths courses. Includes commends for setting up standard headers
and footers, and providing numbers of marks for question parts. There
is a template
file
ueasheet.tex
to
demonstrate how to use the class.
ueanotes.cls
- An unofficial class for typeset lecture notes for UEA maths
courses. Sets up the margins and line-spacing and include commands for
recording lecture and handout numbers in the margin.
camlet.cls
- Personal letter class for members of
the Department of Applied
Mathematics and Theoretical Physics, following
the University of Cambridge
Identity Guidelines (as they were circa 2005/6). To make it work
properly, you'll also need the Sabon font, and
an eps version of the
university crest.
jfm2.bst
- The
jfm2
BibTeX bibliography
style is an slightly improved version of the
jfm.bst file supplied by the Journal of Fluid Mechanics.
I've just made a few improvements, mainly to more closely conform to
the journal's actual requirements:
- Reverse publisher and address fields to display "Name,
Address" rather than "Address:
Name".
- Include parentheses around "ed." and remove comma beforehand when
editors are listed in place of main authors.
- Start new sentence before including the contents of the the
note field at the end of an entry.
- PhD and masters thesis titles are now formatted in italics with
capitalised words, in the same was as book titles.
- The descriptive text "PhD Thesis" and "Masters Thesis" now have
the second word capitalised.
The changes appear to work as intended, but since I don't understand
all of the BibTeX style language, the file
should be used at your own risk.