\documentclass[12pt, addpoints]{exam} \hyphenpenalty=10000 \hbadness=10000 \widowpenalty=10000 \clubpenalty=10000 \sloppy \pagestyle{plain} \usepackage{titlesec} \usepackage{circuitikz} \usepackage{graphicx} \usepackage{svg} \usepackage[a4paper, right=1.5in, left=1.5in, top=0.5in, bottom=0.8in ]{geometry} \usepackage{lipsum} \usepackage{fix-cm} \usepackage{amsmath} \usepackage{verbatim} \usepackage[scale=0.85]{plex-mono} \usepackage{plex-sans} \usepackage{fontspec} \defaultfontfeatures{LetterSpace=1.05} \setmainfont{Sabon} \ctikzset{resistor = european} \usetikzlibrary{calc,shapes.geometric,shapes.gates.logic.US,arrows} \setlength{\parskip}{0.5em} \PassOptionsToPackage{hyphens}{url} \usepackage{hyperref} \hypersetup{ colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=black } \usepackage{titling} \newenvironment{myquote}{ \list{}{\leftmargin=1in\rightmargin=0.6in}\item[]}% {\endlist} \setlength{\droptitle}{-3cm} \pretitle{\vspace{0.3in}\begin{flushleft}\Large\bfseries} \posttitle{\par\end{flushleft}} \preauthor{\vspace{0.1in}\begin{flushleft}} \postauthor{\end{flushleft}} \predate{\begin{flushleft}} \postdate{\par\end{flushleft}} \title{Computer Science Paper 1} \author{Mohit Agarwal} \date{2021} \begin{document} Computer Science Test: Data representation \vspace{5mm} \makebox[\textwidth]{Name:\enspace\hrulefill} \vspace{5mm} \makebox[\textwidth]{Teacher’s name:\enspace\hrulefill} \vspace{2cm} \begin{center} \gradetable[h][questions] \end{center} \vspace{2cm} \noindent Written by Mohit Agarwal (\url{https://mohit.uk}) for the Computer Science Department at William Perkin Church of England High School \begin{myquote} This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit\\ \url{http://creativecommons.org/licenses/by/4.0/} or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. \end{myquote} \include{questions.tex} \end{document}