%%%% This is the general thesis/project report template for most users
\documentclass[12pt,a4paper,titlepage]{memoir}
\usepackage[online]{ruthesis}
%% Options for ruthesis in []:
%%   online : for electronic submission rather than printing on paper (less blank pages)
%% IS Icelandic is main language
%% 

%%%%%% Packages and Macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{custom}
%% Commonly-used packages and macros are in custom.sty
%% Put any additional packages after this line
%% !!WARNING: The geometry package is incompatible with this template!

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

\title{Thesis and Project Report Template for \theInstitution{} (English Title)}
\titleIS{Thesis and Project Report Template for \theInstitution{} (Icelandic Title)}
\author{Joseph T. Foley}%Use \and as an author separator
\date{2022}{2}{2}%{Year}{Month}{Day}%use numbers

%\DocumentInfo{TYPE}{ABBREVIATION}{DEGREE}{PROGRAM}{ECTS}{School/Department}
\DocumentInfo{Thesis}{M.Sc.}{Master of Science}{Mechatronics}{30}{Department of Engineering}
\DocumentDescription{\theDocumentType{} of \theECTS{} ECTS credits
         submitted to the \theSchool{} at \theInstitution{} in partial fulfillment
         of the requirements for the degree of \theDegreeLong}
% Change this if you need a custom title or if it needs to be in Icelandic

%% 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}{University of Iceland}{Iceland}
  \personinfo{Tough E. Questions}{Examiner}{Associate Professor}{Massachusetts Institute of Technology}{USA}
}

\begin{document}
\maketitle{}
\copyrightpage{}
%\signaturepage{} %Generally only for Print copies
%\archivesigpage{} %Generally only for Print copies

\begin{abstract}
  The abstract goes here translated into English.
  If the thesis is in English, it should come first.
  It should be a fairly short summary of the entire document.
\end{abstract}

\begin{abstractIS}
  The abstract goes here translated into Icelandic.
  If the thesis is in Icelandic, it should come first.
  It should be a fairly short summary of the entire document.
\end{abstractIS}

%\begin{dedications}% Optional
%  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\/}
%\/ is italic correction at the end of \em and italics
\clearpage{}
\tableofcontents{}\clearpage
\listoffigures{}\clearpage
\listoftables{}\clearpage

%% 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}
M.Sc. &Masters of Science\\
Ph.D. &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}
% Don't put page numbers on the chapter changes

%% If you would like to separate chapters into different files, use
%% \include{chapterfile}
%% WARNING: Make sure that all of these files (and any new ones)
%% are UTF-8 otherwise you will get weird encoding errors.
\part{Getting Started} % Parts optional but useful in longer documents
\chapter{Instructions}
\textbf{Is this the right template for you?}
If you are not a Reykjavik University student, this is probably not for you.
If you are writing a Ph.D. or Sci.D. dissertation, then you want the file \path{dissertation.tex}.
For everyone else, continue to the instructions.
\include{instructions}
\part{Demonstration}
\chapter{The First Chapter}
\include{introduction}%Chapter in introduction.tex
\section{Another Section}
\part{The Second Part} % Parts optional but useful in longer documents

\bibliographystyle{IEEEtran/bibtex/ieeetran}
\bibliography{references}

%% If appendices are needed, uncomment the following line
%% and include the appendices in separate files
\appendix{}%%RUM: "Appendicies (as appropriate)
\input{code} % as an example, perhaps some of your code

%\backmatter{} % Sections after this don't get numbers
%% We prefer that all elements be numbered

%%%%%%%%%%%%% SHOW INDEX %%%%%%%%%%%%%%%%%%
%% Index, optional.  A good idea on longer documents
\clearforchapter{}
\printindex{}%%RUM: Not mentioned

\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
