MSc. formatting matches Ragna recommendations (I think)

This commit is contained in:
2025-10-15 17:44:55 +00:00
parent 5bb2f1efbe
commit 04e3160248
2 changed files with 108 additions and 89 deletions

View File

@@ -1,10 +1,7 @@
%%%% This is the general thesis/project report template for most users
%%%% 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.
\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
@@ -26,8 +23,6 @@
\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
@@ -46,10 +41,11 @@
\usepackage{hyperref}%This must be the last package loaded
%%%%%%%%%%%%%%%%%Information for the Title page %%%%%%%%%%%%%%%%%
\logo{graphics/smiley-logo}%Get RU logo and change this to point at it
\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
\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}
@@ -59,25 +55,20 @@
% 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
\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
@@ -95,10 +86,9 @@
%% 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
$E$ &Energy &\si{\joule}\\
$m$ &Mass &\si{\gram}\\
$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

View File

@@ -48,6 +48,13 @@ 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}
@@ -77,34 +84,87 @@ BoldItalicFont={*-BoldItalic}]
%% 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
\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}
\aliaspagestyle{titlinpage}{empty}
%% ----- COPYRIGHT PAGE -----------------------------------------------------------------------
%% ----- Inside Cover is 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
\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}
\raggedright{}
{\Large \thetitle}\\\vspace{\baselineskip}
% Subtitle add later
\textbf{\supervisorheading@ruthesis:} \supervisors@ruthesis\par\\
\textbf{\examinerheading@ruthesis:} \examiners@ruthesis\par\vspace*{1.5cm}
Thesis of \theECTS{} ECTS credits submitted to the \theSchool{} at Reykjavik University
in partial fulfilment of the requirements for the degree of \theDegreeAbbrv{} in \theProgram{}.\par\vspace*{1.5cm}
Copyright \textcopyright{} \the\year{} \theauthor{} \ccbyncnd{}\\
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.
@@ -118,12 +178,30 @@ If you remix, transform or build upon the material, you may not distribute the m
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.
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.\par
\pubplaceyear@ruthesis
\end{vplace}
\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)
@@ -229,38 +307,6 @@ in this publication does not imply, even in the absence of a specific statement
%% 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@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
}
%% Clean up some formatting for the text
@@ -272,27 +318,10 @@ in this publication does not imply, even in the absence of a specific statement
\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@ruthesis{}:
\begin{itemize}[label={}]\setlength\itemsep{\baselineskip}
\supervisors@ruthesis{}
\end{itemize}
}\vfill}
\renewenvironment{abstract}
{\begin{cover}{\centering%
{{\Large \thetitle}\\}%%
{{\Large \@title}\\}%%
\vspace{\baselineskip}
\theauthor\\%
\vspace{\baselineskip}