diff options
Diffstat (limited to 'thesis/thesis.tex')
-rw-r--r-- | thesis/thesis.tex | 49 |
1 files changed, 35 insertions, 14 deletions
diff --git a/thesis/thesis.tex b/thesis/thesis.tex index d2f1e06..8760159 100644 --- a/thesis/thesis.tex +++ b/thesis/thesis.tex @@ -1,19 +1,25 @@ %&thesis \begin{document} -\maketitleru[ - course={Bachelor Thesis\\[.4em]Computer Science}, - authorstext={Author:}, - authors={Camil Staps}, - righttextheader={First supervisor:}, - righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer}, - righttextBheader={Second supervisor:}, - righttextB={drs.~J.H.G.~van~Groningen}, - pagenr=1] - -\setcounter{page}{2} +\ifdraft + \begin{center} + {\Large Bachelor Thesis} -\cleardoublepage + \textcolor{red}{\emph{This is a draft version. The layout has been changed to save paper.}} + \end{center} +\else + \maketitleru[ + course={Bachelor Thesis\\[.4em]Computer Science}, + authorstext={Author:}, + authors={Camil Staps}, + righttextheader={First supervisor:}, + righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer}, + righttextBheader={Second supervisor:}, + righttextB={drs.~J.H.G.~van~Groningen}, + pagenr=1] + \setcounter{page}{2} + \cleardoublepage +\fi \begin{abstract} The Thumb-2 instruction set combines the best features of the ARM and Thumb instruction sets (speed and small code size, respectively). @@ -23,26 +29,41 @@ Specifically, we look at code generation for the purely functional programming l \todo{results, efficiency, etc.} \end{abstract} +\ifdraft\else \cleardoublepage +\fi -\thispagestyle{empty} -\tableofcontents +\ifdraft + \begin{multicols}{2} + \tableofcontents + \end{multicols} +\else + \thispagestyle{empty} + \tableofcontents +\fi +\ifdraft\else \cleardoublepage +\fi \input{intro} \input{storing-pc} \input{two-bits} \input{results} +\ifdraft\else \cleardoublepage +\fi \appendix \input{abbr} +\ifdraft\else \cleardoublepage +\fi \let\oldurl\url \renewcommand{\url}[1]{{\small\oldurl{#1}}} +\phantomsection\addcontentsline{toc}{section}{\bibname} \printbibliography \end{document} |