-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
50 lines (41 loc) · 1.47 KB
/
main.tex
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
%-----------------------------------------------------------
% LaTeX template for University of Warwick exams
%-----------------------------------------------------------
\usepackage{fancyeq}
\usepackage{multicol}
%\usepackage[nomap]{FiraMono}
% configure the heading
\ModuleCode{CS141}
\ExamCode{CS1419\_A}
\ModuleName{Functional Programming}
\ExamPeriod{September 2021}
\ExamsName{First Year Examinations}
\TimeAllowed{2 hours}
\QuestionInstructions{There are \textbf{SIX} questions. Candidates should attempt \textbf{FOUR} questions.}
\OtherInstructions{Instructions specific to this module:
\begin{itemize}
\item The questions are not in order of difficulty.
\item Unless stated otherwise, you should assume that library functions are defined as shown in the module guide.
\end{itemize}
General exam instructions follow on the next page.}
\setminted[text]{fontsize=\small}
\setminted[haskell]{fontsize=\small}
\setminted[bash]{fontsize=\small}
\newcommand{\haskellTopIn}[1]{\mintinline[fontsize=\small]{text}{#1}}
\newcommand{\haskellIn}[1]{\mintinline[fontsize=\small,breaklines]{text}{#1}}
\newcommand{\bashIn}[1]{\mintinline[fontsize=\small]{bash}{#1}}
\usepackage[nomap]{FiraMono}
\usepackage{amsmath}
\usepackage{microtype}
\DisableLigatures[f]{encoding = *, family = tt* }
\begin{document}
\MakeHeading
\begin{questions}
\input{q1} % done
\input{q2} % done
\input{q3} % done
\input{q4} % done
\input{q5} % done
\input{q6} % done
\end{questions}
\end{document}