The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Format exam papers
This is version exam-n-1.4.0, 2022 October 10.
https://purl.org/nxg/dist/exam-n
,
and the repository is available to
browse
or clone.There are already multiple ‘exam’ LaTeX styles on CTAN, including the (original?) exam class, the extensive AcroTeX bundle, the examdesign and exams classes, and a variety of other packages which mention exams in some way. Some of these are more focused on generating quizzes (even doing things like randomising answers) or on having a highly customisable layout. Several (including ‘exam-n’) have support for generating versions of the exam document which include answers, for the benefit of markers.
What the ‘exam-n’ class can bring to this particular (rather crowded) party is:
The focus of the ‘exam-n’ class is on the careful collaborative process of assembling an exam, and many of the features are to do with checks to avoid mistakes. The result has, in effect, been validated by practice.
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.
‘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\exam-n
, 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.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.
The class was called exam
until release 0.14, and
guexam
until release 1.1. In the first case, it was
renamed to avoid a conflict with a pre-existing LaTeX class with the
same name; and in the second it was renamed to make it more
generically useful to other institutions.
\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.\partmarks
, in
compose mode, when a paragraph fills the last line.\part
to override part numbering.xcolor
package for colour management, instead
of the core color
package (the xcolor
package is well-known and stable, and this means that we are
compatible with TikZ).\partmarks
in solutions no longer gobble trailing space
(doing so is probably right in questions, and is still the case, but
\partmarks
in solutions tend to be more interspersed with
text).\label
within a \part
now refers to the
part number (as opposed to the question number).[siunitx]
option, indicating that we should
load the siunitx package (default no).
This is now preferred to the \units
macro, and the latter will be
removed in a forthcoming release.A1.clo
to clearer myclass.clo
\partmarks
comments now appear as footnotes.\normalsize
.\defaultpartmarkscategory
so it can be invoked within a .clo
file straightforwardly.[uprightpi]
option to set \pi
as an upright character, as appropriate for a constant (this is
implemented fully only for the [mtpro2]
and
[stix2]
options)..\units
macro is likely to be deprecated
in a forthcoming version, and replaced by a recommendation to use the
standard [siunitx]
package.\partmarks
, and
add \defaultpartmarkscategory
.\end{document}
, in \includequestion
(author)
files (fixes issue 6).{figure*}
and {table*}
now produce an error.\vec
now produces correct greek bold maths.stix2
option, to use the
STIX2 font set.\rubric
and \baserubric
within a .clo
file.
This was advertised as being possible, but it seems it had never been tested!Earlier release notes are available
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.