Merge branch 'master' of github.com:foleyj2/ru-thesis

This commit is contained in:
2022-02-03 14:27:06 +00:00
3 changed files with 43 additions and 3 deletions

6
TODO.txt Normal file
View File

@@ -0,0 +1,6 @@
Need to match new guidelines
https://en.ru.is/st/de/graduate-study/
https://en.ru.is/media/skjol-td/TD_E-cover_2019.pdf
https://en.ru.is/media/skjol-lagadeildar/Instructions_2019.pdf
https://en.ru.is/rules/study-and-examination-rules/rules-on-submission-of-final-theses-at-ru/
http://english.enicnaric.is/iqfhe.html

View File

@@ -506,6 +506,19 @@
%\renewcommand{\title}[2]{\renewcommand{\thetitle}{#1}\renewcommand{\thetitleIS}{#2}} %\renewcommand{\title}[2]{\renewcommand{\thetitle}{#1}\renewcommand{\thetitleIS}{#2}}
\newcommand{\titleIS}[1]{\renewcommand{\thetitleIS}{#1}} \newcommand{\titleIS}[1]{\renewcommand{\thetitleIS}{#1}}
%% LaTeX3 attempt at smarter titles
%% Still a work in progress --foley 2022-2-3
%\% NewDocumentCommand\thesistitle{O{#2} m}
% % ARGS: [optional use #2], {mandatory}
% {
% \NewDocumentCommand\theenglishtitle{}{#2}%babel naming convetion?
% \NewDocumentCommand\theicelandictitle{}{#1}
% \iflanguage{icelandic}
% {\title{\theicelandictitle}}
% {\title{\theenglishtitle}}
% }
%% Clean up some formatting for the text %% Clean up some formatting for the text
\renewcommand{\thepage}{\roman{page}} \renewcommand{\thepage}{\roman{page}}
@@ -703,7 +716,7 @@
\renewenvironment{abstract} \renewenvironment{abstract}
{\begin{otherlanguage}{english}\begin{coverleft}{\centering% {\begin{otherlanguage}{english}\begin{coverleft}{\centering%
{\titletitlefont\thetitle\\}%% {\titletitlefont\theenglishtitle\\}%%
\vspace{\baselineskip} \vspace{\baselineskip}
\theauthor\\% \theauthor\\%
\vspace{\baselineskip} \vspace{\baselineskip}
@@ -716,7 +729,7 @@
\newenvironment{abstractIS} \newenvironment{abstractIS}
{\begin{otherlanguage}{icelandic}\begin{coverleft}{\centering% {\begin{otherlanguage}{icelandic}\begin{coverleft}{\centering%
{\titletitlefont\thetitleIS\\}%% {\titletitlefont\theicelandictitle\\}%%
\vspace{\baselineskip} \vspace{\baselineskip}
\theauthor\\% \theauthor\\%
\vspace{\baselineskip} \vspace{\baselineskip}

View File

@@ -1,11 +1,14 @@
\documentclass{memoir} \documentclass{memoir}
\usepackage[online,IS]{ruthesis} \usepackage[online,IS]{ruthesis}
\usepackage[useregional]{datetime2} \usepackage[useregional]{datetime2}
\usepackage{xparse}%Latex3 argument parsing
%\usepackage{graphicx} %\usepackage{graphicx}
\title{Minimal Document for Testing} \title{Minimal Document for Testing}
\author{Joseph T. Foley \and Someone Else} \author{Joseph T. Foley \and Someone Else}
% \author: Use \and as a separator and \thanks{details} for additional info % \author: Use \and as a separator and \thanks{details} for additional info
\date{\DTMdisplaydate{2020}{2}{2}{-1}} \date{2020}{2}{2}
%% TODO: use datetime2 to be smarter about dates %% TODO: use datetime2 to be smarter about dates
% \usepackage[icelandic,english]{babel} % \usepackage[icelandic,english]{babel}
@@ -17,6 +20,8 @@
%\ects{30} %\ects{30}
%% Titlepage the Memoir way %% Titlepage the Memoir way
\maketitle \maketitle
@@ -36,6 +41,22 @@
\newpage \newpage
\chapter{Test Chapter} \chapter{Test Chapter}
\newcommand{\varEN}{***English***}
\newcommand{\varIS}{***Icelandic***}
\NewDocumentCommand{\setVar}{O{#2} m}
% ARGS: [optional use #2], {mandatory}
{
\renewcommand{\varIS}{#1}
\renewcommand{\varEN}{#2}
}
\setVar{Universal Title}
\begin{itemize}
\item English: \varEN{}
\item Icelandic: \varIS{}
\end{itemize}
blah blah blah blah blah blah
%\copyrightpage{}%%RUM: Not mentioned %\copyrightpage{}%%RUM: Not mentioned
%\signaturepage{}%%RUM: "Signature page (standard format) %\signaturepage{}%%RUM: "Signature page (standard format)