Compare commits

...

5 Commits

15 changed files with 189 additions and 44 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -50,8 +50,10 @@ If you are writing a PhD dissertation, you will want to edit \path{main-disserta
\section{Frequently Asked Questions} \section{Frequently Asked Questions}
\begin{itemize} \begin{itemize}
\item {\em Why isn't there the RU logo on the front of the template on Overleaf/Git?} \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. The RU logo is intended to go on the outer cover of the dissertation, report, or template.
In the case of the dissertation, this has a specific format defined by the RU Communications department now delegated to the RU library.
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. 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} 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. Take this file and put it into the \path{graphics} folder and the logo should update.
@@ -187,9 +189,8 @@ Some information is at the top of \path{main.tex} file, this file is for a gener
The author's recommendations for RedHat distributions such as Redhat Enterprise Linux, Centos, Fedora are in Listing~\ref{code:texlive-redhat}. The author's recommendations for RedHat distributions such as Redhat Enterprise Linux, Centos, Fedora are in Listing~\ref{code:texlive-redhat}.
Debian-based distributions including Ubuntu and PopOS would use the packages in Listing~\ref{code:texlive-debian}. Debian-based distributions including Ubuntu and PopOS would use the packages in Listing~\ref{code:texlive-debian}.
% TODO: orcidlink
\begin{lstlisting}[caption={RedHat Packages},label={code:texlive-redhat}] \begin{lstlisting}[caption={RedHat Packages},label={code:texlive-redhat}]
sudo dnf -y install texlive-scheme-medium texlive-collection-{fontsrecommended,luatex,latexrecommended} texlive-biblatex-{apa,apa-doc,ieee,ieee-doc} texlive-{amsfonts,amsmath,canoniclayout,ccicons,eepic,gitinfo2,fixme,makeglos,nomencl,lastpage,lipsum,listings,ltxkeys,pgf,pseudocode,stix2-otf,stix2-type1,siunitx,xurl} sudo dnf -y install texlive-scheme-medium texlive-collection-{fontsrecommended,luatex,latexrecommended} texlive-biblatex-{apa,apa-doc,ieee,ieee-doc} texlive-{amsfonts,amsmath,canoniclayout,ccicons,eepic,gitinfo2,fixme,makeglos,nomencl,orcidlink,lastpage,lipsum,listings,ltxkeys,pgf,pseudocode,stix2-otf,stix2-type1,siunitx,xurl}
\end{lstlisting} \end{lstlisting}
\begin{lstlisting}[caption={Debian/Ubuntu Packages},label={code:texlive-debian}] \begin{lstlisting}[caption={Debian/Ubuntu Packages},label={code:texlive-debian}]
sudo apt-get -y install texlive texlive-luatex texlive-latex-extra texlive-science texlive-generic-extra texlive-lang-european texlive-lang-german latex-xcolor texlive-pictures pgf texlive-bibtex-extra texlive-publishers chktex evince fonts-lmodern lmodern biber sudo apt-get -y install texlive texlive-luatex texlive-latex-extra texlive-science texlive-generic-extra texlive-lang-european texlive-lang-german latex-xcolor texlive-pictures pgf texlive-bibtex-extra texlive-publishers chktex evince fonts-lmodern lmodern biber

View File

@@ -47,7 +47,7 @@
%%%%%%%%%%%%%%%%%Information for the Title page %%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%Information for the Title page %%%%%%%%%%%%%%%%%
\title{Thesis and Project Report Template for \theInstitution{}} \title{Doctoral Dissertation Template for \theInstitution{}}
\author{Joseph~T.~Foley and Marcel~Kyas} \author{Joseph~T.~Foley and Marcel~Kyas}
\date{\today}%Generally this is set to the day of the defense \date{\today}%Generally this is set to the day of the defense
@@ -71,7 +71,7 @@
\begin{document} \begin{document}
%% TODO: get the official cover graphic and have the system fill in the fields for you \printedcover{}
\maketitle{} \maketitle{}
\disableindents{}%frontmatter material mostly doesn't need indents \disableindents{}%frontmatter material mostly doesn't need indents
\copyrightpage{RU Report Template}{0000-0000-0000-0000}{100}{ISBN 978-XXXX-XXXX-X-X (print version)\\ \copyrightpage{RU Report Template}{0000-0000-0000-0000}{100}{ISBN 978-XXXX-XXXX-X-X (print version)\\

View File

@@ -39,9 +39,6 @@
%% in the graphics-cropped folder to speed up processing. %% in the graphics-cropped folder to speed up processing.
%%%%%%%%%%%%%%%%%Information for the Title page %%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%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{}} \title{Thesis and Project Report Template for \theInstitution{}}
\author{Joseph~T.~Foley and Marcel~Kyas} \author{Joseph~T.~Foley and Marcel~Kyas}
\date{November, 2025}%Generally this is set to the day of the defense \date{November, 2025}%Generally this is set to the day of the defense

View File

@@ -9,7 +9,7 @@
%% Details at LICENSE.md %% Details at LICENSE.md
%% --------------- Identification ---------------------------- %% --------------- Identification ----------------------------
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rudissertation}[2024/11/15 RU Thesis Formatting V3.2] \ProvidesPackage{rudissertation}[2026/1/26 RU Dissertation Formatting V3.3]
%% --------------- Option Processing-------------------------- %% --------------- Option Processing--------------------------
%% The forcegraphics option renders graphics even in draft mode %% The forcegraphics option renders graphics even in draft mode
\DeclareOption{forcegraphics}{% \DeclareOption{forcegraphics}{%
@@ -37,17 +37,12 @@
%% ---------------- Internationalization ----------------------------- %% ---------------- Internationalization -----------------------------
% Font setup % Font setup
% Standardized STIX2 fonts that print well, display on % Standardized STIX2 fonts that print well, display on
% e-readers/screens clearly, and have compatible licensing % e-readers/screens clearly, and have compatible licensing requirements
% requirements
% allows UTF encoding, needed for Icelandic and other accented characters % allows UTF encoding, needed for Icelandic and other accented characters
\RequirePackage{unicode-math}% loads STIX and math unicode characters % LuaLaTeX/XeLaTeX only!
\RequirePackage{unicode-math}% loads STIX2 and math unicode characters
\setmathfont{STIX Two Math} \setmathfont{STIX Two Math}
\setmainfont{STIX Two Text}[ \setmainfont{STIX Two Text}
Extension={.otf},
UprightFont={*-Regular},
BoldFont={*-Bold},
ItalicFont={*-Italic},
BoldItalicFont={*-BoldItalic}]
%% ---------------- Graphics ------------------------------ %% ---------------- Graphics ------------------------------
\RequirePackage{graphicx} \RequirePackage{graphicx}
@@ -78,6 +73,93 @@ BoldItalicFont={*-BoldItalic}]
%\makeoddhead{chapter}{}{}{} %to change only one side %\makeoddhead{chapter}{}{}{} %to change only one side
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%% COVER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{printcover}%Never put a number
{\thispagestyle{empty}%
\pagestyle{empty}%
\thispagestyle{empty}%
\clearforchapter% clear to chapter setting
\disableindents%
\titletextfont\SingleSpacing}%
{\setlength{\TPMargin}{0mm} %% margins inside the textblock
\enableindents{}\newpage}%
\RequirePackage{calc}%arithmetic in commands like lengths
\RequirePackage[absolute, verbose]{textpos}
% option: showboxes for placement
\RequirePackage{xcolor}
\definecolor{rugray}{rgb}{0.2,0.2,0.2}
\definecolor{rured}{rgb}{0.84,0.10,0.13}
\RequirePackage{rulogo}
% \RequirePackage{printlen}% display lengths in arbitrary units
%% 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}{\stockwidth/2}
\newlength{\pagecentery}
\setlength{\pagecentery}{\stockheight/2}
\newlength{\covernowinmarginl}
\setlength{\covernowinmarginl}{30mm}
%% Helvetics in package helvet, family code phv
\RequirePackage{helvet}
\newfontfamily\phdcoverfont{Nimbus Sans}
% \def\frontcovertitlefont{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{20.74}{24}\selectfont}
\def\frontcovertitlefont{\fontseries{b}\fontshape{n}\fontsize{20.74}{24}\phdcoverfont}
% \def\frontcovertitletext{\fontfamily{phv}\fontseries{m}\fontshape{n}\fontsize{14.4}{16}\selectfont}
\def\frontcovertitletext{\fontseries{m}\fontshape{n}\fontsize{14.4}{16}\phdcoverfont}
\def\titletitlefont{\fontseries{b}\fontsize{17pt}{20pt}\phdcoverfont}
\def\titletextfont{\fontsize{14pt}{16pt}\phdcoverfont}
\def\titleinfofont{\fontsize{12}{14}\phdcoverfont}
%% ----- PRINTED FRONT COVER ----------------------------------------------------------
%% This cover will be on the outside (not with window)
\newcommand{\printedcover}{
\begin{printcover}
\setlength{\TPMargin}{0mm} %% margins inside the textblock*
\sffamily
\begin{textblock*}{\textwidth}[0.5,0.5](\pagecenterx,68mm)%
{\rulogo{}}%
\end{textblock*}
%
\setSingleSpace{1.8}\SingleSpacing%
\begin{textblock*}{\textwidth}[0,0](\covernowinmarginl,120mm)%
\textcolor{rugray}{\frontcovertitlefont\thetitle}\par%
\end{textblock*}%
%
\setSingleSpace{1.5}\SingleSpacing%
\begin{textblock*}{\textwidth}[0,0](\covernowinmarginl,222mm)%
\begin{minipage}{\textwidth}
\textcolor{rugray}{
\frontcovertitletext
\textbf{\theauthor}\\%
Name of Degree\\%
Whensigned\\%
School\\%
Institution%
}\par
\vspace*{5mm}
\textcolor{rured}{
\frontcovertitlefont
DEgree abbrev.
%\ifbool{projectreport}{}{\degreeabbrv@ruthesis{}} \documenttype@ruthesis
}\par
\vspace*{3mm}
{\scriptsize\color{rugray}Book ID}%
\end{minipage}
\end{textblock*}
\SingleSpacing{}
\end{printcover}
\newpage\quad%% I am not sure why we must put this to ensure that the covers don't overlap
\newpage % without this, page numbers show up. Weird.
}
%%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Memoir titlepage definition and info at p.64 %% Memoir titlepage definition and info at p.64
\renewcommand{\pretitle}{\begin{center}}% \renewcommand{\pretitle}{\begin{center}}%
@@ -109,15 +191,19 @@ BoldItalicFont={*-BoldItalic}]
Copyright \textcopyright{} \the\year{} \ccbyncnd \\ Copyright \textcopyright{} \the\year{} \ccbyncnd \\
\end{flushleft} \end{flushleft}
This work is licensed under the \href{http://creativecommons.org/licenses/by-nc-nd/4.0/}{Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License}. This work is licensed under the \href{http://creativecommons.org/licenses/by-nc-nd/4.0/}{Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License}.
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. However, this license does not cover the Reykjavik University logo (word- and figurative mark).
You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. The Reykjavik University logo is a registered trademark and remains the intellectual property of Reykjavik University.
You may not use the material for commercial purposes. Any reuse, redistribution, or modification of the Reykjavik University logo is strictly prohibited without explicit written permission from Reykjavik University.
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. 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.
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 may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
you will need to obtain permission directly from the copyright holder. You may not use the material for commercial purposes.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, If you remix, transform or build upon the material, you may not distribute the modified material.
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.
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.\par
\end{vplace} \end{vplace}
\begin{flushleft} \begin{flushleft}

69
rulogo.sty Normal file
View File

@@ -0,0 +1,69 @@
%% Reykjavik University Logo in Tikz
%% Logo designed by graphic designers Alli Metal and Annetta Scheving in 2009
%% Conversion by Johannes Berger Gunnarson <johannesg at RU dot IS> 2022-03-17
\PassOptionsToPackage{table}{xcolor}
\RequirePackage{xcolor}
\RequirePackage{tikz}
\usetikzlibrary{decorations.text,decorations.shapes,decorations.pathreplacing}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{arrows.meta,bending}
\usetikzlibrary{positioning}
\definecolor{HRred}{RGB}{230 45 9} %Rétt, fengið frá skóla
%\colorlet{HRgray}{gray!10!black!70} %gamalt
\definecolor{HRgray}{RGB}{72 72 72}%Rétt, fengið frá skóla
\newcommand{\charCommand}[1]{\hspace{0.5mm}#1\hspace{0.5mm}}
\newcommand{\charCommandROT}[1]{\hspace{0.5mm}\rotatebox[origin = c]{180}{#1}\hspace{0.5mm}}
% Use TeX Gyre Heros (tgheros) to replace copyrighted font.
\RequirePackage{tgheros}
\newfontfamily\rufont{TeX Gyre Heros}
\newcommand\rulogo{\drawrulogo{0.5}}%most documents only need the half-size logo
\newcommand{\drawrulogo}[1]{
%ARG: scale based upon 6cm = 1
\phantom{bla}
\begin{tikzpicture}[scale=#1, every node/.style={scale=#1}]
\useasboundingbox (-6cm, -6cm)rectangle (6cm, 6cm);
\clip[overlay]
(-6cm, -6cm) rectangle (6cm, 6cm)
(0, 0) circle (1.13cm);
\pgfmathsetmacro{\Null}{-17}
\pgfmathsetmacro{\hringSidast}{\Null}
\foreach \horn/\rad in{43/3.45, 42/4.08, 6/2.1, 26/3.45, 5/2.85, 65/4.08, 4/3.4, 12/2.8, 8.5/0.5, 1.5/3.4, 25/4.08, 9/2.85, 11/2.05, 9/0.5, 45/4.08, 11/3.43, 9/2.85, 24/4.08, 4/2}
{
\pgfmathsetmacro{\hringNu}{\hringSidast+\horn}
\draw [HRred, fill=HRred] (0,0) --+(\hringSidast:\rad) arc(\hringSidast:\hringNu:\rad)--(0,0);
\global\let\hringSidast=\hringNu
}
{%\large
\bfseries\fontsize{6pt}{6pt}\rufont
\draw [rotate = -2,decorate,decoration={text effects along path,
text={H{Á}SK{Ó}LINN {Í} REYKJAV{Í}K},
text align=center,
text effects/.cd,
text along path, scale text to path,
characters={HRgray,character command=\charCommand}}
]
{(180:4.8) arc (180:4:4.8) };
% \draw[rotate = -5] (0,0) --(180:4.8) arc (180:10:4.8)--cycle;
\draw [ rotate = -8,decorate,decoration={text effects along path,
text={YTISREVINU KIVAJKYER},
text align=center,
text effects/.cd,
text along path, scale text to path,
characters={HRgray,character command=\charCommandROT}}
]
{(0:4.8) arc (0:-164:4.8) };
}
% \draw[rotate = 5] (0,0) --(180:4.8) arc (180:350:4.8)--cycle;
\end{tikzpicture}
\phantom{bla}
}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "main-dissertation"
%%% TeX-engine: luatex
%%% End:

View File

@@ -37,20 +37,12 @@
%% ---------------- Internationalization ----------------------------- %% ---------------- Internationalization -----------------------------
% Font setup % Font setup
% Standardized STIX2 fonts that print well, display on % Standardized STIX2 fonts that print well, display on
% e-readers/screens clearly, and have compatible licensing % e-readers/screens clearly, and have compatible licensing requirements
% requirements
% allows UTF encoding, needed for Icelandic and other accented characters % allows UTF encoding, needed for Icelandic and other accented characters
\RequirePackage{fontspec} % LuaLaTeX/XeLaTeX only!
\RequirePackage{unicode-math}% loads STIX and math unicode characters \RequirePackage{unicode-math}% loads STIX2 and math unicode characters
\setmathfont{STIX Two Math} \setmathfont{STIX Two Math}
\setmainfont{STIXTwoText}[ \setmainfont{STIX Two Text}
Path={./Fonts/},
Extension={.otf},
UprightFont={*-Regular},
BoldFont={*-Bold},
ItalicFont={*-Italic},
BoldItalicFont={*-BoldItalic}]
%% ---------------- Page and Margin Sizes ----------------------------- %% ---------------- Page and Margin Sizes -----------------------------
\setxlvchars{}\setlxvchars{} \setxlvchars{}\setlxvchars{}
\pageaiv{} \pageaiv{}
@@ -62,6 +54,8 @@ BoldItalicFont={*-BoldItalic}]
%% ---------------- Graphics ------------------------------ %% ---------------- Graphics ------------------------------
\RequirePackage{graphicx} \RequirePackage{graphicx}
%% GraphicsX converts and includes graphics intelligently which is needed for jpg, png, etc. %% GraphicsX converts and includes graphics intelligently which is needed for jpg, png, etc.
\RequirePackage{rulogo}
%% RU logo with font compatible with Skemman
%% ---------------- URLs and Paths ----------------------------- %% ---------------- URLs and Paths -----------------------------
\PassOptionsToPackage{obeyspaces,spaces,hyphens,allowmove}{url} \PassOptionsToPackage{obeyspaces,spaces,hyphens,allowmove}{url}
@@ -124,15 +118,13 @@ BoldItalicFont={*-BoldItalic}]
\newcommand{\DocumentDescription}[1]{\renewcommand{\docdesc@ruthesis}{#1}}%nop for now \newcommand{\DocumentDescription}[1]{\renewcommand{\docdesc@ruthesis}{#1}}%nop for now
\newcommand{\pubplaceyear@ruthesis}{Reykjavik, 2025} \newcommand{\pubplaceyear@ruthesis}{Reykjavik, 2025}
\newcommand{\publocation}[1]{\renewcommand{\pubplaceyear@ruthesis}{#1}} \newcommand{\publocation}[1]{\renewcommand{\pubplaceyear@ruthesis}{#1}}
\newcommand{\logo@ruthesis}{graphics/smiley-logo}
\newcommand{\logo}[1]{\renewcommand{\logo@ruthesis}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Memoir titlepage definition and info at p.64 %% Memoir titlepage definition and info at p.64
%% \title is ignoring formatting for reasons I don't understand %% \title is ignoring formatting for reasons I don't understand
\renewcommand{\maketitlehooka}{ \renewcommand{\maketitlehooka}{
\begin{center} \begin{center}
\includegraphics[width=0.3\textwidth]{\logo@ruthesis} \rulogo{}
\par\end{center}\vspace{0.7cm} \par\end{center}\vspace{0.7cm}
} }
%% TODO: investigate why bold isn't working on the title %% TODO: investigate why bold isn't working on the title