summaryrefslogtreecommitdiff
path: root/thesis/thesis.tex
diff options
context:
space:
mode:
authorCamil Staps2016-11-22 23:56:49 +0100
committerCamil Staps2016-11-22 23:56:49 +0100
commit45e52506a41870afa57389fe9741e6bfd57408e8 (patch)
treede00843e9992c2285716a191db5c377acd7dbecd /thesis/thesis.tex
parentStoring PC: comparison (diff)
More intro; draft mode
Diffstat (limited to 'thesis/thesis.tex')
-rw-r--r--thesis/thesis.tex49
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}