|
|
|
|
@@ -73,6 +73,43 @@
|
|
|
|
|
%\makeoddhead{chapter}{}{}{} %to change only one side
|
|
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
%% Information about Institution, Author, Degree, and Program
|
|
|
|
|
\newcommand{\theInstitution}{Reykjav\'{\i}k University}%
|
|
|
|
|
\newcommand{\theInstitutionAddress}{Menntavegur 1\\102 Reykjav\'{\i}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{\theISSN}{XXXX-XXXX}
|
|
|
|
|
\newcommand{\bookissn}[1]{\renewcommand{\theISSN}{#1}}
|
|
|
|
|
|
|
|
|
|
\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
|
|
|
|
|
}
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%% COVER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
\RequirePackage{calc}%arithmetic in commands like lengths
|
|
|
|
|
%\RequirePackage{printlen}% display lengths in arbitrary units
|
|
|
|
|
@@ -105,7 +142,7 @@
|
|
|
|
|
|
|
|
|
|
%% ----- PRINTED FRONT COVER ----------------------------------------------------------
|
|
|
|
|
%% This cover will be on the outside (not with window)
|
|
|
|
|
\newcommand{\printedcover}[2]{%
|
|
|
|
|
\newcommand{\printedcover}[1]{%
|
|
|
|
|
\pagestyle{empty}\thispagestyle{empty}\SingleSpacing%
|
|
|
|
|
\sffamily%
|
|
|
|
|
\disableindents\titletextfont\SingleSpacing%
|
|
|
|
|
@@ -126,13 +163,39 @@
|
|
|
|
|
\vspace*{\baselineskip}%
|
|
|
|
|
{\color{rured}\frontcovertitlefont\theDegreeAbbrv{}~\theDocumentType}\par%
|
|
|
|
|
\vspace*{\baselineskip}%
|
|
|
|
|
\color{rugray}\frontcovertitletextfont\scriptsize#2\par%ISSN
|
|
|
|
|
\color{rugray}\frontcovertitletextfont\scriptsize\theISSN\par%ISSN
|
|
|
|
|
\end{textblock*}
|
|
|
|
|
\rmfamily\quad%need empty text show that it is a page
|
|
|
|
|
\enableindents{}
|
|
|
|
|
\newpage
|
|
|
|
|
%% TODO: isolate font and spacing changes from the rest of the document
|
|
|
|
|
}
|
|
|
|
|
%% This command makes the back-cover materials
|
|
|
|
|
\newcommand{\backcover}{%
|
|
|
|
|
\thispagestyle{empty}%
|
|
|
|
|
\pagestyle{empty}%
|
|
|
|
|
\cleartoevenpage{}% clear to chapter setting
|
|
|
|
|
\disableindents%
|
|
|
|
|
\quad%ensure page has content
|
|
|
|
|
\begin{textblock*}{\textwidth}[0,1](\printcoverlmargin,\paperheight+\trimtop-35mm)%
|
|
|
|
|
\titleinfofont\SingleSpacing%
|
|
|
|
|
% \vplace[0.8]{
|
|
|
|
|
\begin{tabular}{ll}
|
|
|
|
|
\rulogo{}&
|
|
|
|
|
\begin{minipage}[b]{10cm}%
|
|
|
|
|
{\titletextfont\color{rugray}%
|
|
|
|
|
\theSchool\par
|
|
|
|
|
\theInstitution\par
|
|
|
|
|
\theInstitutionAddress\par
|
|
|
|
|
\theInstitutionPhone\par
|
|
|
|
|
\theInstitutionURL\par
|
|
|
|
|
\theISSN\par
|
|
|
|
|
}
|
|
|
|
|
\end{minipage}\\%
|
|
|
|
|
\end{tabular}
|
|
|
|
|
\enableindents{}%
|
|
|
|
|
\end{textblock*}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -307,40 +370,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@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}}
|
|
|
|
|
|
|
|
|
|
|