summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/exam-n/sample/sample_exam.tex
blob: 4ae4e18f0a70d0736aaa2934364b83a8b54a4b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
%   A suitable documentclass line is the following.
%   Change this to [final] for the final version.
%   This option enables showing solutions, showing comments, and a few
%   other adjustments which seem useful at draft time.  The [final]
%   option turns all of these off.
\documentclass[stix2,uprightpi]{exam-n}

%   Include a local .clo file like this:
%\documentclass[myclass]{exam-n}
%
%   Choose different font sets:
%\documentclass[stix2]{exam-n}
%\documentclass[mtpro2]{exam-n}
%\documentclass[mtpro2,sansserif]{exam-n}
%
%   There are some alternatives for those who need special versions
%   with large fonts:
%\documentclass[largefont]{exam-n}
%\documentclass[hugefont,sansserif]{exam-n}
%
%   It wouldn't make sense for this file, but the files being included
%   using \includequestion should start with:
%\documentclass[compose]{exam-n}
%
%   For discussion of these various class options, and more, see the
%   guexam.pdf documentation.
%
%   Note:
%
%     * Several of the questions are gibberish.
%     * This collection of questions has in part turned into an
%       informal regression test for the class file.  Thus they
%       shouldn't necessarily be regarded as canonically best practice.

% Include a default category for \partmarks
%\defaultpartmarkscategory{category?}

\examdate{Wednesday, 23 May 2007}
\examtime{9:30 -- 10:45 (1 course)\\9:30 -- 12:00 (2 courses)}

\exambanner{Examination for the degrees of \BSc\,
  \MSci\ and \MA\ on the honours standard }

\degreedescriptions{Physics 3\\Chemical Physics 3\\Physics with
  Astrophysics 3\\Theoretical Physics 3M\\Joint Physics 3}
\schoolcoursecode{P304D and P304H}
\universitycoursecode{PHYS3031 and PHYS4025}
\coursetitle{Quantum Mechanics (and other bits of physics)}

\usepackage{pdfpages}

\rubric{Candidates should answer Questions 1 and 2 (10~marks each),
  \linebreak\textbf{and either} Question 3 \textbf{or} Question 4 (30~marks).
  \linebreak The content of this sample exam derives from real
  questions, but the result is in many cases test gibberish.}
%\norubric

\numquestions{13}

\usepackage{graphicx} % for graphic in dynamical1

\begin{document}
\maketitle

\section{I}
\includequestion{cosmo1}
\includequestion{numerical1}
\includequestion{dynamical1}

\section{II}
\includequestion{cosmo2}
\subsection{Cosmology question number 3}
\includequestion{cosmo3}
\includequestion{excos1} % four multiple-choice questions

\section{III}
% Override the question number, to test/demo this
\includequestion[99]{numerical2}
\includequestion{numerical3}

\section{IV}
\includequestion{dynamical2}
\includequestion{dynamical3}

\end{document}