Format exam papers
The released versions are shown below. In general, you should use
a release version unless you have been advised otherwise. Please do
test the betas, though (marked -bN
below) and let Norman
know of problems.
Version | Download | Comments |
---|---|---|
guexam-1.4.2 | tarball or zip | Requires a LaTeX/TeXLive dating from at least 2020. |
guexam-1.3.6 | tarball or zip | Bugfix only, but works with pre-2020 LaTeX. |
sample/
directory in the distribution
for the source of this. That demonstrates the final version of the
paper, as opposed to the ‘draft’ and ‘compose’ versions; there’s also
a version with this layout but
showing the solutions.Unpack the distribution tarball or zip
file, and move the directory move-to-texmf/
(or its
contents) to some
location on the LaTeX search path. You're probably looking for a
directory called texmf-local
, or something like that.
In practice (and probably preferrably, if you are managing exam source files in a git or other repository), you may prefer to put these in the same directory as the exam source files.
The distribution includes a file gulogo-snapshot.zip
,
which contains the files required to supply the GU logo. The guexam
class will work without error in the absence of these files, but
won't, obviously, produce the logo on the exam papers. To install,
unpack the zip file, and move the files in move-to-texmf/
to a suitable place. Typically, only the exams convener will need to
care about this, since question authors use only the
[compose]
mode, which does not attempt to use the
logo.
‘Move…to a suitable place’ is admittedly very vague. Here are some pointers, however:
kpsewhich
guexam.cls
will show you which class file LaTeX will use (so if
it produces no result, that's telling you that LaTeX won't find the
files); also kpsepath tex
will display, in an admittedly
very oblique form, the list of places where TeX will search....\Users\yourname\AppData\MikTeX
, (ii) create a
sequence of folders so that you end up with
...\MikTeX\texmf\tex\latex\guexam
, and (iii) put the
distributed .sty
and .clo
files in the
latter folder. The directory ...\MikTex\texmf
is your
‘user-managed TEXMF root directory’, and you should add it to MikTeX's
search path using the instructions above.Various people within the School use various LaTeX implementations. Amongst these are:
For exams, we don't recommend you use Overleaf, though Overleaf is otherwise a good idea. This is for the fairly obvious reason that it's off-campus. Don't store exams in a cloud service!
With the version 1.1 release, the interface should now be regarded as rather stable. However version 1.1 was the first to be released outside Glasgow University, so there may be some changes to the interface which will emerge with broader use, as well as some bug fixes. The interface may, therefore, yet change. If you use this class to produce exams, you should therefore include a copy of the class file locally, rather than relying on a central version. If you need an earlier version of the class, let me know.
Fix formatting of the question number.
Before, if a question started with a `{questiondata}`, then the
question number appeared in italic. Fixed with an explicit
\normalfont
. Thanks to John Veitch for the report.
\units
macro produces a one-time-per-document
warning that it will be removed in the next version.\partmarks
commands in an
environment is now detected as an error (it was documented as an
error, but not checked, so the extra \partmarks
commands were simply ignored).\partmarks
: the \partmarks
indicator can now go inside most environments, including
list, quotes, unnumbered equations, and the various amsmath displays. In these
cases, the indicator will automatically appear at the end of the
environment. The starred variant of the command still exists, but
should rarely be necessary.v1.3.6 now actually is usable with LaTeX earlier than 2020.
This compatibility is of course the point of the retained 1.3.x branch, but it appears that I tested this inadequately, and left a spurious format-version test enabled.
Earlier release notes are available