\documentclass[12pt,a4paper,titlepage]{memoir}
\usepackage{ruthesis}

\title{Ph.D. Dissertation Template for \theInstitution{}}
\titleIS{Ph.D. Dissertation Template for \theInstitution{} in Icelandic}
\author{Joseph T. Foley}%Use \and as an author separator
\date{\today}% Change this to the date that it is signed
\dateIS{**Date in Icelandic**}

%\DocumentInfo{TYPE}{ABBREVIATION}{DEGREE}{PROGRAM}
%\DocumentInfo{Dissertation}{Ph.D.}{Doctor of Philosophy}{Computer Science}
\DocumentInfo{Dissertation}{Ph.D.}{Doctor of Philosophy}{Computer Science}
\School{School of Technology}

%% PhD only have Thesis Committee with roles.  Examiner is part of committee.
\SupervisorHeading{Thesis Committee}
\Supervisors{
  \personinfo{Superior A. Teacher}{Supervisor}{Professor}{Reykjavik University}{Iceland}
  \personinfo{Helpful A. Teacher}{Co-advisor}{Assistant Professor}{LUniversity of Iceland}{Iceland}
  \personinfo{Tough E. Questions}{Examiner}{Associate Professor}{Massachusetts Institute of Technology}{USA}
}
%\ExaminerHeading{Examiner}
%\Examiners{
%  \personinfo{Tough E. Questions}{Examiner}{Associate Professor}{Massachusetts Institute of Technology}{USA}

%}

%%%%%% Useful Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage{lipsum}%provides us with text for testing
%% usage: \lipsum[STARTNUM-ENDNUM]

\usepackage{siunitx}
%%% Macros for SI Units in text
%% e.g. \SI{9.8}{\meter\per\second}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\maketitle
\copyrightpage{}
\signaturepage{}
%\archivesigpage{}

\begin{abstract}{Abstract}{\thetitle}{\thedate}
  The abstract goes here.
  It should be a fairly short summary of the entire document.
\end{abstract}

\begin{abstract}{Útdráttur}{\thetitleIS}{Dagsetning}
  The abstract goes here translated into Icelandic.
  It should be a fairly short summary of the entire document.
\end{abstract}

\begin{dedications}
  I dedicate this to my spouse/child/pet/power animal.
\end{dedications}

\enableindents{}% turn on/off paragraph indents
% RUM: "Acknowledgements (optional)"%start numbering

\chapter*{Acknowledgements} 
\begin{quotation}
So long, and thanks for all the fish.
\end{quotation}\sourceatright{Douglas Adams\cite{adams84fish}}
\vspace{\baselineskip}

This work was funded by \the\year~RANNIS grant ``Survey of man-eating Minke whales'' 1415550.
Additional equipment was generously donated by the Icelandic Tourism Board.

{\em Acknowledgements are optional; comment this chapter out if they are absent
  Note that it is important to acknowledge any funding that helped in the work}



\chapter*{Preface}
% RUM: "Preface (optional)"
This dissertation is original work by the author, Firstname~Lastname.
Portions of the introductory text are used with permission from
Student et al.\cite{student2015awesome} of which I am an author.

  
{\em The preface is an optional element
  explaining a little who performed what work.  See
  \url{https://www.grad.ubc.ca/sites/default/files/materials/thesis_sample_prefaces.pdf}
  for suggestions.
  
  List of publications as part of the preface is
  optional unless elements of the work have already been published.
  It should be a comprehensive list of all publications in which
  material in the thesis has appeared, preferably with references to
  sections as appropriate.  This is also a good place to state
  contribution of student and contribution of others to the work
  represented in the thesis.
}


%\coverchapter{Publications}
%% Some Dissertations present the related papers first
\clearpage{}
\tableofcontents{}\clearpage%TODO: remove toc from toc
\listoffigures{}\clearpage%%RUM: "List of figures"
\listoftables{}\clearpage%%RUM: "List of tables"

%% The list of abbreviations is an example of a special list
%% Other lists may be added, such as lists of algorithms, symbols, theorems, etc.
%% IN CS PhD, this is sometimes centered.
\chapter*{List of Abbreviations}%%RUM: Not mentioned
\begin{tabular}{ll}
MSc &Masters of Science\\
PhD &Doctor of Philosophy\\
\end{tabular}

\chapter*{List of Symbols}%%RUM: Not mentioned
\begin{tabular}{lll}
Symbol &Description &Value/Units\\
$E$ &Energy &\si{\joule}\\
$m$ &Mass &\si{gram}\\
$c$ &Speed of Light &\SI{2.99E8}{\meter\per\second\square}\\
\end{tabular}


\mainmatter{}
\aliaspagestyle{chapter}{empty}
%% If you would like to separate chapters into different files, use
%% \include{chapterfile.tex}
\chapter{The First Chapter}
\section{Introduction}
\lipsum[0-20]


\bibliographystyle{ieeetran}
\bibliography{references}

\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "PHD-NAME-YEAR"
%%% End:
