-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
67 lines (53 loc) · 1.73 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%-----------------------------------------------------------
% LaTeX template for University of Warwick exams
%-----------------------------------------------------------
\usepackage{fancyeq}
\usepackage{tikz}
\usetikzlibrary{automata, positioning, arrows}
\makeatletter
\expandafter\providecommand\expandafter*\csname [email protected]\endcsname
{2003/07/21 v0.8a Simulated by exam}
\makeatother
\usepackage{framed}
\usepackage{xcolor}
\usepackage{minted}
\usepackage[
backgroundcolor = white
, hidealllines=true
]{mdframed}
\surroundwithmdframed{minted}
\usemintedstyle{bw}
\setminted[text]{fontsize=\small}
\setminted[haskell]{fontsize=\small}
\setminted[bash]{fontsize=\small}
\newcommand{\haskellIn}[1]{\mintinline[fontsize=\small]{text}{#1}}
\newcommand{\bashIn}[1]{\mintinline[fontsize=\small]{bash}{#1}}
\usepackage[]{FiraSans}
\usepackage{mathpazo}
\linespread{1.05} % Palatino needs more leading (space between lines)
\usepackage[T1]{fontenc}
\usepackage{multicol}
%\usepackage[nomap]{FiraMono}
% configure the heading
\ModuleName{Functional Programming}
\ExamPeriod{September 2019}
\TimeAllowed{2 hours}
\QuestionInstructions{Answer \textbf{FOUR} questions.}
\OtherInstructions{Read carefully the instructions on the answer book and make sure that the particulars required are entered on \textbf{each} answer book. \\
No calculators are allowed. A copy of the Haskell Prelude is given in the Appendix.}
\usepackage[nomap]{FiraMono}
\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}
\pagebreak
\input{prelude}
\end{document}