Merge branch 'master' into master

This commit is contained in:
2025-10-15 22:06:34 +00:00
committed by GitHub
22 changed files with 1057 additions and 658 deletions

View File

@@ -1,11 +1,26 @@
%%%% This is the general thesis/project report template for most users
\documentclass[showtrims]{rubook}
%% RU Book options (subclass of memoir)
%% a4paper or b5paper(default): paper stock size.
%% If A4, show cut lines. If b5, no cut lines.
\usepackage[]{ruthesis}
%% Options for ruthesis in []:
%% IS Icelandic is main language, otherwise default to English
%%%% Make sure you have lualatex installed!!! (package texlive-luaatex)
\documentclass[12pt, a4paper]{memoir}
\usepackage{ruthesis}%% RU Thesis formatting
%% What language is the document in?
%% English must always be available for biblatex/biber to work properly
%% If you are doing your thesis in Icelandic switch the order
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{icelandic}
%%% Setup citations: pick one format
%% IEEE Format
\usepackage[backend=biber,style=ieee]{biblatex}
%% APA Format
%\usepackage[style=apa,backend=biber]{biblatex}
%\DeclareLanguageMapping{english}{english-apa}
%% Warning: Icelandic APA has issues because you have to get the grammar right which needs to know if the word is male or female
%% \parencite{} for parenthesis around the citation
%% \textcite{} is for when the information is part of a sentence.
%% \cite{} just puts the name and year
\addbibresource{references.bib}
\usepackage{biblatex-IS}%%loads Icelandic translations for things polyglossia missed
%%%%%% Packages and Macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{custom}
@@ -16,33 +31,36 @@
\usepackage{lipsum}%provides us with text for testing
%% usage: \lipsum[STARTNUM-ENDNUM]
\graphicspath{{graphics/}{Graphics/}{./}}
\graphicspath{{graphics-cropped/}{graphics/}{./}}
%% This is a list of folders to search for graphics files to include
%% for the graphicx package (already loaded). This may be case-sensitive.
%% LaTeX will search from left to right in the list, so you can put "cropped" versions
%% in the first directory and it will grab them first. e.g.
%\graphicspath{{graphics-cropped/}{graphics/}{Graphics/}{./}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% in the graphics-cropped folder to speed up processing.
%%%%%%%%%%%%%%%%%Information for the Title page %%%%%%%%%%%%%%%%%
\logo{graphics/ru-logo}%Get RU logo from help.ru.is at
% https://uthelp.refined.site/space/UKB/312279050/Final+Project+%2F+Thesis+%2F+Dissertation+Template
% and put it in the graphics folder
\title{Thesis and Project Report Template for \theInstitution{}}
\author{Joseph~T.~Foley and Marcel~Kyas}
\date{2022}{5}{23}%{Year}{Month}{Day}%use numbers
\date{November, 2025}%Generally this is set to the day of the defense
\publocation{Reykjavik, 2025}% Publisher info: Place, Year
%\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
% Change \DocumentDescription 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}
}
\SupervisorHeading{Supervisors}
\Supervisors{Superior A. Teacher, Ph.D. and Helpful A. Teacher, Ph.D.}
\ExaminerHeading{Examiner}
\Examiners{Tough E. Questions}
\hyphenation{Jo-seph Fo-ley}
% If you need to enforce hyphenation in English or Icelandic, put a space separated list in the hyphenation macro.
\begin{document}
%% TODO: get the official cover graphic and have the system fill in the fields for you
@@ -62,37 +80,34 @@ ISBN 978-XXXX-XXXX-X-X (electronic version)}{Printing: RU Printing osf.}{Printed
% I dedicate this to my spouse/child/pet/power animal.
%\end{dedications}
\enableindents{}% turn on/off paragraph indents
% RUM: "Acknowledgements (optional)"%start numbering
\clearpage{}
\tableofcontents{}\clearpage
\listoffigures{}\clearpage
\listoftables{}\clearpage
\tableofcontents{}
\listoffigures{}
\listoftables{}
%% A 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 Symbols}%%RUM: Not mentioned
\chapter{List of Symbols}
%% This list demonstrates the "siunitx" package capabilities
\begin{tabular}{lll}
Symbol &Description &Value/Units\\
$E$ &Energy &\si{\joule}\\ %New function: \unit{} in Livetex 2021
$m$ &Mass &\si{\gram}\\ %New function: \unit{} in Livetex 2021
$c$ &Speed of Light &\SI{2.99E9}{\meter\per\square\second}\\ %New function: \qty{} in Livetex 2021
\begin{tabular}{lll}\toprule
Symbol &Description &Value/Units\\\midrule
$E$ &Energy &\si{\joule}\\
$m$ &Mass &\si{\gram}\\
$c$ &Speed of Light &\SI{2.99E9}{\meter\per\square\second}\\\bottomrule
\end{tabular}
\enableindents{}% turn on/off paragraph indents
\newpage
\begin{abstract}
The goal of this template is to produce electronic output to be uploaded to Skemman that can be later printed out and bound into a professional looking textbook that fits on standard library shelves.
It is important to note that A4 paper when bound requires taller shelf spacing, so the B5 paper format was chosen instead.
When binding a book, the edges that face outward need to be very smooth to reduce contamination and dust from entering the book when it sits on a shelf; this is why traditionally a larger paper size is cut down to the book size.
If your print house expects the stock to be A4, then make sure the rubook has the ``a4paper'' option.
If they prefer to deal with preparation themselves from a B5 pdf, then the default ``b5paper'' option is correct.
The template is optimized for lualatex, but should still work with pdflatex.
In 2019, an attempt was made to unifiy the templates such that it was the same across the Bachelor's ``project report'', Master's ``thesis'', and Doctoral ``dissertation.''
In 2024, the Reykjavik University Library was given the authority and responsibility to determine the formatting of the template which we follow.
To best serve this new direction, the dissertation was moved to a separate file to be printed in B5 and the main template was revised to focus on A4 sized content.
The template is designed to work only with lualatex.
The abstract goes here in English or Icelandic.
It should be a fairly short summary of the entire document.
If you switch to Icelandic mode (IS option to ruthesis) then abstract will become \'{U}tdr\'{a}ttur
If you switch to Icelandic mode then abstract will become \'{U}tdr\'{a}ttur
Keywords / Efnisord: Keywords, separated, by, commas
\end{abstract}
@@ -119,8 +134,6 @@ Additional equipment was generously donated by the Icelandic Tourism Board.
%% 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?}
@@ -133,8 +146,7 @@ It is likely to save you a lot of frustration and errors.
\section{Another Section}
\part{The Second Part} % Parts optional but useful in longer documents
\bibliographystyle{IEEEtran/bibtex/ieeetran}
\bibliography{references}
\printbibliography{}
%% If appendices are needed, uncomment the following line
%% and include the appendices in separate files