Merge branch 'master' into master
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -20,7 +20,7 @@ auto/*
|
||||
*.synctex.gz
|
||||
*.toc
|
||||
*.xdv
|
||||
/main.pdf
|
||||
/main*.pdf
|
||||
/BSC_MSC-NAME-YEAR.pdf
|
||||
/PHD-NAME-YEAR.pdf
|
||||
/instructions.pdf
|
||||
|
||||
@@ -18,12 +18,3 @@ Overleaf's git feature is only available to paying accounts, so you will need to
|
||||
|
||||
### Zotero
|
||||
Zotero can be used to manage your references as well: https://www.overleaf.com/blog/174-import-your-bibs-reference-management-tools-now-linked-to-overleaf-number-backtoschool#.WKLwrjuLRpg
|
||||
|
||||
## Template back references
|
||||
Locations to update when this template location changes:
|
||||
* https://en.ru.is/st/dcs/student-information/thesis/thesis-template/
|
||||
* https://en.ru.is/st/de/phd/
|
||||
|
||||
# Template Archive
|
||||
The old Overleaf version is at https://www.overleaf.com/latex/templates/reykjavik-university-project-report-and-thesis-template/fwdnpmdvwqcj
|
||||
The old SVN repository is found at https://repository.cs.ru.is/svn/thesis-template/trunk/ruthesis/
|
||||
|
||||
29
biblatex-IS.sty
Normal file
29
biblatex-IS.sty
Normal file
@@ -0,0 +1,29 @@
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% Icelandic citation fixes
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% Original Author: Joseph Timothy Foley < foley AT ru dot is >
|
||||
%% Translators: Almar Aðalsteinsson
|
||||
%% Created on 2024-11-07
|
||||
%% This code is distributed under the MIT license
|
||||
%% Details at LICENSE.md
|
||||
%% --------------- Identification ----------------------------
|
||||
\ProvidesPackage{biblatex-IS}
|
||||
\typeout{biblatex-IS V1.0 <2024/11/7>, by Joseph Timothy Foley, foley at RU.IS}
|
||||
|
||||
%% IEEE Guidance from https://bokasafn.ru.is/ieee/heim
|
||||
|
||||
%% Biblatex Strings (particularly for IEEE)
|
||||
%% For safety, always leave a blank space between the argument and the "," at the end
|
||||
%% This must be loaded after packages: polyglossia and biblatex
|
||||
\DefineBibliographyStrings{icelandic}{
|
||||
andothers = o\adddot fl\adddot ,
|
||||
chapter = kafli\adddot ,
|
||||
editor = ritstj\adddot ,
|
||||
editors = ritstj\adddot ,
|
||||
mathesis = Meistaritgerð\addspace ,
|
||||
phdthesis = Doktorsritgerð\addspace ,
|
||||
presentedat = í\addspace ,
|
||||
techreport = Tech\adddot\addspace Rep\adddot ,
|
||||
url = [Rafrænt]\adddot\addspace Aðgengilegt\addspace á\addcolon\addspace ,
|
||||
urlseen = Sótt\addcolon
|
||||
}
|
||||
5
code.tex
5
code.tex
@@ -1,6 +1,6 @@
|
||||
\chapter{Code}\label{cha:code}
|
||||
You can put code in your document using the \texttt{listings} package, which is
|
||||
loaded. Be aware that the listings
|
||||
loaded. Be aware that the \texttt{listings}
|
||||
package does not put code in your document if you are in draft mode
|
||||
unless you give it the \texttt{final} option.
|
||||
|
||||
@@ -80,5 +80,6 @@ label={src:AndroidManifest.xml}]{src/AndroidManifest.xml}
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "PHD-NAME-YEAR"
|
||||
%%% TeX-master: "main"
|
||||
%%% TeX-engine: luatex
|
||||
%%% End:
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -30,7 +30,6 @@
|
||||
\usepackage{siunitx}
|
||||
%% \SI{9.82}{\meter\per\second\square}
|
||||
|
||||
|
||||
%% FIXME system for making notes to each other for what needs to
|
||||
%% be completed in a group document.
|
||||
\usepackage[layout=inline]{fixme}
|
||||
|
||||
BIN
graphics/design-commonalities.pdf
Normal file
BIN
graphics/design-commonalities.pdf
Normal file
Binary file not shown.
Binary file not shown.
84
graphics/ru-logo.svg
Normal file
84
graphics/ru-logo.svg
Normal file
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="51.588085mm"
|
||||
height="51.588085mm"
|
||||
viewBox="0 0 194.9786 194.97859"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
sodipodi:docname="ru-logo.svg"
|
||||
inkscape:export-filename="ru-logo.pdf"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showguides="true"
|
||||
inkscape:zoom="4.4979297"
|
||||
inkscape:cx="97.266972"
|
||||
inkscape:cy="97.489296"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1128"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-232.34182,-117.14594)">
|
||||
<circle
|
||||
style="fill:#ffaaaa;stroke:#ff5555;stroke-width:3.04703;stroke-dasharray:none"
|
||||
id="path1"
|
||||
cx="329.83112"
|
||||
cy="214.63524"
|
||||
r="95.965782" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="text-align:start;writing-mode:lr-tb;direction:ltr;text-anchor:start;fill:none;stroke:#000000;stroke-width:3.77953;stroke-dasharray:none"
|
||||
x="353.2673"
|
||||
y="238.07146"
|
||||
id="text4"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4"
|
||||
x="353.2673"
|
||||
y="238.07146" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="text-align:start;writing-mode:lr-tb;direction:ltr;text-anchor:start;fill:none;stroke:#000000;stroke-width:3.77953;stroke-dasharray:none"
|
||||
x="329.78912"
|
||||
y="203.67149"
|
||||
id="text5"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan5"
|
||||
x="329.78912"
|
||||
y="203.67149"
|
||||
style="text-align:center;text-anchor:middle;fill:#000000;stroke:none">Get ru-logo.pdf</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="329.78912"
|
||||
y="218.67149"
|
||||
style="text-align:center;text-anchor:middle;fill:#000000;stroke:none"
|
||||
id="tspan6">from </tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="329.78912"
|
||||
y="233.67149"
|
||||
style="text-align:center;text-anchor:middle;fill:#000000;stroke:none"
|
||||
id="tspan7">help.ru.is</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
347
instructions.tex
347
instructions.tex
@@ -2,94 +2,131 @@
|
||||
% \documentclass[12pt,a4paper,titlepage,draft]{memoir}
|
||||
% \usepackage[]{ruthesis}
|
||||
% \usepackage{custom}
|
||||
|
||||
% %% declare the paths(s) where you graphics files can be found
|
||||
% \graphicspath{{graphics/}{Graphics/}{./}}
|
||||
|
||||
% \author{Joseph~T.~Foley\formatemail{foley}} % My name, for the titlepage
|
||||
% \title{Project Report and Thesis Preparation Instructions} % The title, for the titlepage
|
||||
% \titleIS{Project Report and Thesis Preparation Instructions in Icelandic}
|
||||
% \renewcommand{\maketitlehookc}{}% Skip the degree details
|
||||
% \renewcommand{\maketitlehookd}{}% Skip the supervisor details
|
||||
|
||||
|
||||
|
||||
% \usepackage[hidelinks]{hyperref} % must be last package loaded!
|
||||
%% it makes hyper-references (citations, URLs, etc) clickable
|
||||
|
||||
|
||||
%% Macros for filling in commonly changed items
|
||||
\newcommand{\TIheadofgrad}{Eyjólfur Ingi Ásgeirsson~\formatemail{eyjolfur AT ru.is} or TD Person}
|
||||
\newcommand{\TItvdadmin}{Sigrún Þorgeirsdóttir~\formatemail{sigrunth AT ru.is}}
|
||||
\newcommand{\TIheadofgrad}{TBA}
|
||||
\newcommand{\TItvdadmin}{Sigrún Þorgeirsdóttir~\formatemail{sigrunth}}
|
||||
|
||||
% \begin{document} % this tells the compiler that it is time to make
|
||||
% % text to print instead of just getting ready.
|
||||
% \maketitle{} % make a title page from the Title, Date, and Author
|
||||
% \newpage
|
||||
%% TODO: Figure out why newpage needed
|
||||
% \listoffixmes{}
|
||||
% \tableofcontents{}
|
||||
% %\section*{Errata} %%section* avoids putting a number
|
||||
% \enableindents{}% turn on/off paragraph indents
|
||||
|
||||
% \mainmatter{}
|
||||
\section{Introduction} % sections break up the document into pieces
|
||||
These instructions detail how to prepare a final project report, master's thesis, or PhD dissertation for Reykjavík University.
|
||||
These instructions (unless otherwise stated) assume you are in the School of Science and Engineering or the School of Computer Science.
|
||||
If you are in another department, you should make sure that the template meets your specific requirements.
|
||||
These instructions (unless otherwise stated) assume you are in the Reykjavík University School of Technology.
|
||||
If you are in another school, you should make sure that the template meets your specific requirements.
|
||||
|
||||
Critical information: The current version of the template uses Lua\LaTeX{} for enhanced font, code, and language support.
|
||||
{\em It will not work on PDF\LaTeX{} nor classic \LaTeX.}
|
||||
On debian based systems, you will need to install the \verb|texlive-luatex| package.
|
||||
|
||||
\begin{description}
|
||||
\item [Overleaf Template:] \url{https://www.overleaf.com/latex/templates/reykjavik-university-project-report-and-thesis-template/fcwvcgnstrjs}
|
||||
\item [Actively developed code:] \url{https://github.com/foleyj2/ru-thesis}
|
||||
\item Current maintainers: Joseph Timothy Foley and Marcel Kyas.
|
||||
Questions, comments, complaints should be submitted at \url{https://github.com/foleyj2/ru-thesis/issues}
|
||||
\end{description}
|
||||
|
||||
\subsection{Frequently Asked Questions}
|
||||
\begin{itemize}
|
||||
\item Current maintainer: Joseph Timothy Foley.
|
||||
Questions, comments, complaints: \formatemail{foley AT ru.is}
|
||||
% or cs-grad AT ru.is %% not sure why we had this address
|
||||
\item {\em Why isn't there the RU logo on the front of the template on Overleaf/Git?}
|
||||
The official cover for these documents is generated by the Reykjavik University department.
|
||||
Putting the RU logo on GitHub or Overleaf's templates is incompatible with their licensing rules due to the font surrounding it, so we cannot legally include it.
|
||||
A cropped version is available at RU Help \url{https://uthelp.refined.site/space/UKB/312279050/Final+Project+%2F+Thesis+%2F+Dissertation+Template}
|
||||
Take this file and put it into the \path{graphics} folder and the logo should update.
|
||||
The official source of the logo for print can be found at \url{https://hr.kreatives.is/wp-content/uploads/2021/12/HR_Logo_Colors_2017.pdf}
|
||||
For Dissertations, see Section~\ref{sec:coverpage} about how to integrate the cover from Communications into your document.
|
||||
\item {\em How do I use APA citations?}
|
||||
The template is setup to use IEEE citations by default.
|
||||
For those who want to use APA, you will need to adjust lines at the top of \path{main.tex}
|
||||
See the comments in the file right after \verb|\usepackage[backend=biber,style=ieee]{biblatex}|
|
||||
|
||||
%\item To receive updates regarding the templates, subscribe at
|
||||
% \url{https://list.ru.is/mailman/listinfo/latex-announcements}
|
||||
\item {\em Why does the margins and page size look weird?}
|
||||
As mentioned in the Abstract, this template was optimized for the B5 paper size so that it in print copy it has the same size as a standard textbook that fits on a standard bookshelf.
|
||||
This size also has the benefit of being similar to an e-Reader screen.
|
||||
|
||||
\item {\em My advisor doesn't like this format and asked me to change it.
|
||||
What should I do?}
|
||||
Please contact the head of Graduate Affairs in your Department about what is required in the thesis format and who determines the formatting.
|
||||
The Reykjavik University library is officially in charge of the outside of the thesis and suggested templates.
|
||||
|
||||
\item {\em Why are there all these blank pages?}
|
||||
In printed books, content in the main body of the book traditionally starts on the Right i.e. ``Recto'' side.
|
||||
The template puts blank pages so that the Abstract, Table of Contents, and Chapters always start on the right side which may involve putting blank pages.
|
||||
|
||||
\item {\em I've been told to use a Word Template. Where is it?}
|
||||
As of 2025-10-15, the RU Library has been working on an Word template for non-technical users.
|
||||
|
||||
The template authors tested MS Word to see if could properly typeset according to standard practice and found it had insufficient enforcement of formatting and margins.
|
||||
In addition, MS Word is unable to hyphenate Icelandic properly which results in very ugly typesetting.
|
||||
If you need a WYSIWYG editor to generate an Icelandic document, we recommend OpenOffice or LibreOffice with the extension developed at University of Iceland: \url{https://extensions.openoffice.org/fr/project/icelandic-hyphenation-dictionary}
|
||||
|
||||
The authors do not recommend using MS Word for any document that must be printed as a book\footnote{Publishers accept MS Word documents then pay people in Asia to extract the content and convert it into XML or LaTeX.}.
|
||||
|
||||
\item {\em Everything suddenly broke while I was trying to fix a citation}
|
||||
The most common causes of this problem:
|
||||
\begin{itemize}
|
||||
\item \texttt{.bib} file has a weird UTF-8 character in it like a dash character "--" (which is different than "-" or "---" separator).
|
||||
This can even be space characters that are non standard.
|
||||
\item Forgetting to end each field with a ",".
|
||||
\item Putting anything except "a-Z0-9" in the citation id field. (the first one)
|
||||
\item Putting a URL in anything except the URL field
|
||||
\item Using ``\&'' to separate author names.
|
||||
Names are separated with the word ``and''.
|
||||
Only use ``,'' when you are reversing the order e.g. ``Foley, Joseph''
|
||||
\item Having ``\&'' or underscore or ``\verb|\|'' in a field
|
||||
\end{itemize}
|
||||
|
||||
There are so many ways the citations can go wrong that Joe recommends using Zotero to export the \texttt{.bib} for beginning users.
|
||||
The JabRef tool is also very helpful for finding issues and managing the \texttt{.bib} files.
|
||||
\end{itemize}
|
||||
|
||||
\subsection{Department of Engineering Links}
|
||||
\section{Coverpage}\label{sec:coverpage}
|
||||
|
||||
Reykjavik University's communications department insists on a common outer appearance of all our theses.
|
||||
A detailed explanation of what the cover should look like is at \url{https://en.ru.is/media/tvd/Instructions.pdf} though this document is from when the School of Technology was the School of Science and Engineering.
|
||||
|
||||
Instructions for specific schools or departments:
|
||||
\begin{description}
|
||||
\item[Information for Students] \url{https://www.ru.is/tvd/upplysingar-fyrir-nemendur/}
|
||||
\item[General MSc Rules] \url{https://www.ru.is/media/tvd/skjol/Rules-for-MSc-programmes-at-RU-SSE-2017_as_accepted_15_08_2017--003-.pdf}
|
||||
\item[MSc Thesis Rules] \url{https://www.ru.is/media/tvd/skjol/Vidbotarreglur_um_meistaraverkefni_2017_as_accepted_15_08_2017.pdf}
|
||||
\item[Department of Computer Science:] To generate the cover with the RU logo, follow the instructions at
|
||||
\url{https://en.ru.is/media/skjol-td/Instructions_2020.pdf}, enter the relevant information into \url{https://en.ru.is/media/skjol-td/TD_E-cover_2019.pdf} and save the file as \texttt{cover.pdf}.
|
||||
\item[Department of Engineering:]
|
||||
\begin{description}
|
||||
\item[M.Sc.] students be given a fill-in PDF cover in CANVAS under the Module ``Templates'' for the course T-901-MEI2 or equivalent. It will have the name ``afræn forsíða á lokaverkefni'' for the Icelandic version or ``Cover Page for MSc thesis - English'' for the English one.
|
||||
\item[Ph.D.] students need to contact the RU Communications department for slightly different custom cover PDF before the document is to be published\footnote{Author Joseph highly suggests doing this 2 weeks before it is due.}.
|
||||
\end{description}
|
||||
\end{description}
|
||||
|
||||
\section{Where to get the files}
|
||||
\begin{description}
|
||||
\item [Actively developed code:] \url{https://github.com/foleyj2/ru-thesis}\item [Overleaf Template:] \url{https://www.overleaf.com/latex/templates/reykjavik-university-project-report-and-thesis-template/fcwvcgnstrjs}
|
||||
\item [Old code:] \url{https://repository.cs.ru.is/svn/thesis-template/branches/stable/RUThesisTemplate.zip}
|
||||
\item [Old Overleaf Template:]
|
||||
\url{https://www.overleaf.com/latex/templates/reykjavik-university-project-report-and-thesis-template/fwdnpmdvwqcj}
|
||||
\item [RU Official Help page:]
|
||||
\url{https://help.ru.is/index.php?/Knowledgebase/Article/View/156/0/final-projectthesisdissertation-template}
|
||||
\end{description}
|
||||
% Published at:
|
||||
% \begin{itemize}
|
||||
% \item \url{http://www.ru.is/tvd/reglur/ritgerdir}
|
||||
% \item \url{http://en.ru.is/sse/rules/template}
|
||||
% \item \url{http://en.ru.is/departments/school-of-computer-science/ph.d-studies/theses/thesis-template/}
|
||||
% \item \url{http://en.ru.is/scs/graduate/why/thesis-template/}
|
||||
% \item \url{http://en.ru.is/departments/computer-science/student-information/thesis/thesis-template/}
|
||||
% \item \url{http://en.ru.is/scs/graduate/phd/#tab5}
|
||||
% \end{itemize}
|
||||
This class supports the RU Communication's desire for the common appearance through the \texttt{rucover} package.
|
||||
Place \texttt{cover.pdf} into the same directory that you have your thesis' main file.
|
||||
\LaTeX{} includes the file automatically if you add \verb|\usepackage{rucover}| to your preamble.
|
||||
You can control the filename with \verb|\usepackage[filename=name.pdf]{rucover}|.
|
||||
|
||||
|
||||
\section{Files and Directories/Folders}
|
||||
\begin{itemize}
|
||||
%\item \path{cls/}: contains the \path{rureport.cls} template used to format these instructions.
|
||||
\item \path{graphics/:} contains the graphics to generate this document.
|
||||
\item \path{covers/:} contains the official covers (from RU Communications) to be put on the outside of the finished book.
|
||||
%\item \path{covers/:} contains the official covers (from RU Communications) to be put on the outside of the finished book.
|
||||
\item \path{IEEEtran/:} contains the IEEE citation style files
|
||||
%\item \path{deadlines.xlsx}: A deadline calculator that uses the semester's
|
||||
%graduation date
|
||||
\end{itemize}
|
||||
|
||||
\section{Signatures}
|
||||
\fxerror{Signature instructions need updating}
|
||||
Please make note of the signature pages at the beginning of the document.
|
||||
These need the examiner's and advisors' signatures to be complete.
|
||||
There is also a page for copyright release that needs to be signed so the library can keep a copy.
|
||||
You must include the signed pages when you upload your document electronically to Skemma.
|
||||
If you are making a print copy, you may need a signature page.
|
||||
This is no longer required for most electronic submissions except perhaps PhD.
|
||||
|
||||
\section{Printing}
|
||||
If you decide to print, make sure you are doing it on archival acid-free paper.
|
||||
@@ -107,14 +144,14 @@ Make sure the document is something you would be proud to have associated with y
|
||||
|
||||
The general submission sequence is:
|
||||
\begin{enumerate}
|
||||
\item Defense complete, minor corrections complete after 3 days of work.
|
||||
\item Defense complete, minor corrections complete after X days of work.
|
||||
\item Save the completed thesis text as \path{main.pdf}
|
||||
%\item Get signature pages signed by supervisor(s) and examiner.
|
||||
%\item Sign the library release page.
|
||||
%\item Scan the pages in, put them into the document in the appropriate places.
|
||||
\item Open the official cover files in \path{cover}, fill in the appropriate fields, and save as a \path{cover.pdf}
|
||||
\item Use a PDF binding tool such as PDFsam \url{https://pdfsam.org} to putthe cover before the first page and save as \path{thesis.pdf}
|
||||
\item Upload the finished \path{thesis.pdf} to Skemman.
|
||||
% \item Use a PDF binding tool such as PDFsam \url{https://pdfsam.org} to putthe cover before the first page and save as \path{thesis.pdf}
|
||||
\item Upload the finished \path{main.pdf} to Skemman.
|
||||
\item An autogenerated email is sent from Skemman.
|
||||
This email should be forwarded to your admin such at \TItvdadmin{}.
|
||||
\item Grade for the thesis is published.
|
||||
@@ -124,14 +161,11 @@ The general submission sequence is:
|
||||
|
||||
\section{LaTeX Template Instructions}
|
||||
Some information is at the top of \path{main.tex} file, this file is for a general overview and common problems.
|
||||
%More information on working with LaTeX at
|
||||
%\url{http://afs.rnd.ru.is/project/htgaru/trunk/how-to-get-around-projects.pdf}
|
||||
|
||||
\subsection{Getting started:}
|
||||
\begin{enumerate}
|
||||
\item Find a safe place to work on your thesis document.
|
||||
The author recommends Git on Overleaf, but anywhere data is backed up is a appropriate.
|
||||
If you wish to have a repository to be setup for your thesis on \url{openproject.cs.ru.is}, email csit AT ru.is.
|
||||
If you are working with sensitive information, you should avoid bitbucket, google drive, dropbox, and any other free cloud service.
|
||||
If you think this is unnecessary, just consider how much time you will lose if your computer crashes.
|
||||
Due to Murphy's law, this is likely to happen just before your thesis is due\footnote{This has happened many times.}.
|
||||
@@ -237,100 +271,42 @@ TexMaker and TeXStudio require a configuration change to do this.
|
||||
\item When using this template with SVN, you will want to tell it to ignore the extensions listed in Appendix~\ref{appendix:latex-gen}
|
||||
\end{itemize}
|
||||
|
||||
\section{SE Master's Thesis Special Instructions}
|
||||
These rules are adapted from \url{https://www.ru.is/media/tvd/skjol/Vidbotarreglur_um_meistaraverkefni_2017_as_accepted_15_08_2017.pdf}
|
||||
\subsection{Rules: Adopted by the School Council August 15th 2017}
|
||||
The following rules are an addition to \textsc{Rules for MSc Progrmmes at Reykjavík University's School of Science and Engineering}
|
||||
as adopted by the council of the School of Science and Engineering August 15th 2017.
|
||||
|
||||
The Council of the School of Science and Engineering first adopted these rules on 19th March 2010 and they have since undergone minor revisions.
|
||||
|
||||
In 2022, members from the School of Engineering, School of Computer Science, and Communications met to simplify the requirements and harmonize them between the two departments.
|
||||
|
||||
In order to graduate with an MSc degree from the School of Science and Engineering (SSE) all students must complete a project that results in a formal thesis and a public defence of the thesis.
|
||||
The thesis can be submitted either in English or Icelandic and should sufficiently present a body of work commensurate with the number of credits of the particular MSc project.
|
||||
|
||||
\subsection{Thesis Layout and Form}
|
||||
The layout and form of the thesis shall in general be according to good practice for a thesis of this type. The student shall consult his/her supervisor on an appropriate structure for the thesis, appendices to the thesis and the reference system, taking into account established practice within the specific field of research. Each department within the School of Science and Engineering may set rules that further specify the form and layout of the thesis, including a recommended template.
|
||||
|
||||
In general, the thesis is expected to contain the following:
|
||||
\begin{itemize}
|
||||
\item Front and back cover (standard)
|
||||
\item Title page (standard format)
|
||||
\item Abstract (in English or Icelandic)
|
||||
\item Acknowledgements (optional)
|
||||
\item Preface (optional)
|
||||
\item Table of contents
|
||||
\item List of tables
|
||||
\item List of figures
|
||||
\item List of drawings and enclosed material, e.g. CD (as appropriate)
|
||||
\item Body Text
|
||||
\item References
|
||||
\item Appendices (as appropriate)
|
||||
\end{itemize}
|
||||
|
||||
The front cover, front page, title page and back cover have a specific form as shown in the attached examples and shall contain all information requested.
|
||||
No variation from this form is permitted.
|
||||
If the thesis is written in English, the title on the title page shall be in English; however, an Icelandic translation of the title must be presented with an Icelandic abstract, and vice versa if the thesis is written in Icelandic.
|
||||
|
||||
An abstract is mandatory in English or Icelandic, following the language of the main text.
|
||||
The maximum length of abstract is 300 words.
|
||||
At the end of the abstract there should be a list of up to five keywords reflecting the content of the thesis.
|
||||
|
||||
The printed version of the thesis shall be on white paper of size B5 and weight \SI{80}{\gram\per\square\meter}.
|
||||
The cover pages will be provided by the School. In general, the font should be STIX2 in 10 points.
|
||||
Guidelines for page numbering and layout:
|
||||
|
||||
\begin{itemize}
|
||||
\item Page numbering is normally i, ii, iii, iv, ... for material preceding the first chapter of the thesis (i.e. for abstract, signature page, acknowledgements, preface, table of contents etc.) and then
|
||||
1, 2, 3, starting from the 1st chapter (Introduction) and continuing throughout the thesis, including the appendices.
|
||||
\item Page numbers should in general be centered at the bottom of each page.
|
||||
\end{itemize}
|
||||
Only in exceptional cases may the thesis have a different form.
|
||||
While the thesis itself has to comply with the layout instructions in regards to the cover pages, abstract and the signature page, it can consist mainly of publishable research paper manuscripts.
|
||||
In this case, the manuscript(s) shall be preceded by a detailed section of introduction to the research topic with a corresponding in-depth literature review and detailed description of the methods used in the MSc project.
|
||||
The minimum length of this section shall be 20 pages excluding a reference list.
|
||||
This format of the MSc thesis should only be used if the supervisor of the thesis assesses the outcome of the MSc project to be publishable in indexed peer reviewed journals in the relevant field of research.
|
||||
If this format of the MSc thesis is used, the student's supervisor has to request a formal acceptance of both the student's Department Head and the Director of Graduate Studies, with a letter summarizing the findings of the project, the novelty beyond the state of the art and the contribution of all authors of the manuscript.
|
||||
This request has to be sent to the Department Head and the Director of Graduate Studies prior to $t-50$ (where “$t$” is the graduation date).
|
||||
The Department Head and Director of Graduate Studies can forward the request to the Graduate Study Council for further evaluation if they find it necessary.
|
||||
|
||||
\subsection{Limited Access}
|
||||
In general, access to the MSc thesis shall be open.
|
||||
If restricting access to a thesis is sought, e.g.\ for the purpose of protecting intellectual property or protecting commercial interests of an industrial partner participating in the MSc project, permission needs to be acquired, see {\em Reglur um skil á lokaritgerðum og lokaverkefnum við Háskólann í Reykjavík\/} (\url{http://www.ru.is/bokasafn/skemman}).
|
||||
If restriction of access to a thesis is granted it should be clearly stated in the thesis right after the keywords following the abstract with specification of the date at which the restriction of access should be lifted.
|
||||
|
||||
\subsection{Submission and Deadlines}
|
||||
The official completion of the MSc thesis is signified by the student submitting the final electronic (PDF) version of the thesis, signed by himself/herself, the supervisor(s) and the examiner to the SSE office and uploaded to Skemman, (see \url{https://www.skemman.is}).
|
||||
See also RU´s rules for submission of theses and final projects ({\em Reglur um skil á lokaritgerðum og lokaverkefnum við Háskólann í Reykjavík\/}, \url{http://www.ru.is/bokasafn/skemman}).
|
||||
% \subsection{Submission and Deadlines}
|
||||
% The official completion of the MSc thesis is signified by the student submitting the final electronic (PDF) version of the thesis, signed by himself/herself, the supervisor(s) and the examiner to the SSE office and uploaded to Skemman, (see \url{https://www.skemman.is}).
|
||||
% See also RU's rules for submission of theses and final projects ({\em Reglur um skil á lokaritgerðum og lokaverkefnum við Háskólann í Reykjavík\/}, \url{http://www.ru.is/bokasafn/skemman}).
|
||||
|
||||
If a student plans to graduate in a particular graduation ceremony, the following deadlines must be respected.
|
||||
Should any of the deadlines below not be respected the student will have to wait for the following graduation ceremony before he/she can graduate.
|
||||
Students are responsible for adhering to these deadlines and are advised to deliver their work in good time.
|
||||
The deadline schedule for the purpose of graduation is as follows (where $t$ is the graduation date and the
|
||||
numbers refer to the number of days prior to graduation) as shown on Table~\ref{tab:deadlines}.
|
||||
\begin{table}
|
||||
\centering
|
||||
\begin{threeparttable}
|
||||
\begin{tabular}{ll}
|
||||
Final draft of thesis delivered to supervisor\tnote{a} &$t-50$\tnote{b}\\
|
||||
Supervisors comments delivered to student &$t-40$\tnote{c,d}\\
|
||||
Thesis delivered to supervisor(s), examiner and department head\tnote{a} &$t-20$\tnote{c}\\
|
||||
Examiner confirms that thesis may be put up for defense &$t-17$\tnote{c}\\
|
||||
Defense &$t-14$\tnote{c}\\
|
||||
Grade posted to the Registrar by SSE office &$t-11$\tnote{c}\\
|
||||
Graduation &$t$\tnote{c}\\
|
||||
\end{tabular}
|
||||
\begin{tablenotes}
|
||||
\item[a] Paper and/or electronic form, as requested by the supervisor(s) and/or examiner.
|
||||
\item[b] Date can be modified by mutual agreement of the supervisor, student and examiner.
|
||||
\item[c] Firm deadlines.
|
||||
\item[d] Or within 10 days after the supervisor has received the final draft, whichever comes first.
|
||||
\item[e] Or within 5 days after the defence, whichever comes first.
|
||||
\end{tablenotes}
|
||||
\caption{Schedule for thesis according to expected graduation date.}\label{tab:deadlines}
|
||||
\end{threeparttable}
|
||||
\end{table}
|
||||
% If a student plans to graduate in a particular graduation ceremony, the following deadlines must be respected.
|
||||
% Should any of the deadlines below not be respected the student will have to wait for the following graduation ceremony before he/she can graduate.
|
||||
% Students are responsible for adhering to these deadlines and are advised to deliver their work in good time.
|
||||
% The deadline schedule for the purpose of graduation is as follows (where $t$ is the graduation date and the
|
||||
% numbers refer to the number of days prior to graduation) as shown on Table~\ref{tab:deadlines}.
|
||||
% \begin{table}
|
||||
% \centering
|
||||
% \begin{threeparttable}
|
||||
% \begin{tabular}{ll}
|
||||
% Final draft of thesis delivered to supervisor\tnote{a} &$t-50$\tnote{b}\\
|
||||
% Supervisors comments delivered to student &$t-40$\tnote{c,d}\\
|
||||
% Thesis delivered to supervisor(s), examiner and department head\tnote{a} &$t-20$\tnote{c}\\
|
||||
% Examiner confirms that thesis may be put up for defense &$t-17$\tnote{c}\\
|
||||
% Defense &$t-14$\tnote{c}\\
|
||||
% Grade posted to the Registrar by SSE office &$t-11$\tnote{c}\\
|
||||
% Graduation &$t$\tnote{c}\\
|
||||
% \end{tabular}
|
||||
% \begin{tablenotes}
|
||||
% \item[a] Paper and/or electronic form, as requested by the supervisor(s) and/or examiner.
|
||||
% \item[b] Date can be modified by mutual agreement of the supervisor, student and examiner.
|
||||
% \item[c] Firm deadlines.
|
||||
% \item[d] Or within 10 days after the supervisor has received the final draft, whichever comes first.
|
||||
% \item[e] Or within 5 days after the defence, whichever comes first.
|
||||
% \end{tablenotes}
|
||||
% \caption{Schedule for thesis according to expected graduation date.}\label{tab:deadlines}
|
||||
% \end{threeparttable}
|
||||
% \end{table}
|
||||
|
||||
\subsection{Thesis Defense (Oral Examination Procedure)}
|
||||
The examiner is selected by the Department Head in consultation with the supervisor(s).
|
||||
@@ -344,7 +320,7 @@ Normally, the student will be informed of the grade the next day.
|
||||
If the thesis is subject to confidentiality, or for other valid reasons approved by the Director of Graduate Studies, the oral examination may be closed to the public.
|
||||
\subsection{Grading}
|
||||
The appointed examiner shall evaluate the thesis and the oral defense of the thesis, together with the
|
||||
supervisor(s) and the department´s representative.
|
||||
supervisor(s) and the department's representative.
|
||||
One grade shall be awarded for the thesis and defence.
|
||||
The minimum passing grade is 6.0, see Guidelines for grading MSc theses in the appendix.
|
||||
The following factors shall be taken into account:
|
||||
@@ -356,13 +332,13 @@ The following factors shall be taken into account:
|
||||
\item Presentation
|
||||
\end{itemize}
|
||||
|
||||
The number of ECTS credits awarded for the Master’s project shall be taken into account.
|
||||
The number of ECTS credits awarded for the Master's project shall be taken into account.
|
||||
Thus, significantly more demands in terms of originality, quantity and scientific quality of the work should be placed on the student for a 60 ECTS thesis than a 30 ECTS thesis.
|
||||
|
||||
\subsection{Guidelines for grading MSc thesis (English)}
|
||||
The guidelines below describe typical projects in different grading brackets.
|
||||
This is meant for
|
||||
examiners and instructors in grading master‘s theses.
|
||||
examiners and instructors in grading master's theses.
|
||||
The projects need not fulfil every aspect of
|
||||
these desciptions in order to be awarded the corresponding grade.
|
||||
\begin{description}
|
||||
@@ -377,32 +353,32 @@ The handling of the material shows considerable originality and independant thou
|
||||
The thesis may well lead to a publishable article.
|
||||
Exceptionally well polished thesis with very good grammar, spelling and language use.
|
||||
The thesis is in English.
|
||||
The student‘s performance in the defense is excellent.
|
||||
The student's performance in the defense is excellent.
|
||||
\item[First grade (7,5-8,5)]
|
||||
The project is very good and handling of material is good and somewhat original.
|
||||
Clear understanding of the material and the definition of the problem is good and the solving well organized.
|
||||
Data gathering and processing without major weaknesses and intelligent use of references.
|
||||
The thesis is well arranged and grammar, spelling and language is good.
|
||||
The student‘s performance in the defense is either good or very good.
|
||||
The student's performance in the defense is either good or very good.
|
||||
\item[Second grade (6,0-7,0)]
|
||||
The project is acceptable.
|
||||
Handling of material is fair and some independant thinking.
|
||||
Definition and analysis of project reflects some understanding.
|
||||
Data collection and processing is without major flaws.
|
||||
Deficiencies in the literature review.
|
||||
Flaws have not been addressed despite the instructor‘s suggestions.
|
||||
Flaws have not been addressed despite the instructor's suggestions.
|
||||
Language, grammar and spelling is fair.
|
||||
The student‘s performance in the defense is fair.
|
||||
The student's performance in the defense is fair.
|
||||
\item[Fail (1,0-5,5)]
|
||||
The project is unacceptable.
|
||||
The project has major flaws that have not been addressed despite the instructor‘s suggestions.
|
||||
The project has major flaws that have not been addressed despite the instructor's suggestions.
|
||||
Limited understanding of the material.
|
||||
Definitions and analysis do not show understanding of what is relevant in solving the problem at hand.
|
||||
Major errors or misunderstanding.
|
||||
Data collection and analysis has deficiencies and literature review is weak.
|
||||
The subject is not adhered to or major inconsistencies.
|
||||
Language, grammar and spelling is fair or poor.
|
||||
The student‘s performance in the defense is fair or poor.
|
||||
The student's performance in the defense is fair or poor.
|
||||
\end{description}
|
||||
|
||||
\subsection{Viðmið fyrir einkunnagjöf}
|
||||
@@ -461,57 +437,6 @@ Final Preparation for PhD Dissertations:\footnote{Always refer to the website in
|
||||
\item Finally bring the copies to head of graduate studies(\TIheadofgrad{}), who should forward them as appropriate.
|
||||
\end{enumerate}
|
||||
|
||||
\section{BSc Programs}
|
||||
\begin{itemize}
|
||||
\item Bioinformatics, Biomedical Engineering
|
||||
\item Civil Engineering with specialization in Concrete Technology
|
||||
\item Civil Engineering with specialization in Construction Management
|
||||
\item Civil Engineering with specialization in Structural Design
|
||||
\item Civil Engineering with specialization in Transport and Urban Planning
|
||||
\item Construction Management
|
||||
\item Electrical Engineering
|
||||
\item Mechatronics
|
||||
\item Engineering Management
|
||||
\item Exercise Science and Coaching
|
||||
\item Financial Engineering
|
||||
\item Mechanical Engineering
|
||||
\item Sustainable Energy Engineering
|
||||
\item Sustainable Science
|
||||
\item Urban Planning and Transport
|
||||
\end{itemize}
|
||||
|
||||
\section{MSc Additional Material}
|
||||
%% TODO: Attach the material from the old PDF to the end
|
||||
\begin{itemize}
|
||||
\item Cover pages, front and back (standard, provided by SSE)
|
||||
\item Example of a front page (text to appear in window on front cover page)
|
||||
\item Example of a title page
|
||||
\item Example of a signature page
|
||||
\item List of MSc degrees awarded
|
||||
\end{itemize}
|
||||
|
||||
\subsection{List of Degrees Awarded}
|
||||
|
||||
\begin{tabular}{ll}
|
||||
Master of Science in Biomedical Engineering &Meistarapróf (MSc) í heilbrigðisverkfræði\\
|
||||
Master of Science in Civil Engineering &Meistarapróf (MSc) í byggingarverkfræði\\
|
||||
Master of Science in Electrical Engineering &Meistarapróf (MSc) í rafmagnsverkfræði\\
|
||||
Master of Science in Engineering Management &Meistarapróf (MSc) í rekstrarverkfræði\\
|
||||
Master of Science in Exercise Science and Coaching &Meistarapróf (MSc) í íþróttavísindum og þjálfun\\
|
||||
Master of Science in Financial Engineering &Meistarapróf (MSc) í fjármálaverkfræði\\
|
||||
Master of Science in Mechanical Engineering &Meistarapróf (MSc) í vélaverkfræði\\
|
||||
Master of Science in Sustainable Energy Engineering --- ISE &Meistarapróf (MSc) í orkuverkfræði --- ISE\\
|
||||
Master of Science in Sustainable Energy --- ISE &Meistarapróf (MSc) í orkuvísindum --- ISE\\
|
||||
\end{tabular}
|
||||
|
||||
\section{Computer Science Programs}
|
||||
\begin{itemize}
|
||||
\item Computer Science
|
||||
\item Software Engineering
|
||||
\item Language Technology
|
||||
\end{itemize}
|
||||
|
||||
|
||||
\subsection{LaTeX Generated file extensions}\label{appendix:latex-gen}
|
||||
These are the files that \LaTeX{} generates when you run it.
|
||||
If you are using SVN or another version control system, you want to tell that system to ignore these files:
|
||||
@@ -560,24 +485,10 @@ If you are using SVN or another version control system, you want to tell that sy
|
||||
auto
|
||||
Thumbs.db
|
||||
\end{verbatim}
|
||||
|
||||
%\end{document}
|
||||
%%%%%%%%%%%%%%%%%%%% TeXStudio Magic Comments %%%%%%%%%%%%%%%%%%%%%
|
||||
%% These comments that start with "!TeX" modify the way TeXStudio works
|
||||
%% For details see http://texstudio.sourceforge.net/manual/current/usermanual_en.html Section 4.10
|
||||
%%
|
||||
%% What encoding is the file in?
|
||||
% !TeX encoding = UTF-8
|
||||
%% What language should it be spellchecked?
|
||||
% !TeX spellcheck = en_US
|
||||
%% What program should I compile this document with?
|
||||
% !TeX program = pdflatex
|
||||
%% Which program should be used for generating the bibliography?
|
||||
% !TeX TXS-program:bibliography = txs:///bibtex
|
||||
%% This also sets the bibliography program for TeXShop and TeXWorks
|
||||
% !BIB program = bibtex
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "main.tex"
|
||||
%%% TeX-master: "main"
|
||||
%%% TeX-engine: luatex
|
||||
%%% End:
|
||||
|
||||
@@ -24,8 +24,8 @@ RoboSub competition website (and documents) if working on the lighting system fo
|
||||
\section{Example Section}
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=0.3\textwidth]{ru-logo}
|
||||
\caption[RU Logo]{Reykjavík University Logo, used with permission.}\label{fig:ru-logo}
|
||||
\includegraphics[width=0.8\textwidth]{design-commonalities}
|
||||
\caption[Design]{Design Commonalities\cite{foley2021dindesign}}\label{fig:ru-logo}
|
||||
\end{figure}
|
||||
\begin{table}
|
||||
\centering
|
||||
@@ -37,8 +37,8 @@ RoboSub competition website (and documents) if working on the lighting system fo
|
||||
\end{tabular}
|
||||
\caption{Table of squared numbers}\label{tab:numbers}
|
||||
\end{table}
|
||||
There is an RU logo in Figure~\ref{fig:ru-logo}.
|
||||
This logo will scale according to the width of the text on the page.
|
||||
There is an example of how to map design methods in CDIO, Axiomatic Design, and Product Design in Figure~\ref{fig:ru-logo}.
|
||||
This image will scale according to the width of the text on the page.
|
||||
There is a helpful list of squared numbers in Table~\ref{tab:numbers}.
|
||||
This table is formatted in the style of a book, which is very differerent than the style one is used to in Excel.
|
||||
|
||||
@@ -53,5 +53,6 @@ The test text ``Lorem Ipsum''\index{Lorem Ipsum} is from an ancient text from 45
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "PHD-NAME-YEAR"
|
||||
%%% TeX-master: "main"
|
||||
%%% TeX-engine: luatex
|
||||
%%% End:
|
||||
|
||||
175
main-dissertation.tex
Normal file
175
main-dissertation.tex
Normal file
@@ -0,0 +1,175 @@
|
||||
%%%% This template is for Dissertations (PhD)
|
||||
%%%% Make sure you have lualatex installed!!! (package texlive-luaatex)
|
||||
\documentclass[showtrims, b5paper]{rubook}
|
||||
%% a4paper or b5paper: paper stock size.
|
||||
%% If A4, show cut lines for the printer. If b5, no cut lines.
|
||||
\usepackage{rudissertation}%% RU PhD Dissertation 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{rusignaturepage}%enable this if you need \signaturepage{}
|
||||
|
||||
\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]
|
||||
|
||||
\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 graphics-cropped folder to speed up processing.
|
||||
|
||||
\PassOptionsToPackage{hidelinks}{hyperref}%disable boxes around links
|
||||
\usepackage{hyperref}%This must be the last package loaded
|
||||
|
||||
%%%%%%%%%%%%%%%%%Information for the Title page %%%%%%%%%%%%%%%%%
|
||||
|
||||
\title{Thesis and Project Report Template for \theInstitution{}}
|
||||
\author{Joseph~T.~Foley and Marcel~Kyas}
|
||||
\date{\today}%Generally this is set to the day of the defense
|
||||
|
||||
%\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 \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}
|
||||
}
|
||||
|
||||
\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
|
||||
\maketitle{}
|
||||
\disableindents{}%frontmatter material mostly doesn't need indents
|
||||
\copyrightpage{}
|
||||
|
||||
% If this is a PhD, register for an ISSN and ISBN, then:
|
||||
% \copyrightpage{ISSN xxxx-yyyy\\ISBN 978-xxxxxxxxxx\\\url{http://hdl.handle.net/1946/xxxx}\\}
|
||||
%\signaturepage{} %Generally only for Print copies and needs the rusignaturepage package
|
||||
|
||||
%\begin{dedications}% Optional
|
||||
% I dedicate this to my spouse/child/pet/power animal.
|
||||
%\end{dedications}
|
||||
|
||||
% RUM: "Acknowledgements (optional)"%start numbering
|
||||
\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}
|
||||
%% This list demonstrates the "siunitx" package capabilities
|
||||
\begin{tabular}{lll}\toprule
|
||||
Symbol &Description &Value/Units\\\midrule
|
||||
$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}\\\bottomrule
|
||||
% New function: \qty{} in Livetex 2021
|
||||
\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 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 then abstract will become \'{U}tdr\'{a}ttur
|
||||
|
||||
Keywords / Efnisord: Keywords, separated, by, commas
|
||||
\end{abstract}
|
||||
|
||||
|
||||
% RUM: "Acknowledgements (optional)"
|
||||
\chapter*{Acknowledgments}
|
||||
\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{}
|
||||
|
||||
\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}
|
||||
\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.
|
||||
For everyone else, please read the instructions before getting started.
|
||||
It is likely to save you a lot of frustration and errors.
|
||||
\input{instructions}%\input{} just adds the code
|
||||
\part{Demonstration}
|
||||
\include{introduction}%include{} starts a new page
|
||||
\section{Another Section}
|
||||
\part{The Second Part} % Parts optional but useful in longer documents
|
||||
|
||||
\printbibliography{}
|
||||
|
||||
%% 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
|
||||
%%% TeX-engine: luatex
|
||||
%%% End:
|
||||
98
main.tex
98
main.tex
@@ -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
|
||||
|
||||
@@ -12,6 +12,18 @@
|
||||
Author = {Name O. F. Student and Joseph Timothy Foley},
|
||||
}
|
||||
|
||||
@InProceedings{foley2021dindesign,
|
||||
author = {Joseph Timothy Foley and Marcel Kyas},
|
||||
title = {Choosing the Right {D} for Design},
|
||||
booktitle = {CDIO Annual International Conference},
|
||||
pages = 12,
|
||||
owner = {foley},
|
||||
author = {Joseph Timothy Foley},
|
||||
year = 2021,
|
||||
address = {Bangkok, Thailand},
|
||||
note = {June 21--23, Advances in CDIO},
|
||||
}
|
||||
|
||||
@Article{article-crossref,
|
||||
Title = {The Gnats and Gnus Document Preparation System},
|
||||
Author = {L[eslie] A. Aamport},
|
||||
@@ -524,7 +536,7 @@
|
||||
@Misc{cicero46deFinibus,
|
||||
Title = {de Finibus Bonorum et Malorum (The Extremes of Good and Evil)},
|
||||
Author = {Cicero},
|
||||
Year = {-45},
|
||||
Year = {45},
|
||||
Note = {Section 1.10.32 }
|
||||
}
|
||||
|
||||
|
||||
47
rubook.cls
47
rubook.cls
@@ -1,48 +1,26 @@
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% LaTeX Base Class Reykjavík University Books
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% Original Author: Lars Engebretsen (KTH)
|
||||
%% Source not found on Google, an archived copy [2004/12/14 v2.1 Document Class for KTH Theses] can be found at
|
||||
%% https://repository.cs.ru.is/svn/thesis-template/trunk/non-ru/kth.se/kthesis/tex/latex/kthesis/kthesis.cls
|
||||
%% Refactored in 2017 by Gabriel Hjort Blindell <ghb AT kth.se>
|
||||
%% Page size options original Author: Lars Engebretsen (KTH)
|
||||
%% Source not found on Google, an archived copy [2004/12/14 v2.1 Document Class for KTH Theses]
|
||||
%% was used in the original version
|
||||
%% New version in 2017 by Gabriel Hjort Blindell <ghb AT kth.se>
|
||||
%% Source at https://github.com/gablin/ghb-thesis/blob/master/kthesis.cls
|
||||
%% This has a Creative Commons Attribution-NoDerivatives 4.0
|
||||
%% <http://creativecommons.org/licenses/by-nc-nd/4.0/> for details).
|
||||
%% Which means we sadly can't modify it for our use.
|
||||
%% Refactored from Lars' version on 2022-05-22: Joseph Timothy Foley <foley AT ru.is>
|
||||
%% Questions, comments, complaints: latex@RU.IS
|
||||
%% Page size options from Lars' version on 2022-05-22: Joseph Timothy Foley <foley AT ru.is>
|
||||
%% Created on 2022-05-22
|
||||
%% This code is distributed under the MIT license
|
||||
%% Details at LICENSE.md
|
||||
%% --------------- Identification ----------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\newcommand{\fileversion@rubook}{Revision 1.0}
|
||||
\newcommand{\filedate@rubook}{2022/05/22}% must be YYYY/MM/DD!
|
||||
\newcommand{\fileauthor@rubook}{Joseph Timothy Foley, foley at RU.IS}
|
||||
\ProvidesPackage{rubook}[\filedate@rubook by \fileauthor@rubook]
|
||||
\typeout{Book Class for Reykjavik University \fileversion@rubook <\filedate@rubook>, by \fileauthor@rubook}
|
||||
\newcommand{\fileversion@rubook}{V1.1}
|
||||
\ProvidesClass{rubook}[2024/11/07 Reykjavik University Book class\fileversion@rubook]
|
||||
\typeout{Book Class for Reykjavik University \fileversion@rubook}
|
||||
|
||||
\newcommand{\@rubook@setpapersize@afour}{\stockaiv{}}
|
||||
\newcommand{\@rubook@setpapersize@bfive}{\stockbv{}}
|
||||
%\def\@rubook@setpapersize@afour{%
|
||||
% \setstocksize{297mm}{210mm}
|
||||
% \settrimmedsize{297mm}{210mm}{*}
|
||||
% \settypeblocksize{49pc}{33pc}{*}}
|
||||
% \def\@rubook@setpapersize@bfive{%
|
||||
% \setstocksize{297mm}{210mm}
|
||||
% \settrimmedsize{239mm}{169mm}{*}
|
||||
% \setlength{\trimtop}{\stockheight}
|
||||
% \addtolength{\trimtop}{-\paperheight}
|
||||
% \setlength{\trimtop}{0.5\trimtop}
|
||||
% \setlength{\trimedge}{\stockwidth}
|
||||
% \addtolength{\trimedge}{-\paperwidth}
|
||||
% \ifpdf
|
||||
% \AtBeginDocument{%
|
||||
% \setlength{\pdfpagewidth}{\stockwidth}
|
||||
% \setlength{\pdfpageheight}{\stockheight}}
|
||||
% \fi
|
||||
% \settypeblocksize{43pc}{30pc}{*}}
|
||||
|
||||
\DeclareOption{g5paper}{\OptionNotUsed}
|
||||
\DeclareOption{a3paper}{\OptionNotUsed}
|
||||
\DeclareOption{a4paper}{\def\rubook@papersize{afour}}% paper stock a4
|
||||
@@ -63,14 +41,11 @@
|
||||
\LoadClass[a4paper]{memoir}
|
||||
\@nameuse{@rubook@setpapersize@\rubook@papersize}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%% MARGINS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Note: The old MS word template uses even 25.4mm margins which works poorly as a bound book
|
||||
\setxlvchars{}\setlxvchars{}
|
||||
%% calculate textblock based upon character size
|
||||
\trimLmarks{}% trim marks get cut off
|
||||
\pagebv{}% cut to b5
|
||||
%\settrims{0pt}{0pt}
|
||||
\setpageml{\paperheight}{\paperwidth}{*}%page area on middle left for cutting
|
||||
%\checkandfixthelayout% implement the margins if we weren't using canonic
|
||||
|
||||
@@ -86,3 +61,9 @@
|
||||
pagecenterx:\printlength{\pagecenterx}\\
|
||||
pagecentery:\printlength{\pagecentery}\\
|
||||
}
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "main"
|
||||
%%% TeX-engine: luatex
|
||||
%%% End:
|
||||
|
||||
23
rucover.sty
Normal file
23
rucover.sty
Normal file
@@ -0,0 +1,23 @@
|
||||
% Marcel Kyas <marcel at ru.is>
|
||||
%
|
||||
% Simple hack to place the cover page in front of the thesis
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{rucover}[2024/10/24]
|
||||
|
||||
\providecommand\rucover{cover.pdf}
|
||||
\RequirePackage{xkeyval}
|
||||
\DeclareOptionX{filename}{\def\rucover{#1}}
|
||||
\ProcessOptionsX
|
||||
|
||||
\IfFileExists{\rucover}{%
|
||||
\RequirePackage{pdfpages}
|
||||
\AtBeginDocument{%
|
||||
\pagestyle{empty}%
|
||||
\includepdf{cover.pdf}%
|
||||
\pagestyle{empty}%
|
||||
\clearforchapter%
|
||||
}%
|
||||
}{%
|
||||
\typeout{Cover page file \rucover not found}
|
||||
}
|
||||
310
rudissertation.sty
Normal file
310
rudissertation.sty
Normal file
@@ -0,0 +1,310 @@
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% LaTeX Base Package Reykjavík University PhD Dissertations,
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% Original Author: Bjórn Þór Jónsson (bjorn AT ru.is)
|
||||
%% Refactored/Simplified on 2020-02-03: Joseph Timothy Foley <foley AT ru.is>
|
||||
%% Questions, comments, complaints: latex@RU.IS
|
||||
%% Created on 2020-02-03
|
||||
%% This code is distributed under the MIT license
|
||||
%% Details at LICENSE.md
|
||||
%% --------------- Identification ----------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{rudissertation}[2024/11/15 RU Thesis Formatting V3.2]
|
||||
%% --------------- Option Processing--------------------------
|
||||
%% The forcegraphics option renders graphics even in draft mode
|
||||
\DeclareOption{forcegraphics}{%
|
||||
\PassOptionsToPackage{final}{graphicx}
|
||||
\PassOptionsToPackage{final}{pdfpages}
|
||||
\PassOptionsToPackage{final}{hyperref}
|
||||
%% add any other elements that should be included in draft
|
||||
\finalifforcegraphics{graphicx}%We have to catch graphicx early
|
||||
\typeout{rudissertation option: forcegraphics}%
|
||||
}%
|
||||
|
||||
%%% Memoir test: Memoir Manual 21.2 p.367
|
||||
%% Only works with the memoir class!!!!!!!!!!!!!!!
|
||||
\@ifclassloaded{memoir}{\let\endrudissertation\relax}{\let\endrudissertation\endinput
|
||||
\PackageError{rudissertation}{The rudissertation package only works with the memoir class}%
|
||||
{\@ehd}}
|
||||
\endrudissertation
|
||||
%%---------------- Execution of Options -----------------------------
|
||||
\ProcessOptions\relax% this stops searching for a * in \ProcessOptions*
|
||||
%% Read page 20 of http://latex-project.org/guides/clsguide.pdf
|
||||
%% carefully before modifying any of the execution and previous section.
|
||||
%% ---------------- Package Loading -----------------------------
|
||||
|
||||
|
||||
%% ---------------- Internationalization -----------------------------
|
||||
% Font setup
|
||||
% Standardized STIX2 fonts that print well, display on
|
||||
% e-readers/screens clearly, and have compatible licensing
|
||||
% requirements
|
||||
% allows UTF encoding, needed for Icelandic and other accented characters
|
||||
\RequirePackage{unicode-math}% loads STIX and math unicode characters
|
||||
\setmathfont{STIX Two Math}
|
||||
\setmainfont{STIX Two Text}[
|
||||
Extension={.otf},
|
||||
UprightFont={*-Regular},
|
||||
BoldFont={*-Bold},
|
||||
ItalicFont={*-Italic},
|
||||
BoldItalicFont={*-BoldItalic}]
|
||||
|
||||
%% ---------------- Graphics ------------------------------
|
||||
\RequirePackage{graphicx}
|
||||
%% GraphicsX converts and includes graphics intelligently which is needed for jpg, png, etc.
|
||||
|
||||
%% ---------------- URLs and Paths -----------------------------
|
||||
\PassOptionsToPackage{obeyspaces,spaces,hyphens,allowmove}{url}
|
||||
\RequirePackage{xurl}
|
||||
%% The xurl package typesets \url{} and unix file \path{} nicely.
|
||||
%% Watch out that you leave a space after a last \ e.g. \path{C:\ }
|
||||
%% Warning: allowmove makes URLs not-fragile, so they can go in things that move
|
||||
%% If this breaks you will get very very weird errors
|
||||
|
||||
%% ---------------- Main Code -----------------------------
|
||||
%% Remember that we can declare commands (to make fragile things safe)
|
||||
%% The * form is for ``short'' commands, not longer than a paragraph
|
||||
%% \DeclareRobustCommand{cmd}[num][default]{definition}
|
||||
%% \DeclareRobustCommand*{cmd}[num][default]{definition}
|
||||
%% For checking if commands are redefined
|
||||
%% \CheckCommand{cmd}[num][default]{definition}
|
||||
|
||||
%% Comprehensive list of styles for memoir is in 7.2 (page 106)
|
||||
%% If you need to adjust the style on the chapters, modify chapter
|
||||
%% predefined styles:
|
||||
%% empty: no header nor footer
|
||||
%% plain: page num in bot center
|
||||
%% simple: pagenum and marks on top outer edges
|
||||
%\makeoddhead{chapter}{}{}{} %to change only one side
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Memoir titlepage definition and info at p.64
|
||||
\renewcommand{\pretitle}{\begin{center}}%
|
||||
\renewcommand{\posttitle}{\par\end{center}}
|
||||
|
||||
% \renewcommand{\maketitlehookb}{\begin{center}\titletextfont{}by\end{center}\vspace{1mm}}
|
||||
% 1mm adjustment to center the "by". I've disabled it because I think the "by" looks unprofessional.
|
||||
|
||||
\renewcommand{\preauthor}{\begin{center}\large\par}
|
||||
\renewcommand{\postauthor}{\par\end{center}}
|
||||
\newcommand{\titledetails}[1]{\renewcommand{\maketitlehookc}{#1}}
|
||||
\renewcommand{\predate}{\begin{center}\large}
|
||||
\renewcommand{\postdate}{\par\end{center}}
|
||||
\aliaspagestyle{title}{empty}
|
||||
\aliaspagestyle{titlinpage}{empty}
|
||||
%% ----- COPYRIGHT PAGE -----------------------------------------------------------------------
|
||||
\RequirePackage{ccicons}% need for copyright \textcopyright{}
|
||||
\hyphenation{Non-Com-mercial}
|
||||
\newcommand{\copyrightpage}[1]{
|
||||
% actually in books, this is often on the left side
|
||||
\begin{coverleft}
|
||||
\begin{vplace}[1.0] % ratio of space above and below
|
||||
\setlength{\parskip}{\baselineskip}%without indents, we need blank line separators
|
||||
\begin{flushleft}
|
||||
#1
|
||||
Copyright \textcopyright{} \the\year{} \theauthor{} \ccbyncnd{}
|
||||
\end{flushleft}
|
||||
This document is licensed under a Creative Commons Attribution 4.0 (CC BY-NC-SA) (\url{http://creativecommons.org/licenses/by-nc-nd/4.0/}) license.
|
||||
However, this license does not cover the Reykjavik University logo (word- and figurative mark).
|
||||
The Reykjavik University logo is a registered trademark and remains the intellectual property of Reykjavik University.
|
||||
Any reuse, redistribution, or modification of the Reykjavik University logo is strictly prohibited without explicit written permission from Reykjavik University.
|
||||
|
||||
You may copy and redistribute the material in any medium or format, provide appropriate credit, link to the license and indicate what changes you made.
|
||||
You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
|
||||
You may not use the material for commercial purposes.
|
||||
If you remix, transform or build upon the material, you may not distribute the modified material.
|
||||
|
||||
The images or other third party material in this thesis are included in the book's Creative Commons license, unless indicated otherwise in a credit line to the material.
|
||||
If material is not included in the book's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
|
||||
The use of general descriptive names, registered names, trademarks, service marks, etc.
|
||||
in this publication does not imply, even in the absence of a specific statement that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
|
||||
\end{vplace}
|
||||
\end{coverleft}
|
||||
\clearpage
|
||||
}
|
||||
|
||||
%% ---------- Page Styles --------------------------------------------------------------
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% Setup the formatting at the beginning of the document (Front material)
|
||||
%% See Memoir documentation, page 73
|
||||
|
||||
%%%%%%%%% PARAGRAPH ADJUSTMENTS %%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newlength{\savedparindent}
|
||||
\newcommand{\disableindents}{\setlength{\parindent}{0pt}}
|
||||
\newcommand{\enableindents}{\setlength{\parindent}{\savedparindent}}
|
||||
|
||||
\AtBeginDocument{
|
||||
\frontmatter
|
||||
\setlength{\savedparindent}{\parindent} % save the current parindent
|
||||
\SingleSpacing%
|
||||
}
|
||||
|
||||
%% Disable clearforchapter on formats that do not need blank pages
|
||||
%\renewcommand{\clearforchapter}{\newpage}
|
||||
% waste less blank pages in draft mode
|
||||
% see p123 http://ctan.uib.no/macros/latex/contrib/memoir/memman.pdf
|
||||
|
||||
\newenvironment{cover}% commonalities for the cover material
|
||||
{ \clearforchapter%
|
||||
\thispagestyle{cover}%
|
||||
\disableindents%
|
||||
\SingleSpacing}%
|
||||
{%\setlength{\TPMargin}{0mm} %% margins inside the textblock
|
||||
%% I don't remember why we need to mess with \TPmargin
|
||||
%% Might be OK to remove --foley
|
||||
\enableindents{}}%
|
||||
\newenvironment{coverleft}% material that must be on the even (back) side
|
||||
{ \cleartoverso%
|
||||
\thispagestyle{cover}%
|
||||
\disableindents%
|
||||
\SingleSpacing}%
|
||||
{\enableindents{}}%
|
||||
% \newenvironment{coveranyside}%This is material that can start on even or odd
|
||||
% { \clearpage%
|
||||
% \thispagestyle{cover}%
|
||||
% \disableindents%
|
||||
% \SingleSpacing}%
|
||||
% {\enableindents{}}%
|
||||
|
||||
|
||||
|
||||
%% ----- DEDICATIONS ---------- ---------------------------------------------------------------
|
||||
\newenvironment{dedications}{\begin{cover}\begin{vplace}[0.33]% ratio of space above and below
|
||||
\begin{center}\em}
|
||||
{\end{center}\normalfont\end{vplace}\end{cover}}
|
||||
|
||||
%%% Page styles Memoir Manual ch7.2 p109
|
||||
\aliaspagestyle{book}{simple}
|
||||
\aliaspagestyle{chapter}{plain}%At the beginning we want page numbers on chapters
|
||||
\aliaspagestyle{cleared}{simple}
|
||||
\aliaspagestyle{part}{empty}
|
||||
|
||||
\makepagestyle{plain}% Just page numbers in corners
|
||||
\makeevenhead{plain}{\thepage}{}{}
|
||||
\makeoddhead{plain}{}{}{\thepage}
|
||||
|
||||
\makepagestyle{cover}% The cover pages have no page numbers
|
||||
\makeoddfoot{cover}{}{}{}
|
||||
\makeevenfoot{cover}{}{}{}
|
||||
|
||||
\newcommand{\frontmatterhead}[1]{{%based upon \chapterhead from memman.pdf p.84
|
||||
% \clearpage% move to correct page
|
||||
\disableindents%
|
||||
\thispagestyle{chapter} % set the page style
|
||||
\insertchapterspace% space between previous and the title
|
||||
\chapterheadstart%\beforchapskip space before heading
|
||||
\printchaptertitle{#1}% title
|
||||
\addcontentsline{toc}{chapter}{#1}
|
||||
\afterchaptertitle% \afterchapskip space after title
|
||||
}}
|
||||
|
||||
%%% Section numbering and the Table of Contents
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%55
|
||||
\maxsecnumdepth{subsubsection} % default by \mainmatter in preamble
|
||||
\maxtocdepth{subsubsection} % default by \mainmatter in preamble
|
||||
|
||||
%%% Code to include files if they exist
|
||||
\newcommand{\InputIfExists}[1]{\IfFileExists{#1}{\input{#1}}{}}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% TWEAKS
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%
|
||||
%% Some adjustments to float placement
|
||||
\setcounter{topnumber}{5} \def\topfraction{1} \setcounter{bottomnumber}{4}
|
||||
\def\bottomfraction{1} \setcounter{totalnumber}{10} \def\textfraction{0}
|
||||
\def\floatpagefraction{.5}
|
||||
|
||||
%% Penalties for various text placement issues
|
||||
%% They can cause strange paragraph spacing on some pages
|
||||
%% Disabling for now --foley
|
||||
%\clubpenalty=10000%% orphan lines
|
||||
%\widowpenalty=10000%% widow lines
|
||||
%\hfuzz=1pt%% avoid overfilled hboxes
|
||||
%\vfuzz=5pt%% avoid overfilled vboxes
|
||||
\raggedbottom{}
|
||||
%% Vertical justification is the default.
|
||||
%% This causes problems on some pages with figures or chapter headings
|
||||
%% Allowing ragged bottoms keeps the spacing consistent between paragraphs
|
||||
%% Alternatively: \setlength{\parskip}{0pt}
|
||||
|
||||
%% Information about Institution, Author, Degree, and Program
|
||||
\newcommand{\theInstitution}{Reykjav\'{\i}k University}%
|
||||
\newcommand{\theDocumentType}{Dissertation}
|
||||
\newcommand{\theDegreeAbbrv}{Ph.D.}
|
||||
\newcommand{\theDegreeLong}{Doctorate}
|
||||
\newcommand{\theProgram}{\LaTeX{} Magic}
|
||||
\newcommand{\theECTS}{30}
|
||||
\newcommand{\theSchool}{School of Awesomeness}
|
||||
\newcommand{\DocumentInfo}[6]{
|
||||
\renewcommand{\theDocumentType}{#1}
|
||||
\renewcommand{\theDegreeAbbrv}{#2}
|
||||
\renewcommand{\theDegreeLong}{#3}
|
||||
\renewcommand{\theProgram}{#4}
|
||||
\renewcommand{\theECTS}{#5}
|
||||
% ECTS Only applicable on BSc. and MSc.
|
||||
% Leave blank
|
||||
\renewcommand{\theSchool}{#6}
|
||||
}
|
||||
|
||||
\newcommand{\supervisors@rudissertation}{\item No Advisor}
|
||||
\newcommand{\Supervisors}[1]{\renewcommand{\supervisors@rudissertation}[1]{#1}}
|
||||
\newcommand{\supervisorheading@rudissertation}{Supervisor}
|
||||
\newcommand{\SupervisorHeading}[1]{\renewcommand{\supervisorheading@rudissertation}{#1}}
|
||||
|
||||
\newcommand{\examiners@rudissertation}{\item No Examiner}
|
||||
\newcommand{\Examiners}[1]{\renewcommand{\examiners@rudissertation}[1]{#1}}
|
||||
\newcommand{\examinerheading@rudissertation}{Examiner}
|
||||
\newcommand{\ExaminerHeading}[1]{\renewcommand{\examinerheading@rudissertation}{#1}}
|
||||
|
||||
\newcommand{\personinfo}[5]{
|
||||
\item[] #1, #2\\#3, #4, #5 %Stub to be customized later
|
||||
}
|
||||
|
||||
|
||||
%% Clean up some formatting for the text
|
||||
\renewcommand{\thepage}{\roman{page}}
|
||||
|
||||
%% Footnote adjustments. These are mostly unnecessary
|
||||
% \let\footnoterule\relax \null % Turn off the footnote rule line
|
||||
%\renewcommand{\thefootnote}{\scriptsize\arabic{footnote}} %to fix large footnote text errors in some documents
|
||||
|
||||
\renewcommand{\bibname}{Bibliography} %Renaming the bibliography section (if omitted it will be named "references")
|
||||
|
||||
%% ----- INTERNAL TITLE PAGE WITH COMMITTEE ---------------------------------------------------
|
||||
\newcommand{\DocumentDescription}[1]{\renewcommand{\maketitlehookc}{{\begin{center}#1\par\end{center}}}}
|
||||
|
||||
%% maketitlehookd is after the date
|
||||
\renewcommand{\maketitlehookd}{{%
|
||||
\vspace{2\baselineskip}
|
||||
% change \personinfo to make the entries needed
|
||||
% Because this is inside a command, we escape the #1 as ##1
|
||||
\renewcommand{\personinfo}[5]{\item[] ##1, ##2\\##3, ##4, ##5}
|
||||
% \setlength{\pltopsep}{0.5\baselineskip} % first/top space
|
||||
% \setlength{\plparsep}{0.5\baselineskip} % space between entries
|
||||
% \setlength{\plitemsep}{0.5\baselineskip} % space between lines
|
||||
\supervisorheading@rudissertation{}:
|
||||
\begin{itemize}[label={}]\setlength\itemsep{\baselineskip}
|
||||
\supervisors@rudissertation{}
|
||||
\end{itemize}
|
||||
}\vfill}
|
||||
|
||||
\renewenvironment{abstract}
|
||||
{\begin{cover}{\centering%
|
||||
{{\Large \thetitle}\\}%%
|
||||
\vspace{\baselineskip}
|
||||
\theauthor\\%
|
||||
\vspace{\baselineskip}
|
||||
\thedate\\%
|
||||
}%
|
||||
\enableindents{}
|
||||
\textbf{Abstract}\par\vspace{1ex}}
|
||||
{\par\end{cover}\newpage}
|
||||
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "main-dissertation"
|
||||
%%% TeX-engine: luatex
|
||||
%%% End:
|
||||
58
rusignaturepage.sty
Normal file
58
rusignaturepage.sty
Normal file
@@ -0,0 +1,58 @@
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% LaTeX Package to setup Signature page
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% Author Joseph Timothy Foley <foley AT ru.is>
|
||||
%% Questions, comments, complaints: latex@RU.IS
|
||||
%% Created on 2024-11-15
|
||||
%% This code is distributed under the MIT license
|
||||
%% Details at LICENSE.md
|
||||
%% --------------- Identification ----------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{rusignaturepage}[2024/11/15 RU Thesis Signature Page]
|
||||
|
||||
\RequirePackage{paralist}
|
||||
\RequirePackage{dashrule}
|
||||
|
||||
%% ----- SIGNATURE PAGE, ONLY THESIS -----------------------------------------------------
|
||||
\newlength{\signaturey}
|
||||
\setlength{\signaturey}{8mm}
|
||||
\newlength{\signaturex}
|
||||
\setlength{\signaturex}{100mm}
|
||||
|
||||
\newcommand{\signaturepage}{
|
||||
\begin{cover}
|
||||
The undersigned hereby certify that they recommend to the
|
||||
\theSchool{} at \theInstitution{} for acceptance this
|
||||
\theDocumentType{} entitled \textbf{\thetitle}
|
||||
submitted by \textbf{\theauthor} in partial fulfillment
|
||||
of the requirements for the degree of \textbf{\theDegreeLong (\theDegreeAbbrv) in \theProgram{}}%
|
||||
\vspace*{2\baselineskip}
|
||||
|
||||
\newcommand{\signline}[2]{\item \hdashrule{##2}{1pt}{1pt}\\##1}
|
||||
\renewcommand{\personinfo}[5]{\item\hdashrule{\signaturex}{1pt}{1pt}\\##1, ##2\\##3, ##4, ##5\\\vspace{\signaturey}\\}
|
||||
\setlength{\pltopsep}{2\baselineskip} % first/top space
|
||||
\setlength{\plparsep}{2\baselineskip} % space between entries
|
||||
\setlength{\plitemsep}{0.5\baselineskip} % space between lines
|
||||
{%\sigtextfont%
|
||||
% change \personinfo to make the entries needed
|
||||
% Because this is inside a command, we escape the #1 as ##1
|
||||
\renewcommand{\personinfo}[5]{&\hdashrule{\signaturex}{1pt}{1pt}\\&##1\\\vspace{\signaturey}\\}
|
||||
\begin{compactitem}[]
|
||||
\signline{date}{50mm}
|
||||
\end{compactitem}
|
||||
\begin{tabular}{lll}
|
||||
Student:\\
|
||||
\personinfo{\theauthor}{}{}{}{}\\
|
||||
\supervisorheading@ruthesis:\\
|
||||
\supervisors@ruthesis{}\\
|
||||
\end{tabular}
|
||||
}% end sigtextfont
|
||||
\end{cover}
|
||||
}
|
||||
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "main"
|
||||
%%% TeX-engine: luatex
|
||||
%%% End:
|
||||
436
ruthesis.sty
436
ruthesis.sty
@@ -9,48 +9,16 @@
|
||||
%% Details at LICENSE.md
|
||||
%% --------------- Identification ----------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\typeout{Thesis package for Reykjavik University V3.0 <2022/05/2>, by Joseph Timothy Foley, foley at RU.IS}
|
||||
|
||||
%% ---------------- Critical packages -----------------------------
|
||||
\RequirePackage{etoolbox}% \newbool, \ifbool, etc.
|
||||
%% Toolbox of many many macros that make a lot of latex code smarter and more robust
|
||||
%% http://texdoc.net/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
|
||||
\RequirePackage{ifluatex} %% \ifluatex
|
||||
|
||||
%% ---------------- Boolean switches -----------------------------
|
||||
%% Booleans make it easy to enable and disable parts of the template
|
||||
\newbool{debug}
|
||||
\newbool{draftbool}
|
||||
\newbool{IS}
|
||||
\newbool{proof}
|
||||
|
||||
|
||||
%% ---------------- Declaration of Package Options--------------------
|
||||
%% Remember that we have \AtEndOfPackage{}
|
||||
%% \AtBeginDocument{}, \AtEndDocument{}
|
||||
%% If you want execution conditional on file existence
|
||||
%% \IfFileExists{filename}{true}{false}
|
||||
%% \InputIfFileExists{filename}{true}{false}
|
||||
%% For error reporting
|
||||
%% \PackageError{class-name}{error-text}{help-text}
|
||||
|
||||
% Generalized settings
|
||||
\DeclareOption{debug}{%
|
||||
\booltrue{debug}
|
||||
\typeout{ruthesis option: debug}%
|
||||
\typeout{DEBUG MODE ENABLED! PREPARE FOR VERBOSITY!}}
|
||||
|
||||
\DeclareOption{draft}{\booltrue{draftbool}}
|
||||
|
||||
\DeclareOption{IS}{\booltrue{IS}}
|
||||
|
||||
\ProvidesPackage{ruthesis}[2024/11/15 RU Thesis Formatting V3.2]
|
||||
%% --------------- Option Processing--------------------------
|
||||
%% The forcegraphics option renders graphics even in draft mode
|
||||
\DeclareOption{forcegraphics}{%
|
||||
\PassOptionsToPackage{final}{graphicx}
|
||||
\PassOptionsToPackage{final}{pdfpages}
|
||||
\PassOptionsToPackage{final}{hyperref}
|
||||
%% add any other elements that should be included in draft
|
||||
\finalifforcegraphics{graphicx}%We have to catch graphicx early
|
||||
\setbool{forcegraphics}{true}\typeout{ruthesis option: forcegraphics}%
|
||||
\typeout{ruthesis option: forcegraphics}%
|
||||
}%
|
||||
|
||||
%%% Memoir test: Memoir Manual 21.2 p.367
|
||||
@@ -65,63 +33,40 @@
|
||||
%% carefully before modifying any of the execution and previous section.
|
||||
%% ---------------- Package Loading -----------------------------
|
||||
|
||||
%% Now to print the status of all the booleans if debug boolean is set
|
||||
%% Any boolean testing must be after the \LoadClass otherwise the Option execution
|
||||
%% has not completed.
|
||||
\ifbool{debug}{%
|
||||
\ifbool{forcegraphics}{\typeout{ruthesis bool: forcegraphics}}{}
|
||||
\ifbool{proof}{\typeout{ruthesis bool: proof}}{}
|
||||
\ifbool{debug}{\typeout{ruthesis bool: debug}}{}
|
||||
}{}
|
||||
|
||||
%% ---------------- Internationalization -----------------------------
|
||||
%% Unicode setup
|
||||
\ifluatex\relax\else\RequirePackage[utf8]{inputenc}\RequirePackage[T1]{fontenc}\fi
|
||||
% Font setup
|
||||
% Standardized STIX2 fonts that print well, display on
|
||||
% e-readers/screens clearly, and have compatible licensing
|
||||
% requirements
|
||||
\RequirePackage{stix2}
|
||||
% allows UTF encoding, needed for Icelandic and other accented characters
|
||||
|
||||
\ifbool{IS}
|
||||
{\RequirePackage[english,icelandic]{babel}}%%Icelandic main language
|
||||
{\RequirePackage[icelandic,english]{babel}}%%English main language
|
||||
%% Babel allows various automatic text to be in selected languages
|
||||
%% But to use the options, you have to always load it, even for english
|
||||
%% The languages must be specified in order.
|
||||
|
||||
|
||||
\usepackage[useregional]{datetime2}
|
||||
%% Smart manipulation of dates
|
||||
\renewcommand{\date}[3]{\newcommand{\thedate}{\DTMdisplaydate{#1}{#2}{#3}{-1}}}
|
||||
\RequirePackage{unicode-math}% loads STIX and math unicode characters
|
||||
\setmathfont{STIX Two Math}
|
||||
\setmainfont{STIX Two Text}[
|
||||
Extension={.otf},
|
||||
UprightFont={*-Regular},
|
||||
BoldFont={*-Bold},
|
||||
ItalicFont={*-Italic},
|
||||
BoldItalicFont={*-BoldItalic}]
|
||||
%% ---------------- Page and Margin Sizes -----------------------------
|
||||
\setxlvchars{}\setlxvchars{}
|
||||
\pageaiv{}
|
||||
\setlrmarginsandblock{25.4mm}{25.4mm}{*}
|
||||
\setulmarginsandblock{25.4mm}{25.4mm}{*}
|
||||
\setpagecc{\paperheight}{\paperwidth}{*}%page area on middle center for cutting
|
||||
\checkandfixthelayout% implement the margins if we weren't using canonic
|
||||
|
||||
%% ---------------- Graphics ------------------------------
|
||||
\RequirePackage{graphicx}
|
||||
%% GraphicsX converts and includes graphics intelligently
|
||||
|
||||
|
||||
%% GraphicsX converts and includes graphics intelligently which is needed for jpg, png, etc.
|
||||
|
||||
%% ---------------- URLs and Paths -----------------------------
|
||||
\PassOptionsToPackage{obeyspaces,spaces,hyphens,allowmove}{url}
|
||||
\RequirePackage{url}
|
||||
%% The url package typesets \url{} and unix file \path{} nicely.
|
||||
\RequirePackage{xurl}
|
||||
%% The xurl package typesets \url{} and unix file \path{} nicely.
|
||||
%% Watch out that you leave a space after a last \ e.g. \path{C:\ }
|
||||
%% Warning: allowmove makes URLs not-fragile, so they can go in things that move
|
||||
%% If this breaks you will get very very weird errors
|
||||
%% ---------------- Miscellaneous Packages ----------------------
|
||||
%% ---------------- Fonts -----------------------------
|
||||
%% Important: The template has switched to STIX2 fonts and memoir defaults
|
||||
%% to massively simplify font selection. You should not need to mess with fonts.
|
||||
|
||||
% save the current font size
|
||||
\newlength{\normaltextsize}
|
||||
\setlength{\normaltextsize}{\f@size pt}
|
||||
|
||||
%%%%%%%%%%%%%%%%% Colors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
|
||||
\RequirePackage{xcolor}
|
||||
\definecolor{rugray}{rgb}{0.2,0.2,0.2}
|
||||
\definecolor{rured}{rgb}{0.84,0.10,0.13}
|
||||
|
||||
%% ---------------- Main Code -----------------------------
|
||||
%% Remember that we can declare commands (to make fragile things safe)
|
||||
@@ -131,8 +76,6 @@
|
||||
%% For checking if commands are redefined
|
||||
%% \CheckCommand{cmd}[num][default]{definition}
|
||||
|
||||
|
||||
|
||||
%% Comprehensive list of styles for memoir is in 7.2 (page 106)
|
||||
%% If you need to adjust the style on the chapters, modify chapter
|
||||
%% predefined styles:
|
||||
@@ -141,30 +84,66 @@
|
||||
%% simple: pagenum and marks on top outer edges
|
||||
%\makeoddhead{chapter}{}{}{} %to change only one side
|
||||
|
||||
%% Information about Institution, Author, Degree, and Program
|
||||
\newcommand{\thesubtitle}{\quad}
|
||||
\newcommand{\theInstitution}{Reykjav\'{\i}k University}%
|
||||
\newcommand{\theDocumentType}{Dissertation}
|
||||
\newcommand{\theDegreeAbbrv}{Ph.D.}
|
||||
\newcommand{\theDegreeLong}{Doctorate}
|
||||
\newcommand{\theProgram}{\LaTeX{} Magic}
|
||||
\newcommand{\theECTS}{30}
|
||||
\newcommand{\theSchool}{School of Awesomeness}
|
||||
\newcommand{\DocumentInfo}[6]{
|
||||
\renewcommand{\theDocumentType}{#1}
|
||||
\renewcommand{\theDegreeAbbrv}{#2}
|
||||
\renewcommand{\theDegreeLong}{#3}
|
||||
\renewcommand{\theProgram}{#4}
|
||||
\renewcommand{\theECTS}{#5}
|
||||
% ECTS Only applicable on BSc. and MSc.
|
||||
% Leave blank
|
||||
\renewcommand{\theSchool}{#6}
|
||||
}
|
||||
|
||||
\newcommand{\subtitle}[1]{\renewcommand{\thesubtitle}{#1}}
|
||||
\newcommand{\supervisors@ruthesis}{\item No Advisor}
|
||||
\newcommand{\Supervisors}[1]{\renewcommand{\supervisors@ruthesis}[1]{#1}}
|
||||
\newcommand{\supervisorheading@ruthesis}{Supervisor}
|
||||
\newcommand{\SupervisorHeading}[1]{\renewcommand{\supervisorheading@ruthesis}{#1}}
|
||||
|
||||
\newcommand{\examiners@ruthesis}{\item No Examiner}
|
||||
\newcommand{\Examiners}[1]{\renewcommand{\examiners@ruthesis}[1]{#1}}
|
||||
\newcommand{\examinerheading@ruthesis}{Examiner}
|
||||
\newcommand{\ExaminerHeading}[1]{\renewcommand{\examinerheading@ruthesis}{#1}}
|
||||
|
||||
\newcommand{\docdesc@ruthesis}{\theDocumentType{} of \theECTS{} ECTS credits
|
||||
submitted to the \theSchool{} at \theInstitution{} in partial fulfillment
|
||||
of the requirements for the degree of \theDegreeLong}
|
||||
\newcommand{\DocumentDescription}[1]{\renewcommand{\docdesc@ruthesis}{#1}}%nop for now
|
||||
\newcommand{\pubplaceyear@ruthesis}{Reykjavik, 2025}
|
||||
\newcommand{\publocation}[1]{\renewcommand{\pubplaceyear@ruthesis}{#1}}
|
||||
\newcommand{\logo@ruthesis}{graphics/smiley-logo}
|
||||
\newcommand{\logo}[1]{\renewcommand{\logo@ruthesis}{#1}}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Memoir titlepage definition and info at p.64
|
||||
|
||||
|
||||
%% Some may need a different front logo
|
||||
\newcommand{\frontlogo@ruthesis}{ru-logo}
|
||||
\newcommand{\frontlogo}[1]{\renewcommand{\frontlogo@ruthesis}{#1}}
|
||||
|
||||
|
||||
%% This hook puts a RU logo over the title
|
||||
%\renewcommand{\maketitlehooka}{\begin{centering}\includegraphics[width=4cm]{\frontlogo@ruthesis}\par\end{centering}\vspace{2mm}}%
|
||||
|
||||
\renewcommand{\pretitle}{\begin{center}}%
|
||||
\renewcommand{\posttitle}{\par\end{center}}
|
||||
|
||||
% \renewcommand{\maketitlehookb}{\begin{center}\titletextfont{}by\end{center}\vspace{1mm}}
|
||||
% 1mm adjustment to center the "by". I've disabled it because I think the "by" looks unprofessional.
|
||||
|
||||
\renewcommand{\preauthor}{\begin{center}\large\par}
|
||||
\renewcommand{\postauthor}{\par\end{center}}
|
||||
\newcommand{\titledetails}[1]{\renewcommand{\maketitlehookc}{#1}}
|
||||
\renewcommand{\predate}{\begin{center}\large}
|
||||
\renewcommand{\postdate}{\par\end{center}}
|
||||
%% \title is ignoring formatting for reasons I don't understand
|
||||
\renewcommand{\maketitlehooka}{
|
||||
\begin{center}
|
||||
\includegraphics[width=0.3\textwidth]{\logo@ruthesis}
|
||||
\par\end{center}\vspace{0.7cm}
|
||||
}
|
||||
%% TODO: investigate why bold isn't working on the title
|
||||
%\droptitle{}% length moves the title position up and down
|
||||
\pretitle{\begin{center}\bfseries\Huge}
|
||||
\posttitle{\par\end{center}\vspace{1.55cm}}
|
||||
\preauthor{\begin{center}\Large}
|
||||
\postauthor{\par\end{center}\vfill}
|
||||
\renewcommand{\maketitlehookc}{\begin{center}\textbf{\Large \theDegreeAbbrv{} \theDocumentType{} in \theProgram}\par\end{center}\vspace{1cm}}
|
||||
\predate{\begin{center}\large Graduation }
|
||||
\postdate{\par\end{center}\vspace*{0.4cm}}
|
||||
\renewcommand{\maketitlehookd}{\begin{center}
|
||||
\textbf{{\Large \theSchool}}\par\end{center}
|
||||
}
|
||||
\aliaspagestyle{title}{empty}
|
||||
|
||||
%% ----- COPYRIGHT PAGE -----------------------------------------------------------------------
|
||||
@@ -210,13 +189,29 @@
|
||||
\vfill
|
||||
\vspace*{2\baselineskip}
|
||||
\end{coverleft}
|
||||
\clearpage
|
||||
}
|
||||
|
||||
% %% names moved to inside cover
|
||||
% % change \personinfo to make the entries needed
|
||||
% % Because this is inside a command, we escape the #1 as ##1
|
||||
% \renewcommand{\personinfo}[5]{\item[] ##1, ##2\\##3, ##4, ##5}
|
||||
% % \setlength{\pltopsep}{0.5\baselineskip} % first/top space
|
||||
% % \setlength{\plparsep}{0.5\baselineskip} % space between entries
|
||||
% % \setlength{\plitemsep}{0.5\baselineskip} % space between lines
|
||||
% \begin{itemize}[label={}]
|
||||
% \item \supervisorheading@ruthesis{}:
|
||||
% \begin{itemize}[label={}]\setlength\itemsep{\baselineskip}
|
||||
% \supervisors@ruthesis{}
|
||||
% \end{itemize}
|
||||
% \end{itemize}
|
||||
% }\vfill}
|
||||
|
||||
|
||||
%% ---------- Page Styles --------------------------------------------------------------
|
||||
%% ---------------------------------------------------------------------------------------------
|
||||
%% Setup the formatting at the beginning of the document (Front material)
|
||||
%% TODO: use the memoir \frontmatter \mainmatter \backmatter
|
||||
%% See documentation, page 73
|
||||
%% See Memoir documentation, page 73
|
||||
|
||||
%%%%%%%%% PARAGRAPH ADJUSTMENTS %%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newlength{\savedparindent}
|
||||
@@ -230,31 +225,31 @@
|
||||
}
|
||||
|
||||
%% Disable clearforchapter on formats that do not need blank pages
|
||||
\ifbool{draftbool}{\renewcommand{\clearforchapter}{\newpage}}
|
||||
% waste less blank pages in draft mode
|
||||
% see p123 http://ctan.uib.no/macros/latex/contrib/memoir/memman.pdf
|
||||
%\renewcommand{\clearforchapter}{\newpage}
|
||||
% waste less blank pages in draft mode
|
||||
% see p123 http://ctan.uib.no/macros/latex/contrib/memoir/memman.pdf
|
||||
|
||||
\newenvironment{cover}% commonalities for the cover material
|
||||
{\thispagestyle{cover}%
|
||||
\pagestyle{cover}%
|
||||
\clearforchapter%
|
||||
{ \clearforchapter%
|
||||
\thispagestyle{cover}%
|
||||
\disableindents%
|
||||
\SingleSpacing}%
|
||||
{%\setlength{\TPMargin}{0mm} %% margins inside the textblock
|
||||
\enableindents{}\newpage}%
|
||||
|
||||
|
||||
\newenvironment{coverleft}%This is material that is OK being on the
|
||||
%backside
|
||||
{\thispagestyle{cover}%
|
||||
\pagestyle{cover}%
|
||||
\cleartoverso%
|
||||
%\clearforchapter% clear to chapter setting
|
||||
%% I don't remember why we need to mess with \TPmargin
|
||||
%% Might be OK to remove --foley
|
||||
\enableindents{}}%
|
||||
\newenvironment{coverleft}% material that must be on the even (back) side
|
||||
{ \cleartoverso%
|
||||
\thispagestyle{cover}%
|
||||
\disableindents%
|
||||
\SingleSpacing}%
|
||||
{%\setlength{\TPMargin}{0mm} %% margins inside the textblock
|
||||
%% I don't remember why we need to mess with \TPmargin --foley
|
||||
\enableindents{}\newpage}%
|
||||
{\enableindents{}}%
|
||||
% \newenvironment{coveranyside}%This is material that can start on even or odd
|
||||
% { \clearpage%
|
||||
% \thispagestyle{cover}%
|
||||
% \disableindents%
|
||||
% \SingleSpacing}%
|
||||
% {\enableindents{}}%
|
||||
|
||||
|
||||
|
||||
@@ -263,30 +258,11 @@
|
||||
\begin{center}\em}
|
||||
{\end{center}\normalfont\end{vplace}\end{cover}}
|
||||
|
||||
%%%%%%%%%%%% DRAFT AND PROOF MARKS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newcommand{\draftmark}{}
|
||||
\newcommand{\draftbigmark}{}
|
||||
|
||||
\ifbool{proof}{\renewcommand{\draftmark}{{\color{blue}\textsc{Proof}}}%
|
||||
\renewcommand{\draftbigmark}{{\color{blue}\warningfont{}*** \draftmark{} *** \\PLEASE DO NOT DISTRIBUTE\\}}}{}
|
||||
\ifbool{draftbool}{\renewcommand{\draftmark}{{\color{red}\textsc{Draft}}}%
|
||||
\renewcommand{\draftbigmark}{{\color{red}\warningfont{}*** \draftmark{} *** \\PLEASE DO NOT DISTRIBUTE\\}}}{}%
|
||||
%%% Page styles Memoir Manual ch7.2 p109
|
||||
\aliaspagestyle{book}{simple}
|
||||
\aliaspagestyle{chapter}{plain}%At the beginning we want page numbers on chapters
|
||||
\aliaspagestyle{cleared}{simple}
|
||||
\aliaspagestyle{part}{empty}
|
||||
\aliaspagestyle{title}{simple}
|
||||
\aliaspagestyle{titlinpage}{empty}
|
||||
|
||||
% \ifboolexpr{bool {draftbool} or bool {proof}}{
|
||||
% \makeoddfoot{cover}{}{\thepage}{\draftmark}
|
||||
% \makeevenfoot{cover}{\draftmark}{\thepage}{}
|
||||
% %\makeoddfoot{plain}{}{\thepage}{\draftmark}
|
||||
% %\makeevenfoot{plain}{\draftmark}{\thepage}{}
|
||||
% \makeoddfoot{simple}{}{}{\draftmark}
|
||||
% \makeevenfoot{simple}{\draftmark}{}{}
|
||||
% }{}
|
||||
|
||||
\makepagestyle{plain}% Just page numbers in corners
|
||||
\makeevenhead{plain}{\thepage}{}{}
|
||||
@@ -296,32 +272,34 @@
|
||||
\makeoddfoot{cover}{}{}{}
|
||||
\makeevenfoot{cover}{}{}{}
|
||||
|
||||
\newcommand{\coverchapter}[1]{\clearforchapter\pagestyle{cover}\chapter{#1}\thispagestyle{cover}}
|
||||
|
||||
\newcommand{\frontmatterhead}[1]{{%based upon \chapterhead from memman.pdf p.84
|
||||
% \clearpage% move to correct page
|
||||
\disableindents%
|
||||
\thispagestyle{chapter} % set the page style
|
||||
\insertchapterspace% space between previous and the title
|
||||
\chapterheadstart%\beforchapskip space before heading
|
||||
\printchaptertitle{#1}% title
|
||||
\addcontentsline{toc}{chapter}{#1}
|
||||
\afterchaptertitle% \afterchapskip space after title
|
||||
}}
|
||||
|
||||
%%% Section numbering and the Table of Contents
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%55
|
||||
\maxsecnumdepth{subsubsection} % default by \mainmatter in preamble
|
||||
%\setsecnumdepth{subsubsection} % can be changed later
|
||||
\maxtocdepth{subsubsection} % default by \mainmatter in preamble
|
||||
%\settocdepth{subsubsection} % can be changed later
|
||||
|
||||
%%% Code to include files if they exist
|
||||
\newcommand{\InputIfExists}[1]{\IfFileExists{#1}{\input{#1}}{}}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% TWEAKS
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%
|
||||
%% Some adjustments to float placement
|
||||
\setcounter{topnumber}{5} \def\topfraction{1} \setcounter{bottomnumber}{4}
|
||||
\def\bottomfraction{1} \setcounter{totalnumber}{10} \def\textfraction{0}
|
||||
\def\floatpagefraction{.5}
|
||||
|
||||
%\def\@makefnmark{\rlap{\@textsuperscript{\@thefnmark}}}
|
||||
%% Not sure why there was a footnote adjustment on the cover
|
||||
%% Disabling for now.
|
||||
|
||||
%% Penalties for various text placement issues
|
||||
%% They can cause strange paragraph spacing on some pages
|
||||
%% Disabling for now --foley
|
||||
@@ -335,59 +313,6 @@
|
||||
%% Allowing ragged bottoms keeps the spacing consistent between paragraphs
|
||||
%% Alternatively: \setlength{\parskip}{0pt}
|
||||
|
||||
%\newcommand{\draftnote}[1]{\ifdraft{{\color{gray}#1}}}
|
||||
|
||||
%% We need the paralist and dashrule package in order to format the signature pages
|
||||
\RequirePackage{paralist}
|
||||
\RequirePackage{dashrule}
|
||||
|
||||
%% Information about Institution, Author, Degree, and Program
|
||||
\newcommand{\theInstitution}{Reykjav\'{\i}k University}%
|
||||
\newcommand{\theInstitutionAddress}{Menntavegur 1\\102 Reykjavík, Iceland}
|
||||
\newcommand{\theInstitutionPhone}{+354 599 6200}
|
||||
\newcommand{\theInstitutionURL}{www.ru.is}%
|
||||
|
||||
\newcommand{\theDocumentType}{Dissertation}
|
||||
\newcommand{\theDegreeAbbrv}{Ph.D.}
|
||||
\newcommand{\theDegreeLong}{Doctorate}
|
||||
\newcommand{\theProgram}{\LaTeX{} Magic}
|
||||
\newcommand{\theECTS}{30}
|
||||
\newcommand{\theSchool}{School of Awesomeness}
|
||||
\newcommand{\DocumentInfo}[6]{
|
||||
\renewcommand{\theDocumentType}{#1}
|
||||
\renewcommand{\theDegreeAbbrv}{#2}
|
||||
\renewcommand{\theDegreeLong}{#3}
|
||||
\renewcommand{\theProgram}{#4}
|
||||
\renewcommand{\theECTS}{#5}
|
||||
% ECTS Only applicable on BSc. and MSc.
|
||||
% Leave blank
|
||||
\renewcommand{\theSchool}{#6}
|
||||
}
|
||||
\newcommand{\theDegreeAndDepartment}{\theDegreeLong (\theDegreeAbbrv) in \theProgram{}}
|
||||
|
||||
|
||||
|
||||
\newcommand{\supervisors@ruthesis}{\item No Advisor}
|
||||
\newcommand{\Supervisors}[1]{\renewcommand{\supervisors@ruthesis}[1]{#1}}
|
||||
\newcommand{\supervisorheading@ruthesis}{Supervisor}
|
||||
\newcommand{\SupervisorHeading}[1]{\renewcommand{\supervisorheading@ruthesis}{#1}}
|
||||
|
||||
\newcommand{\examiners@ruthesis}{\item No Examiner}
|
||||
\newcommand{\Examiners}[1]{\renewcommand{\examiners@ruthesis}[1]{#1}}
|
||||
\newcommand{\examinerheading@ruthesis}{Examiner}
|
||||
\newcommand{\ExaminerHeading}[1]{\renewcommand{\examinerheading@ruthesis}{#1}}
|
||||
|
||||
\newcommand{\personinfo}[5]{
|
||||
\item[] #1, #2\\#3, #4, #5 %Stub to be customized later
|
||||
}
|
||||
|
||||
\newenvironment{peoplelist}
|
||||
{\begin{compactitem}[\hspace{10mm}]}
|
||||
{\end{compactitem}}
|
||||
|
||||
\newenvironment{rolelist}
|
||||
{\begin{compactitem}[\hspace{10mm}]}
|
||||
{\end{compactitem}}
|
||||
|
||||
|
||||
%% Clean up some formatting for the text
|
||||
@@ -398,96 +323,11 @@
|
||||
%\renewcommand{\thefootnote}{\scriptsize\arabic{footnote}} %to fix large footnote text errors in some documents
|
||||
|
||||
\renewcommand{\bibname}{Bibliography} %Renaming the bibliography section (if omitted it will be named "references")
|
||||
|
||||
|
||||
%% ----- PRINTED FRONT COVER (PHD) ----------------------------------------------------------
|
||||
%% This cover will be on the outside (not with window)
|
||||
%% Needs textpos package!
|
||||
\RequirePackage{calc}%arithmetic on lengths
|
||||
|
||||
\RequirePackage{printlen}% display lengths in arbitrary units
|
||||
\ifbool{debug}{\PassOptionsToPackage{showboxes}{textpos}}
|
||||
\RequirePackage[absolute, verbose]{textpos}%
|
||||
|
||||
%% These commands set the units in \begin{textblock} when not
|
||||
%% directly specified
|
||||
%% We set them to the page sizes so we can align from them
|
||||
\setlength{\TPHorizModule}{\paperwidth}
|
||||
\setlength{\TPVertModule}{\paperheight}
|
||||
\setlength{\TPMargin}{2mm}%% margins inside the textblock*
|
||||
\textblockorigin{0mm}{0mm}% start everything near the top-left corner
|
||||
\newlength{\pagecenterx}%
|
||||
\setlength{\pagecenterx}{0.5\stockwidth}
|
||||
\newlength{\pagecentery}
|
||||
\setlength{\pagecentery}{0.5\stockheight}
|
||||
|
||||
%% ----- INTERNAL TITLE PAGE WITH COMMITTEE ---------------------------------------------------
|
||||
%% TODO: make counter for supervisors in the very rare case that there
|
||||
%% is only one supervisor
|
||||
\newcommand{\DocumentDescription}[1]{\renewcommand{\maketitlehookc}{{\begin{center}#1\par\end{center}}}}
|
||||
|
||||
%% maketitlehookd is after the date
|
||||
\renewcommand{\maketitlehookd}{{%
|
||||
\vspace{2\baselineskip}
|
||||
% change \personinfo to make the entries needed
|
||||
% Because this is inside a command, we escape the #1 as ##1
|
||||
\renewcommand{\personinfo}[5]{\item[] ##1, ##2\\##3, ##4, ##5}
|
||||
\setlength{\pltopsep}{0.5\baselineskip} % first/top space
|
||||
\setlength{\plparsep}{0.5\baselineskip} % space between entries
|
||||
\setlength{\plitemsep}{0.5\baselineskip} % space between lines
|
||||
\begin{rolelist}
|
||||
\item \supervisorheading@ruthesis{}:
|
||||
\begin{peoplelist}
|
||||
\supervisors@ruthesis{}
|
||||
\end{peoplelist}
|
||||
\end{rolelist}
|
||||
}\vfill}
|
||||
|
||||
|
||||
%% ----- SIGNATURE PAGE, ONLY THESIS -----------------------------------------------------
|
||||
\newlength{\signaturey}
|
||||
\setlength{\signaturey}{8mm}
|
||||
\newlength{\signaturex}
|
||||
\setlength{\signaturex}{100mm}
|
||||
|
||||
\newcommand{\signaturepage}{
|
||||
\begin{cover}
|
||||
The undersigned hereby certify that they recommend to the
|
||||
\theSchool{} at \theInstitution{} for acceptance this
|
||||
\theDocumentType{} entitled \textbf{\thetitle}
|
||||
submitted by \textbf{\theauthor} in partial fulfillment
|
||||
of the requirements for the degree of \textbf{\theDegreeAndDepartment}%
|
||||
\vspace*{2\baselineskip}
|
||||
|
||||
\newcommand{\signline}[2]{\item \hdashrule{##2}{1pt}{1pt}\\##1}
|
||||
\renewcommand{\personinfo}[5]{\item\hdashrule{\signaturex}{1pt}{1pt}\\##1, ##2\\##3, ##4, ##5\\\vspace{\signaturey}\\}
|
||||
\setlength{\pltopsep}{2\baselineskip} % first/top space
|
||||
\setlength{\plparsep}{2\baselineskip} % space between entries
|
||||
\setlength{\plitemsep}{0.5\baselineskip} % space between lines
|
||||
{%\sigtextfont%
|
||||
% change \personinfo to make the entries needed
|
||||
% Because this is inside a command, we escape the #1 as ##1
|
||||
\renewcommand{\personinfo}[5]{&\hdashrule{\signaturex}{1pt}{1pt}\\&##1\\\vspace{\signaturey}\\}
|
||||
\begin{compactitem}[]
|
||||
\signline{date}{50mm}
|
||||
\end{compactitem}
|
||||
\begin{tabular}{lll}
|
||||
Student:\\
|
||||
\personinfo{\theauthor}{}{}{}{}\\
|
||||
\supervisorheading@ruthesis:\\
|
||||
\supervisors@ruthesis{}\\
|
||||
%\examinerheading@ruthesis:\\%% MSc old template
|
||||
%\examiners@ruthesis{}
|
||||
\end{tabular}
|
||||
}% end sigtextfont
|
||||
\end{cover}
|
||||
}
|
||||
|
||||
|
||||
|
||||
\renewenvironment{abstract}
|
||||
{\begin{coverleft}{\centering%
|
||||
{{\Large \thetitle}\\}%%
|
||||
{\begin{cover}{\centering%
|
||||
{{\Large \@title}\\}%%
|
||||
\vspace{\baselineskip}
|
||||
\theauthor\\%
|
||||
\vspace{\baselineskip}
|
||||
@@ -495,10 +335,28 @@
|
||||
}%
|
||||
\enableindents{}
|
||||
\textbf{Abstract}\par\vspace{1ex}}
|
||||
{\par\end{coverleft}\newpage}
|
||||
{\par\end{cover}\newpage}
|
||||
|
||||
|
||||
%%% from the old cs template, if so desired
|
||||
%\makepagestyle{oldstyle}
|
||||
%\makeoddhead{oldstyle}{\footnotesize{\authorHeader@ruthesis}}{}{\footnotesize{\thepage}}
|
||||
%\makeevenhead{oldstyle}{\footnotesize{\thepage}}{}{\footnotesize{\thetitle}}
|
||||
|
||||
%%%%%%%%%% Metadata for pdf file %%%%%%%%%%%%%%%%%%%%%%
|
||||
\AddToHook{beforedocument/before}{%
|
||||
%% package hyperref needs to be last, so we use a hook
|
||||
\PassOptionsToPackage{hidelinks}{hyperref}%disable boxes around links
|
||||
\RequirePackage{hyperref}
|
||||
\hypersetup{
|
||||
pdfauthor = {\theauthor{}},
|
||||
pdftitle = {\thetitle},
|
||||
%pdfsubject = {Templates},
|
||||
%pdfkeywords = {\theInstitution{}, Template, Thesis}
|
||||
}
|
||||
}
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "main"
|
||||
%%% TeX-engine: luatex
|
||||
%%% End:
|
||||
|
||||
66
test.tex
66
test.tex
@@ -1,72 +1,25 @@
|
||||
\documentclass{memoir}
|
||||
\usepackage[online,IS]{ruthesis}
|
||||
\usepackage[useregional]{datetime2}
|
||||
\usepackage{xparse}%Latex3 argument parsing
|
||||
|
||||
%\usepackage[useregional]{datetime2}
|
||||
\usepackage{polyglossia}
|
||||
\setdefaultlanguage{icelandic}
|
||||
\usepackage{stix2}
|
||||
|
||||
%\usepackage{graphicx}
|
||||
\title{Minimal Document for Testing}
|
||||
\author{Joseph T. Foley \and Someone Else}
|
||||
% \author: Use \and as a separator and \thanks{details} for additional info
|
||||
\date{2020}{2}{2}
|
||||
%\date{2020}{2}{2}
|
||||
%% TODO: use datetime2 to be smarter about dates
|
||||
|
||||
% \usepackage[icelandic,english]{babel}
|
||||
% \usepackage[english,icelandic]{babel}
|
||||
%\usepackage[icelandic]{babel}
|
||||
|
||||
\begin{document}
|
||||
% \frontrequiredpages{}
|
||||
%\ects{30}
|
||||
|
||||
|
||||
|
||||
|
||||
%% Titlepage the Memoir way
|
||||
\maketitle
|
||||
|
||||
% \babelensure{icelandic}
|
||||
\selectlanguage{icelandic}
|
||||
\begin{abstract}
|
||||
This is a test abstract in Icelandic.
|
||||
% \icelandicmonthiiname to manually create names
|
||||
\today
|
||||
\end{abstract}
|
||||
|
||||
\selectlanguage{english}
|
||||
\begin{abstract}
|
||||
This is a test abstract in English.
|
||||
\today
|
||||
\end{abstract}
|
||||
|
||||
\newpage
|
||||
\chapter{Test Chapter}
|
||||
\newcommand{\varEN}{***English***}
|
||||
\newcommand{\varIS}{***Icelandic***}
|
||||
\NewDocumentCommand{\setVar}{O{#2} m}
|
||||
% ARGS: [optional use #2], {mandatory}
|
||||
{
|
||||
\renewcommand{\varIS}{#1}
|
||||
\renewcommand{\varEN}{#2}
|
||||
}
|
||||
\setVar{Universal Title}
|
||||
|
||||
\begin{itemize}
|
||||
\item English: \varEN{}
|
||||
\item Icelandic: \varIS{}
|
||||
\end{itemize}
|
||||
|
||||
|
||||
blah blah blah
|
||||
%\copyrightpage{}%%RUM: Not mentioned
|
||||
%\signaturepage{}%%RUM: "Signature page (standard format)
|
||||
%\archivesigpage{}%%RUM: Not mentioned, optional, but should be required
|
||||
%\abstractpage{}%%RUM: "Abstract (in English and Icelandic)
|
||||
|
||||
%\mainmatter{}%%Front matter done, get down to business
|
||||
%\pagestyle{headings}%default
|
||||
%Test
|
||||
%\backcover{}
|
||||
\begin{figure}
|
||||
\centering
|
||||
\caption{A caption}
|
||||
\end{figure}
|
||||
\end{document}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%% TeXStudio Magic Comments %%%%%%%%%%%%%%%%%%%%%
|
||||
@@ -84,4 +37,5 @@ blah blah blah
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: t
|
||||
%%% TeX-engine: luatex
|
||||
%%% End:
|
||||
|
||||
Reference in New Issue
Block a user