Merge from earlier attempt to make two argement \title

This commit is contained in:
2022-02-03 10:17:26 +00:00
parent 0caf940361
commit 26f1a7a2e6
5 changed files with 45 additions and 429 deletions

View File

@@ -1,11 +1,14 @@
\documentclass{memoir}
\usepackage[online,IS]{ruthesis}
\usepackage[useregional]{datetime2}
\usepackage{xparse}%Latex3 argument parsing
%\usepackage{graphicx}
\title{Minimal Document for Testing}
\author{Joseph T. Foley \and Someone Else}
% \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
% \usepackage[icelandic,english]{babel}
@@ -17,6 +20,8 @@
%\ects{30}
%% Titlepage the Memoir way
\maketitle
@@ -36,6 +41,22 @@
\newpage
\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
%\copyrightpage{}%%RUM: Not mentioned
%\signaturepage{}%%RUM: "Signature page (standard format)