Compare commits
22 Commits
bea14e0845
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 1646abd0b4 | |||
| c8006df8af | |||
| 862e748cf3 | |||
| 83020e0d9f | |||
| 8c0982b712 | |||
| acda0d1b45 | |||
| 6d241574e4 | |||
| 0c1b6634fc | |||
| 2bd7045d65 | |||
| 2afe7889cd | |||
| b5735f1315 | |||
| d2c5c5f6c3 | |||
| 32d7064454 | |||
| 9aadaece9d | |||
| 633630282f | |||
| 3354e64c61 | |||
| b8ac41bf47 | |||
| 7a544d6111 | |||
| 6aa1afd652 | |||
| 98f9ac266a | |||
| dcefb22297 | |||
| 8d3e136320 |
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.
3
delete-generatedfiles.sh
Executable file
3
delete-generatedfiles.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
echo "deleting LaTeX generated files (except pdfs)"
|
||||||
|
rm *.aux *.bbl *.bcf *.blg *.fdb_latexmk *.fls *.idx *.ilg *.ind *.lof *.log *.lot *.lox *.out *.run.xml *.synctex.gz *.toc *.xdv
|
||||||
@@ -50,9 +50,11 @@ 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.
|
||||||
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.
|
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.
|
||||||
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.
|
||||||
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}
|
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}
|
||||||
@@ -60,7 +62,7 @@ If you are writing a PhD dissertation, you will want to edit \path{main-disserta
|
|||||||
\item {\em How do I use APA citations?}
|
\item {\em How do I use APA citations?}
|
||||||
The template is setup to use IEEE citations by default.
|
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}
|
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}|
|
See the line: \verb|\usepackage[backend=biber,style=ieee]{biblatex}|
|
||||||
|
|
||||||
\item {\em Why does the margins and page size look weird?}
|
\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.
|
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.
|
||||||
@@ -104,25 +106,17 @@ If you are writing a PhD dissertation, you will want to edit \path{main-disserta
|
|||||||
|
|
||||||
\section{Coverpage}\label{sec:coverpage}
|
\section{Coverpage}\label{sec:coverpage}
|
||||||
Reykjavik University's communications department insists on a common outer appearance of official printed documentation, which includes Doctoral Dissertations.
|
Reykjavik University's communications department insists on a common outer appearance of official printed documentation, which includes Doctoral Dissertations.
|
||||||
The library has been delegated the role of deciding what the non-printed student theses and project reports should look like.
|
The library has been delegated the role of deciding what the student theses and project reports should look like.
|
||||||
They have stated that since most never are printed, the focus should be on suitability for displaying on a screen and e-reader.
|
They have stated that since most never are printed, the focus should be on suitability for displaying on a screen and e-reader.
|
||||||
The current template in \path{main.tex} implements the cover page and copyright page that go on the inside.
|
The current template in \path{main.tex} implements the cover page and copyright page that go on the inside.
|
||||||
|
|
||||||
Doctoral students need to contact the RU Communications department for slightly different custom cover PDF before the document is to be published\footnote{The author highly suggests doing this 2 weeks before it is due.}.
|
Previously, doctoral students needed contact RU Communications for the outside cover that is printed on heavier paper and bound around the book.
|
||||||
This class supports the RU Communication's desire for the common appearance through the \texttt{rucover} package.
|
This is now included in the template \path{main-dissertation.tex} as of 2026-01-27.
|
||||||
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}
|
\section{Files and Directories/Folders}
|
||||||
\begin{itemize}
|
\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{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{IEEEtran/:} contains the IEEE citation style files
|
\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}
|
\end{itemize}
|
||||||
|
|
||||||
\section{Limited Access}
|
\section{Limited Access}
|
||||||
@@ -150,10 +144,10 @@ The general submission sequence is:
|
|||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item Defense complete, minor corrections complete after X 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 Save the completed thesis text as \path{main.pdf}
|
||||||
%\item Get signature pages signed by supervisor(s) and examiner.
|
\item PhD: Get signature pages signed by supervisor(s) and examiner on physical copies.
|
||||||
%\item Sign the library release page.
|
%\item Sign the library release page.
|
||||||
%\item Scan the pages in, put them into the document in the appropriate places.
|
%\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 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 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 Upload the finished \path{main.pdf} to Skemman.
|
||||||
\item An autogenerated email is sent from Skemman.
|
\item An autogenerated email is sent from Skemman.
|
||||||
@@ -169,26 +163,27 @@ Some information is at the top of \path{main.tex} file, this file is for a gener
|
|||||||
\subsection{Preparation}
|
\subsection{Preparation}
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item Find a safe place to work on your thesis document.
|
\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.
|
The author recommends Overleaf with the git integration\footnote{So you have a copy locally on your computer with all of its history}, but anywhere data is backed up is a appropriate.
|
||||||
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.
|
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.}.
|
Due to Murphy's law, this is likely to happen just before your thesis is due\footnote{This has happened many times.}.
|
||||||
|
If you are working with sensitive information, you should avoid bitbucket, google drive, dropbox, and any other free cloud service.
|
||||||
|
|
||||||
\item Get a LaTeX installation.
|
\item Get a LaTeX installation.
|
||||||
We recommend TeXlive \url{https://www.tug.org/texlive/}
|
We recommend TeXlive \url{https://www.tug.org/texlive/} in general.
|
||||||
For this template on windows, MiKTeX will also work, but will run very slowly the first time you render the template.
|
You will need to figure out which packages you need or just install the whole distribution which is around 6~GB.
|
||||||
{\em As of September 2024, both MikTeX and TexLive did not want to install properly on the author's Windows 11 computer.}
|
|
||||||
You will need to enable the ``miktex'' option in the template to substitute packages.
|
If you wish to install packages as needed, you can use MiKTeX \url{https://miktex.org} by Christian Schenk which exists for Windows, Linux, and Mac.
|
||||||
|
MiKTeX will run very slowly the first time you render the template.
|
||||||
It is very very important that you run the ``MikTeX Update Wizard'' before you start.
|
It is very very important that you run the ``MikTeX Update Wizard'' before you start.
|
||||||
Otherwise you may get errors when you try to build the document.
|
Otherwise you may get errors when you try to build the document.
|
||||||
|
A Mac-focused installer can be found at MacTeX \url{https://tug.org/mactex}
|
||||||
|
|
||||||
Under Apple iOS and linux this is the TexLive series of packages.
|
|
||||||
Linux distributions name the packages differently.
|
Linux distributions name the packages differently.
|
||||||
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}.
|
||||||
|
|
||||||
\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,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,babel-latin,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
|
||||||
|
|||||||
@@ -42,14 +42,15 @@ 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}.
|
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.
|
This table is formatted in the style of a book, which is very differerent than the style one is used to in Excel.
|
||||||
|
|
||||||
The test text ``Lorem Ipsum''\index{Lorem Ipsum} is from an ancient text from 45 B.C. \cite{cicero46deFinibus, lipsomwebsite}\\
|
|
||||||
\lipsum[1-5]
|
|
||||||
\subsection{Subsection}
|
\subsection{Subsection}
|
||||||
\lipsum[6-10]
|
Some text
|
||||||
|
|
||||||
\subsubsection{SubSubsection}
|
\subsubsection{SubSubsection}
|
||||||
\lipsum[11-15]
|
Even more text
|
||||||
|
|
||||||
\section[Section with an extremely long name]{Section with a very very very very very very very very very very very very very very very very very very very very long name}
|
\section[Section with an extremely long name]{Section with a very very very very very very very very very very very very very very very very very very very very long name}
|
||||||
\lipsum[11-18]
|
Lots and lots of text!
|
||||||
|
I took out the Lore Ipsum because of the latin confusing polyglossia and biblatex.
|
||||||
|
|
||||||
%%% Local Variables:
|
%%% Local Variables:
|
||||||
%%% mode: latex
|
%%% mode: latex
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
%%%% This template is for Dissertations (PhD)
|
%%%% This template is for Dissertations (PhD)
|
||||||
%%%% Make sure you have lualatex installed!!! (package texlive-luaatex)
|
%%%% Make sure you have lualatex installed!!! (package texlive-luaatex)
|
||||||
\documentclass[showtrims, b5paper]{rubook}
|
\documentclass[showtrims,b5paper]{rubook}
|
||||||
%% a4paper or b5paper: paper stock size.
|
%% a4paper or b5paper: paper stock size.
|
||||||
%% If A4, show cut lines for the printer. If b5, no cut lines.
|
%% If A4, show cut lines for the printer. If b5, no cut lines.
|
||||||
\usepackage{rudissertation}%% RU PhD Dissertation formatting
|
\usepackage{rudissertation}%% RU PhD Dissertation formatting
|
||||||
@@ -11,7 +11,6 @@
|
|||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
\setdefaultlanguage{english}
|
\setdefaultlanguage{english}
|
||||||
\setotherlanguage{icelandic}
|
\setotherlanguage{icelandic}
|
||||||
|
|
||||||
%%% Setup citations: pick one format
|
%%% Setup citations: pick one format
|
||||||
%% IEEE Format
|
%% IEEE Format
|
||||||
\usepackage[backend=biber,style=ieee]{biblatex}
|
\usepackage[backend=biber,style=ieee]{biblatex}
|
||||||
@@ -47,16 +46,18 @@
|
|||||||
|
|
||||||
%%%%%%%%%%%%%%%%%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{January 2026}%Generally this is set to the day of the defense
|
||||||
|
|
||||||
%\DocumentInfo{TYPE}{ABBREVIATION}{DEGREE}{PROGRAM}{ECTS}{School/Department}
|
%\DocumentInfo{TYPE}{ABBREVIATION}{DEGREE}{PROGRAM}{ECTS}{School/Department}
|
||||||
\DocumentInfo{Thesis}{M.Sc.}{Master of Science}{Mechatronics}{30}{Department of Engineering}
|
\DocumentInfo{Dissertation}{Ph.D.}{Doctor of Science}{Mechanical Engineering}{XX}{Department of Engineering}
|
||||||
\DocumentDescription{\theDocumentType{} of \theECTS{} ECTS credits
|
\DocumentDescription{\theDocumentType{} of \theECTS{} ECTS credits
|
||||||
submitted to the \theSchool{} at \theInstitution{} in partial fulfillment
|
submitted to the \theSchool{} at \theInstitution{} in partial fulfillment
|
||||||
of the requirements for the degree of \theDegreeLong}
|
of the requirements for the degree of \theDegreeLong}
|
||||||
% Change \DocumentDescription 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
|
||||||
|
\bookissn{ISSN XXXX-XXXX}%You need to register for an ISSN to publish a Dissertation
|
||||||
|
|
||||||
|
|
||||||
%% PhD only have Thesis Committee with roles. Examiner is part of committee.
|
%% PhD only have Thesis Committee with roles. Examiner is part of committee.
|
||||||
\SupervisorHeading{Thesis Committee}
|
\SupervisorHeading{Thesis Committee}
|
||||||
@@ -71,10 +72,13 @@
|
|||||||
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
%% TODO: get the official cover graphic and have the system fill in the fields for you
|
|
||||||
|
\printedcover{\thetitle}%Cover title (in case you have to adjust formatting)
|
||||||
\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{\thetitle}{0000-0000-0000-0000}{100}{ISBN 978-XXXX-XXXX-X-X (print version)\\
|
||||||
ISBN 978-XXXX-XXXX-X-X (electronic version)}{Printing: RU Printing osf.}{Printed on 900g Cardboard paper}
|
ISBN 978-XXXX-XXXX-X-X (electronic version)}{Printing: RU Printing osf.}{Printed on 900g Cardboard paper}
|
||||||
% If this is a PhD, register for an ISSN and ISBN, then:
|
% If this is a PhD, register for an ISSN and ISBN, then:
|
||||||
% \copyrightpage{<Short title>}{<ORCID>}{<total number of pages>}{ISBN 978-XXXX-XXXX-X-X (print version)\\
|
% \copyrightpage{<Short title>}{<ORCID>}{<total number of pages>}{ISBN 978-XXXX-XXXX-X-X (print version)\\
|
||||||
@@ -82,11 +86,7 @@ ISBN 978-XXXX-XXXX-X-X (electronic version)}{Printing: RU Printing osf.}{Printed
|
|||||||
% For submitting in Skemman the ISBN can be replaced with the url handle ( \url{http://hdl.handle.net/1946/xxxx} )
|
% For submitting in Skemman the ISBN can be replaced with the url handle ( \url{http://hdl.handle.net/1946/xxxx} )
|
||||||
% Inside ruthesis.sty, the copyrightpage can be edited - there is an option to include a stamp/icon of the printer
|
% Inside ruthesis.sty, the copyrightpage can be edited - there is an option to include a stamp/icon of the printer
|
||||||
|
|
||||||
% If this is a PhD, register for an ISSN and ISBN, then:
|
% \begin{dedications}% Optional
|
||||||
% \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.
|
% I dedicate this to my spouse/child/pet/power animal.
|
||||||
%\end{dedications}
|
%\end{dedications}
|
||||||
|
|
||||||
@@ -172,7 +172,7 @@ It is likely to save you a lot of frustration and errors.
|
|||||||
%% Index, optional. A good idea on longer documents
|
%% Index, optional. A good idea on longer documents
|
||||||
\clearforchapter{}
|
\clearforchapter{}
|
||||||
\printindex{}%%RUM: Not mentioned
|
\printindex{}%%RUM: Not mentioned
|
||||||
|
\backcover{}
|
||||||
\end{document}
|
\end{document}
|
||||||
%%% Local Variables:
|
%%% Local Variables:
|
||||||
%%% mode: latex
|
%%% mode: latex
|
||||||
|
|||||||
7
main.tex
7
main.tex
@@ -8,7 +8,6 @@
|
|||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
\setdefaultlanguage{english}
|
\setdefaultlanguage{english}
|
||||||
\setotherlanguage{icelandic}
|
\setotherlanguage{icelandic}
|
||||||
|
|
||||||
%%% Setup citations: pick one format
|
%%% Setup citations: pick one format
|
||||||
%% IEEE Format
|
%% IEEE Format
|
||||||
\usepackage[backend=biber,style=ieee]{biblatex}
|
\usepackage[backend=biber,style=ieee]{biblatex}
|
||||||
@@ -39,9 +38,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
|
||||||
@@ -65,7 +61,10 @@
|
|||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
%% TODO: get the official cover graphic and have the system fill in the fields for you
|
%% TODO: get the official cover graphic and have the system fill in the fields for you
|
||||||
|
\thispagestyle{empty}
|
||||||
|
\pagestyle{empty}
|
||||||
\maketitle{}
|
\maketitle{}
|
||||||
|
\copyrightpage{}
|
||||||
%\signaturepage{} %Generally only for Print copies & now defunct in the Engineering department.
|
%\signaturepage{} %Generally only for Print copies & now defunct in the Engineering department.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
715
rudissertation-old.sty
Normal file
715
rudissertation-old.sty
Normal file
@@ -0,0 +1,715 @@
|
|||||||
|
%% ---------------------------------------------------------------------------------------------
|
||||||
|
%% LaTeX Base Class Reykjavík University Theses/Dissertations/Books,
|
||||||
|
%% ---------------------------------------------------------------------------------------------
|
||||||
|
%% 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-help@LIST.RU.IS
|
||||||
|
%% Created on 2020-02-03
|
||||||
|
%% This code is distributed under the MIT license
|
||||||
|
%% Details at LICENSE.md
|
||||||
|
|
||||||
|
%%% WARNING: This does not work without ruthesis.cls!!!
|
||||||
|
|
||||||
|
%% --------------- Identification ----------------------------
|
||||||
|
\newcommand{\fileversion@ruthesis}{$Revision: 361 $}
|
||||||
|
\newcommand{\filedate@ruthesis}{2020/02/03}% must be YYYY/MM/DD!
|
||||||
|
\newcommand{\fileauthor@ruthesis}{Joseph Timothy Foley, foley at RU.IS}
|
||||||
|
\ProvidesPackage{ruthesis}[\filedate@ruthesis by \fileauthor@ruthesis]
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\typeout{Thesis Class for Reykjavik University \fileversion@ruthesis <\filedate@ruthesis>, by \fileauthor@ruthesis}
|
||||||
|
|
||||||
|
%% ---------------- Critical packages -----------------------------
|
||||||
|
% Toolbox of many many macros that make a lot of latex code smarter and more robust
|
||||||
|
% Incl: \newbool, \ifbool, etc.
|
||||||
|
% http://texdoc.net/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
|
||||||
|
\RequirePackage{etoolbox}
|
||||||
|
|
||||||
|
%% ---------------- 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}}
|
||||||
|
|
||||||
|
\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}%
|
||||||
|
}%
|
||||||
|
|
||||||
|
%%% Memoir test: Memoir Manual 21.2 p.367
|
||||||
|
%% Only works with the memoir class!!!!!!!!!!!!!!!
|
||||||
|
\@ifclassloaded{memoir}{\let\endruthesis\relax}{\let\endruthesis\endinput
|
||||||
|
\PackageError{ruthesis}{The ruthesis package only works with the memoir class}%
|
||||||
|
{\@ehd}}
|
||||||
|
\endruthesis
|
||||||
|
%%---------------- 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 -----------------------------
|
||||||
|
|
||||||
|
%% 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
|
||||||
|
\RequirePackage[utf8]{inputenc}
|
||||||
|
|
||||||
|
% Font setup
|
||||||
|
% Standardized STIX2 fonts that print well, display on
|
||||||
|
% e-readers/screens clearly, and have compatible licensing
|
||||||
|
% requirements
|
||||||
|
\RequirePackage{stix2}
|
||||||
|
\RequirePackage[T1]{fontenc}
|
||||||
|
|
||||||
|
% 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
|
||||||
|
|
||||||
|
\usepackage[useregional]{datetime2}
|
||||||
|
%% Smart manipulation of dates
|
||||||
|
\renewcommand{\date}[3]{\newcommand{\thedate}{\DTMdisplaydate{#1}{#2}{#3}{-1}}}
|
||||||
|
|
||||||
|
% \RequirePackage[autostyle,strict]{csquotes}
|
||||||
|
%% http://mirrors.concertpass.com/tex-archive/macros/latex/contrib/csquotes/csquotes.pdf
|
||||||
|
%% You invoke with \enquote{} and \blockquote{}
|
||||||
|
%% csquotes must be loaded before babel for AUCTeX
|
||||||
|
%% autostyle: update style as language changes in document
|
||||||
|
%% strict: any warnings become errors
|
||||||
|
%% Don't forget to load Babel!
|
||||||
|
|
||||||
|
%% 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.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%% MARGINS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%% WARNING: memoir class has its own margin macros
|
||||||
|
%% Do not use the geometry package!!!!
|
||||||
|
|
||||||
|
%% Note: The old MS word template uses even 25.4mm margins which works poorly as a bound book
|
||||||
|
\setxlvchars{}
|
||||||
|
\setlxvchars{}
|
||||||
|
\trimLmarks{}% trim marks get cut off
|
||||||
|
% \stockaiv{}% paper stock a4
|
||||||
|
\stockbv{}% paper stock a4
|
||||||
|
\pagebv{}% cut to b5
|
||||||
|
%\settrims{0pt}{0pt}
|
||||||
|
\setpagebl{\paperheight}{\paperwidth}{*}%page area on bottom left for cutting
|
||||||
|
%\checkandfixthelayout% implement the margins
|
||||||
|
|
||||||
|
\RequirePackage{canoniclayout}
|
||||||
|
|
||||||
|
%% Some debugging code to check length calculation.
|
||||||
|
\newcommand{\showlengths@ruthesis}{
|
||||||
|
\uselengthunit{mm} % showlen package
|
||||||
|
Lengths: (with round off error from floats)\\
|
||||||
|
pagecenterx:\printlength{\pagecenterx}\\
|
||||||
|
pagecentery:\printlength{\pagecentery}\\
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
%% ---------------- Graphics ------------------------------
|
||||||
|
\RequirePackage{graphicx}
|
||||||
|
%% GraphicsX converts and includes graphics intelligently
|
||||||
|
|
||||||
|
\graphicspath{{graphics/}{Graphics/}{./}}
|
||||||
|
%% This is a list of folders to search for graphics files to include
|
||||||
|
%% Each path should be in a {}.
|
||||||
|
%% Make sure that the upper/lowercase of the letters matches the folder or
|
||||||
|
%% you may have weird problems with partners using OSX or Linux.
|
||||||
|
%% Note that you don't have to put the folder where the .tex file is, it is
|
||||||
|
%% included automatically, though it is bad practice to put your
|
||||||
|
%% graphics there
|
||||||
|
%% 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/}{./}}
|
||||||
|
%%
|
||||||
|
%% If you put a // at the end of the path, it will recursively search for graphics
|
||||||
|
%% files on unix-based (OSX, Linux, etc.) platforms.
|
||||||
|
|
||||||
|
|
||||||
|
%% ---------------- URLs and Paths -----------------------------
|
||||||
|
\PassOptionsToPackage{obeyspaces,spaces,hyphens,allowmove}{url}
|
||||||
|
\RequirePackage{url}
|
||||||
|
%% The url package typesets url's and unix file paths nicely when they
|
||||||
|
%% become long. \url{}
|
||||||
|
%% Also defines \path{} which works with filepaths including windows paths.
|
||||||
|
%% Watch out that you leave a space after a last \ e.g. \path{C:\ }
|
||||||
|
%% You need another verbatim environment to make those typeset properly.
|
||||||
|
%% Also defines the \path{} command for paths
|
||||||
|
%% Option: obeyspace to deal with spaces in a path/url
|
||||||
|
%% Option: spaces to do linebreaks at the spaces.
|
||||||
|
%% Option: hyphens to do linebreaks at hyphens.
|
||||||
|
%% Option: allowmove makes URLs not-fragile, so they can go in things that move
|
||||||
|
%% WARNING: If this breaks you will get very very weird errors
|
||||||
|
|
||||||
|
%% ---------------- Miscellaneous Packages ----------------------
|
||||||
|
\RequirePackage{booktabs}
|
||||||
|
%% Format tables properly as in a book
|
||||||
|
%% \toprule,\midrule,\bottomrule
|
||||||
|
|
||||||
|
%% ---------------- 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.
|
||||||
|
|
||||||
|
%%% For help, read http://latex-project.org/guides/fntguide.pdf
|
||||||
|
%%
|
||||||
|
% save the current font size
|
||||||
|
\newlength{\normaltextsize}
|
||||||
|
\setlength{\normaltextsize}{\f@size pt}
|
||||||
|
|
||||||
|
%% Font guide at
|
||||||
|
%% http://latex-project.org/guides/fntguide.pdf
|
||||||
|
|
||||||
|
% set the font defaults (if they need to be further adjusted)
|
||||||
|
%\renewcommand{\encodingdefault}{t1}
|
||||||
|
|
||||||
|
%\renewcommand{\rmdefault}{ptm} % adobe times
|
||||||
|
%\renewcommand{\sfdefault}{phv} % adobe helvetica
|
||||||
|
%\renewcommand{\ttdefault}{pcr} % adobe courier
|
||||||
|
%% cmr : computer modern roman
|
||||||
|
%% cmss : computer modern sans oblique
|
||||||
|
%% cmm : computer modern math
|
||||||
|
%% ptm : (postscript) Adobe Times
|
||||||
|
%% phv : (postscript) Adobe Helvetica
|
||||||
|
%% pcr : (postscript) Adobe Courier
|
||||||
|
|
||||||
|
%\renewcommand{\familydefault}{\sfdefault} % switch to \sfdefault if you want to force sanserif
|
||||||
|
%% \familydefault should be one of the short letter codes such as "lm" or "ptm"
|
||||||
|
%\renewcommand{\familydefault}{\rmdefault}
|
||||||
|
|
||||||
|
%\renewcommand{\seriesdefault}{m}
|
||||||
|
%% m : medium
|
||||||
|
%% b : bold
|
||||||
|
%% bx : bold extended
|
||||||
|
%% sb : semi bold
|
||||||
|
%% c : condensed
|
||||||
|
|
||||||
|
%\renewcommand{\shapedefault}{n}
|
||||||
|
%% n : upshape (normal)
|
||||||
|
%% it : italics
|
||||||
|
%% sl : slanted
|
||||||
|
%% sc : small caps
|
||||||
|
|
||||||
|
%%\fontsize{12pt}{14pt} % args: fontsize, baselineskip (font+space)
|
||||||
|
%% normal sequence of increasing sizes: 5,7,8,9,10,12,14.4,17.28,20.74,24.88
|
||||||
|
|
||||||
|
%% Specific fonts
|
||||||
|
%% Note that you can leave off elements and it will use the last value set (or default??)
|
||||||
|
% \def\myfont{\fontencoding{T1}\fontfamily{lm}\fontseries{m}\fontshape{n}\fontsize{14pt}{16pt}\selectfont}
|
||||||
|
% \fontsize{SIZE}{BASELINESKIP}
|
||||||
|
|
||||||
|
%% Outside PhD cover we hardcode for consistency, but has been replaced by cover
|
||||||
|
%% from RU communications department.
|
||||||
|
%% TODO: Generate equivalent cover so that users can avoid having to do extra work
|
||||||
|
\def\covertitlefont{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{20.74}{24}\selectfont}
|
||||||
|
\def\covertextfont{\fontfamily{phv}\fontseries{m}\fontshape{n}\fontsize{14.4}{16}\selectfont}
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%% Colors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
|
||||||
|
%% Setting colors in text
|
||||||
|
%% Usage:
|
||||||
|
%% \textcolor{rured}{Some text.}
|
||||||
|
%% {\color{rured}Some text.}
|
||||||
|
\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)
|
||||||
|
%% 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}
|
||||||
|
|
||||||
|
|
||||||
|
%% Spacing modes from the memoir class
|
||||||
|
%\SingleSpacing{} % single spacing
|
||||||
|
%\OnehalfSpacing{} % one and a half
|
||||||
|
%\DoubleSpacing{} % Double spacing, very ugly.
|
||||||
|
|
||||||
|
%% The official guidelines say to put the page in the middle bottom, but
|
||||||
|
%% that was clearly written for the MS Word users. We follow proper book setup.
|
||||||
|
|
||||||
|
%% 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
|
||||||
|
|
||||||
|
|
||||||
|
%% 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}}
|
||||||
|
\aliaspagestyle{title}{empty}
|
||||||
|
%% ----- COPYRIGHT PAGE -----------------------------------------------------------------------
|
||||||
|
\RequirePackage{ccicons}
|
||||||
|
\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{flushleft}
|
||||||
|
#1
|
||||||
|
\url{http://hdl.handle.net/1946/xxxx}\\
|
||||||
|
Copyright \textcopyright{} \the\year{} \theauthor{} \ccbyncnd
|
||||||
|
\end{flushleft}
|
||||||
|
This work is licensed under the Creative Commons
|
||||||
|
Attribution-NonCom\-mercial-NoDerivatives 4.0 International License
|
||||||
|
(\url{http://creativecommons.org/licenses/by-nc-nd/4.0/}). 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}
|
||||||
|
}
|
||||||
|
|
||||||
|
%% ---------- Page Styles --------------------------------------------------------------
|
||||||
|
%% ---------------------------------------------------------------------------------------------
|
||||||
|
%% Setup the formatting at the beginning of the document (Front material)
|
||||||
|
%% TODO: use the memoir \frontmatter \mainmatter \backmatter
|
||||||
|
%% See 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
|
||||||
|
\ifbool{draftbool}{\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%
|
||||||
|
\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
|
||||||
|
\disableindents%
|
||||||
|
\SingleSpacing}%
|
||||||
|
{%\setlength{\TPMargin}{0mm} %% margins inside the textblock
|
||||||
|
%% I don't remember why we need to mess with \TPmargin --foley
|
||||||
|
\enableindents{}\newpage}%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%% ----- 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}}
|
||||||
|
|
||||||
|
%%%%%%%%%%%% 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}{}{}
|
||||||
|
\makeoddhead{plain}{}{}{\thepage}
|
||||||
|
|
||||||
|
\makepagestyle{cover}% The cover pages have no page numbers
|
||||||
|
\makeoddfoot{cover}{}{}{}
|
||||||
|
\makeevenfoot{cover}{}{}{}
|
||||||
|
|
||||||
|
\newcommand{\coverchapter}[1]{\clearforchapter\pagestyle{cover}\chapter{#1}\thispagestyle{cover}}
|
||||||
|
|
||||||
|
|
||||||
|
%%% 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
|
||||||
|
\clubpenalty=10000%% orphan lines
|
||||||
|
\widowpenalty=10000%% widow lines
|
||||||
|
\hfuzz=1pt%% avoid overfilled hboxes
|
||||||
|
\vfuzz=5pt%% avoid overfilled vboxes
|
||||||
|
%\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
|
||||||
|
\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")
|
||||||
|
|
||||||
|
|
||||||
|
%% ----- 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, showboxes]{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}{\stockwidth}
|
||||||
|
\setlength{\TPVertModule}{\stockheight}
|
||||||
|
\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}
|
||||||
|
|
||||||
|
|
||||||
|
\newcommand{\printedcover}[2]{
|
||||||
|
\thispagestyle{empty}
|
||||||
|
\setlength{\TPMargin}{0mm} %% margins inside the textblock*
|
||||||
|
\sffamily
|
||||||
|
\begin{textblock*}{\textwidth}[0,0](30mm,30mm)%
|
||||||
|
{\centering\includegraphics[width=55mm]{\frontlogo@ruthesis}\\}%
|
||||||
|
\end{textblock*}
|
||||||
|
\setSingleSpace{1.8}\SingleSpacing%
|
||||||
|
\begin{textblock*}{\textwidth}[0,0](30mm,110mm)%
|
||||||
|
\noindent\textcolor{rugray}{\covertitlefont#1}\par%UPPERCASE
|
||||||
|
\end{textblock*}%
|
||||||
|
%
|
||||||
|
\setSingleSpace{1.5}\SingleSpacing%
|
||||||
|
\begin{textblock*}{\textwidth}[0,1](30mm,225mm)%
|
||||||
|
\noindent\textcolor{rugray}{
|
||||||
|
\covertextfont{}\textbf{\theauthor}\\%
|
||||||
|
\theDegreeLong\\%
|
||||||
|
\thedate\\%
|
||||||
|
\theSchool\\%
|
||||||
|
\theInstitution
|
||||||
|
}\par
|
||||||
|
\vspace*{5mm}
|
||||||
|
\noindent\textcolor{rured}{
|
||||||
|
\covertitlefont{}\theDocumentType{}
|
||||||
|
}\par
|
||||||
|
\vspace*{3mm}
|
||||||
|
{\noindent\scriptsize\color{rugray}#2}%
|
||||||
|
\end{textblock*}
|
||||||
|
\setSingleSpace{1.0}
|
||||||
|
% \end{covernonum}
|
||||||
|
\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.
|
||||||
|
%% TODO: isolate font and spacing changes from the rest of the document
|
||||||
|
}
|
||||||
|
|
||||||
|
%% ----- 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}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
%% ----- ARCHIVAL SIGNATURE, ONLY THESIS ----------------------------------------------------
|
||||||
|
\newcommand{\archivesigpage}{
|
||||||
|
\begin{cover}
|
||||||
|
\enableindents{}
|
||||||
|
The undersigned hereby grants permission to
|
||||||
|
the \theInstitution{} Library to reproduce single
|
||||||
|
copies of this \theDocumentType{} entitled \textbf{\thetitle}
|
||||||
|
and to lend or sell such copies for private, scholarly or
|
||||||
|
scientific research purposes only.
|
||||||
|
|
||||||
|
The author reserves all other publication and
|
||||||
|
other rights in association with the copyright in the
|
||||||
|
\theDocumentType{}, and
|
||||||
|
except as herein before provided, neither the
|
||||||
|
\theDocumentType{} nor
|
||||||
|
any substantial portion thereof may be printed or otherwise
|
||||||
|
reproduced in any material form whatsoever without the
|
||||||
|
author's prior written permission.
|
||||||
|
|
||||||
|
\vspace*{2\baselineskip}
|
||||||
|
\newcommand{\signline}[2]{\item \hdashrule{##2}{1pt}{1pt}\\##1}
|
||||||
|
\setlength{\pltopsep}{2\baselineskip} % first/top space
|
||||||
|
\setlength{\plparsep}{2\baselineskip} % space between entries
|
||||||
|
\setlength{\plitemsep}{0.5\baselineskip} % space between lines
|
||||||
|
\begin{compactitem}[]
|
||||||
|
\signline{Date}{50mm}
|
||||||
|
\signline{\theauthor\\\theDegreeLong}{0.75\textwidth}
|
||||||
|
\end{compactitem}
|
||||||
|
\end{cover}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
\renewenvironment{abstract}
|
||||||
|
{\begin{coverleft}{\centering%
|
||||||
|
{{\Large \thetitle}\\}%%
|
||||||
|
\vspace{\baselineskip}
|
||||||
|
\theauthor\\%
|
||||||
|
\vspace{\baselineskip}
|
||||||
|
\thedate\\%
|
||||||
|
}%
|
||||||
|
\setlength{\parskip}{\baselineskip}%
|
||||||
|
\par\vspace*{2\baselineskip}%
|
||||||
|
\textbf{Abstract}\par\vspace{1ex}}
|
||||||
|
{\par\end{coverleft}\newpage}
|
||||||
|
|
||||||
|
%% ----- END OF FRONT MATERIALS ---------------------------------------------------------------
|
||||||
|
%\RequirePackage{stackengine}%% not sure why this is here
|
||||||
|
%% ---------------------------------------------------------------------------------------------
|
||||||
|
%% This command makes the back-cover materials
|
||||||
|
\newcommand{\backcover}{%
|
||||||
|
\thispagestyle{empty}%
|
||||||
|
\pagestyle{empty}%
|
||||||
|
\cleartoevenpage{}% clear to chapter setting
|
||||||
|
\disableindents%
|
||||||
|
\SingleSpacing%
|
||||||
|
\vplace[0.8]{
|
||||||
|
{\centering
|
||||||
|
\belowbaseline[-\normaltextsize]{
|
||||||
|
\includegraphics[width=4cm]{\frontlogo@ruthesis}
|
||||||
|
}
|
||||||
|
\quad
|
||||||
|
\begin{minipage}[t]{10cm}%
|
||||||
|
{\textcolor{rugray}{%
|
||||||
|
\School\\
|
||||||
|
\Institution\\
|
||||||
|
\InstitutionAddress\\
|
||||||
|
\InstitutionPhone\\
|
||||||
|
\InstitutionURL\\ %% NO \\, it is in the ID macro
|
||||||
|
\Bookidnumber%
|
||||||
|
}
|
||||||
|
}
|
||||||
|
\end{minipage}\\%
|
||||||
|
}
|
||||||
|
}
|
||||||
|
\setlength{\TPMargin}{0mm}%% margins inside the textblock
|
||||||
|
\enableindents{}%
|
||||||
|
}
|
||||||
|
|
||||||
|
%% ----- END OF BACK MATERIALS ---------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
%%% from the old cs template, if so desired
|
||||||
|
%\makepagestyle{oldstyle}
|
||||||
|
%\makeoddhead{oldstyle}{\footnotesize{\authorHeader@ruthesis}}{}{\footnotesize{\thepage}}
|
||||||
|
%\makeevenhead{oldstyle}{\footnotesize{\thepage}}{}{\footnotesize{\thetitle}}
|
||||||
|
|
||||||
@@ -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,132 @@ BoldItalicFont={*-BoldItalic}]
|
|||||||
%\makeoddhead{chapter}{}{}{} %to change only one side
|
%\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
|
||||||
|
\RequirePackage[absolute, verbose]{textpos}%option: showboxes
|
||||||
|
\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}
|
||||||
|
\textblockorigin{0mm}{0mm} % start everything near the top-left corner
|
||||||
|
\newlength{\pagecenterx}%
|
||||||
|
\setlength{\pagecenterx}{\paperwidth/2}
|
||||||
|
\newlength{\pagecentery}
|
||||||
|
\setlength{\pagecentery}{\paperheight/2}
|
||||||
|
\newlength{\printcoverlmargin}
|
||||||
|
\setlength{\printcoverlmargin}{25mm}
|
||||||
|
%% Helvetics in package helvet, family code phv
|
||||||
|
\RequirePackage{helvet}
|
||||||
|
\newfontfamily\phdcoverfont{Nimbus Sans}
|
||||||
|
\def\frontcovertitlefont{\fontseries{b}\fontshape{n}\fontsize{20.74}{24}\phdcoverfont}
|
||||||
|
\def\frontcovertitletextfont{\fontseries{m}\fontshape{n}\fontsize{14}{18}\phdcoverfont}%extra line space
|
||||||
|
\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}[1]{%
|
||||||
|
\pagestyle{empty}\thispagestyle{empty}\SingleSpacing%
|
||||||
|
\sffamily%
|
||||||
|
\disableindents\titletextfont\SingleSpacing%
|
||||||
|
\begin{textblock*}{\textwidth}[0.5,0.5](\pagecenterx,60mm)%%% Place logo in center of paper
|
||||||
|
\begin{center}\rulogo{}\end{center}%
|
||||||
|
\end{textblock*}%
|
||||||
|
\begin{textblock*}{\textwidth}[0.5,0.5](\pagecenterx,140mm)%
|
||||||
|
\raggedright\textcolor{rugray}{\frontcovertitlefont#1}%title
|
||||||
|
\end{textblock*}%
|
||||||
|
\begin{textblock*}{\textwidth}[0,1](\printcoverlmargin,\paperheight+\trimtop-15mm)%
|
||||||
|
{\color{rugray}%
|
||||||
|
\setlength{\parskip}{0pt}%
|
||||||
|
\frontcovertitletextfont\textbf{\theauthor}\par
|
||||||
|
\theDegreeLong\par
|
||||||
|
\thedate\par
|
||||||
|
\theSchool\par
|
||||||
|
\theInstitution\par}%
|
||||||
|
\vspace*{\baselineskip}%
|
||||||
|
{\color{rured}\frontcovertitlefont\theDegreeAbbrv{}~\theDocumentType}\par%
|
||||||
|
\vspace*{\baselineskip}%
|
||||||
|
\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*}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%% 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}}%
|
||||||
@@ -101,24 +222,29 @@ BoldItalicFont={*-BoldItalic}]
|
|||||||
\newcommand{\copyrightpage}[6]{
|
\newcommand{\copyrightpage}[6]{
|
||||||
% actually in books, this is often on the left side
|
% actually in books, this is often on the left side
|
||||||
\begin{coverleft}
|
\begin{coverleft}
|
||||||
\begin{vplace}[1.0] % ratio of space above and below
|
\setlength{\parskip}{\baselineskip}%without indents, we need blank line separators
|
||||||
|
%\begin{vplace}[1.0] % ratio of space above and below
|
||||||
\begin{flushleft}
|
\begin{flushleft}
|
||||||
\thetitle \\[\baselineskip]
|
\thetitle \\[\baselineskip]
|
||||||
Short title: #1\\
|
Short title: #1\\
|
||||||
\theauthor\ \orcidlink{#2} (ORCID iD #2)\\[\baselineskip]
|
\theauthor\ \orcidlink{#2} (ORCID iD #2)\\
|
||||||
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.
|
|
||||||
\end{vplace}
|
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}
|
||||||
\begin{flushleft}
|
\begin{flushleft}
|
||||||
|
|
||||||
|
|
||||||
@@ -244,40 +370,6 @@ BoldItalicFont={*-BoldItalic}]
|
|||||||
%% Allowing ragged bottoms keeps the spacing consistent between paragraphs
|
%% Allowing ragged bottoms keeps the spacing consistent between paragraphs
|
||||||
%% Alternatively: \setlength{\parskip}{0pt}
|
%% 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
|
%% Clean up some formatting for the text
|
||||||
\renewcommand{\thepage}{\roman{page}}
|
\renewcommand{\thepage}{\roman{page}}
|
||||||
|
|
||||||
|
|||||||
69
rulogo.sty
Normal file
69
rulogo.sty
Normal 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.4}}%most documents need a smaller 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:
|
||||||
1611
ruthesis-old.cls
Normal file
1611
ruthesis-old.cls
Normal file
File diff suppressed because it is too large
Load Diff
26
ruthesis.sty
26
ruthesis.sty
@@ -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
|
||||||
@@ -148,7 +140,6 @@ BoldItalicFont={*-BoldItalic}]
|
|||||||
\textbf{{\Large \theSchool}}\par\end{center}
|
\textbf{{\Large \theSchool}}\par\end{center}
|
||||||
}
|
}
|
||||||
\aliaspagestyle{title}{empty}
|
\aliaspagestyle{title}{empty}
|
||||||
|
|
||||||
\aliaspagestyle{titlinpage}{empty}
|
\aliaspagestyle{titlinpage}{empty}
|
||||||
%% ----- Inside Cover is COPYRIGHT page-----------------------------------------------------------------------
|
%% ----- Inside Cover is COPYRIGHT page-----------------------------------------------------------------------
|
||||||
\RequirePackage{ccicons}% need for copyright \textcopyright{}
|
\RequirePackage{ccicons}% need for copyright \textcopyright{}
|
||||||
@@ -267,9 +258,12 @@ in this publication does not imply, even in the absence of a specific statement
|
|||||||
\makeoddhead{plain}{}{}{\thepage}
|
\makeoddhead{plain}{}{}{\thepage}
|
||||||
|
|
||||||
\makepagestyle{cover}% The cover pages have no page numbers
|
\makepagestyle{cover}% The cover pages have no page numbers
|
||||||
|
\makeoddhead{cover}{}{}{}
|
||||||
|
\makeevenhead{cover}{}{}{}
|
||||||
\makeoddfoot{cover}{}{}{}
|
\makeoddfoot{cover}{}{}{}
|
||||||
\makeevenfoot{cover}{}{}{}
|
\makeevenfoot{cover}{}{}{}
|
||||||
|
|
||||||
|
|
||||||
\newcommand{\frontmatterhead}[1]{{%based upon \chapterhead from memman.pdf p.84
|
\newcommand{\frontmatterhead}[1]{{%based upon \chapterhead from memman.pdf p.84
|
||||||
% \clearpage% move to correct page
|
% \clearpage% move to correct page
|
||||||
\disableindents%
|
\disableindents%
|
||||||
|
|||||||
Reference in New Issue
Block a user