Dave Green's NSTexam.cls – a
LaTeX class file
for Tripos exams
(V8.5, 2024/02/01)
NSTexam.cls is a LaTeX class to produce NST Tripos
examination papers in the style required by the U of Cambridge. This was
converted from the previous style file (.sty) version to a LaTeX2ε class file
(.cls) in 2010, with some updated
features, and improved font options.
Note: this version, V8.5, is the same as the previous version,
V8.4 (from 2020), except that the address of this webpage has
been changed.
The required files are:
- NSTexam.cls – the LaTeX class file;
- uni-logo.eps –
.eps file needed for first page (for LaTeX);
- uni-logo.pdf –
.pdf file needed for first page (for pdfLaTeX);
- NSTexam.pdf – .pdf of
the documentation, which illustrates the features available – please
print this out and read it, as it will answer many questions about
how to use NSTexam.cls.
Plus:
- NSTexam.tex – the source
.tex for the documentation (which illustrates various features
of NSTexam.cls);
- NSTfonts1.eps –
font sample 1 (used in the documentation);
- NSTfonts2.eps –
font sample 2 (used in the documentation);
- NSTfonts3.eps –
font sample 3 (used in the documentation);
- NSTfonts4.eps –
font sample 4 (used in the documentation);
- NSTfonts5.eps –
font sample 5 (used in the documentation);
- NSTexam-basics.pdf –
example output to show the format of basic numerical/simple answers.
All the above files are available as either NSTexam.tar.gz or NSTexam.zip.
Several font options are provided by the NSTexam.cls file, which may
need additional LaTeX
packages (which will have to installed if they are not already available
in your LaTeX
implementation). Specifically:
- the ‘newtx’ font option requires
newtxtext.sty and newtxmath.sty plus all the
associated font files (which are usually bundled together as the
‘newtx’ package in various LaTeX implementations),
and some other packages – this is the font option I recommend,
as it provides a full range of fonts (e.g. slanted lowercase and
uppercase greek for variables, bold slanted fonts for vectors);
- the ‘txfonts’ font option requires
txfonts.sty plus all the associated font files – which
can be used if your LaTeX
implementation is not sufficiently up to date to be able to use the the
‘newtx’ option.
(Also available here are some files for a locally customised
‘upright’ maths font, which can optionally be used by
NSTexam.cls using the ‘cmmu’ option,
if other (better)
font options are not available: cmmu10.mf, cmmu10.tfm and omlcmmu.fd.)
The latest Version is 8.5, dated 2024/02/01.
Note: some of the fonts used by newtxmath.sty were
revised considerably with Version V1.60 (from 2019 Sep), and there
were issues with some later versions, e.g. for \varv. These
issues have been fixed with V1.624 (of 2020 Jan 25), and I have fixes
for some of the intermediate, broken, versions if needed.
home |
addresses |
teaching |
research |
papers