Changing \title to have 2 argmuments is too complicated. Reverting.

This commit is contained in:
2020-02-08 00:09:18 +00:00
parent 473cd9d6b9
commit b0b179140d
3 changed files with 11 additions and 10 deletions

View File

@@ -2,7 +2,8 @@
\usepackage[]{ruthesis}
%% Options in []:
%% IS Icelandic is main language
\title{B.Sc.\ and M.Sc.\ Thesis Template for \theInstitution{}}{B.Sc.\ and M.Sc.\ Thesis Template for \theInstitution{} in Icelandic}
\title{B.Sc.\ and M.Sc.\ Thesis Template for \theInstitution{}}
\titleIS{B.Sc.\ and M.Sc.\ Thesis Template for \theInstitution{} in Icelandic}
\author{Joseph T. Foley}%Use \and as an author separator
\date{2020}{2}{2}%{Year}{Month}{Day}%use numbers

View File

@@ -2,7 +2,8 @@
\usepackage[]{ruthesis}
%% Options in []:
%% IS Icelandic is main language
\title{Ph.D.\ Dissertation Template for \theInstitution{}}{Ph.D.\ Dissertation Template for \theInstitution{} in Icelandic}
\title{Ph.D.\ Dissertation Template for \theInstitution{}}
\titleIS{Ph.D.\ Dissertation Template for \theInstitution{} in Icelandic}
\author{Joseph T. Foley}%Use \and as an author separator
\date{2020}{2}{2}%{Year}{Month}{Day}%use numbers

View File

@@ -250,6 +250,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Memoir titlepage definition and info at p.64
%% Some may need a different front logo
\newcommand{\frontlogo@ruthesis}{ru-logo}
@@ -495,11 +497,8 @@
{\end{compactitem}}
%% Memoir titlepage definition and info at p.64
%% maketitlehookc is between the author and the date
\newcommand{\thetitle}{**Title in English**}
\newcommand{\thetitleIS}{**Title in Icelandic**}
\renewcommand{\title}[2]{\renewcommand{\thetitle}{#1}\renewcommand{\thetitleIS}{#2}}
\newcommand{\titleIS}[1]{\renewcommand{\thetitleIS}{#1}}
%% Clean up some formatting for the text
\renewcommand{\thepage}{\roman{page}}
@@ -697,7 +696,7 @@
\renewenvironment{abstract}
{\selectlanguage{english}\begin{coverleft}{\centering%
{\begin{otherlanguage}{english}\begin{coverleft}{\centering%
{\titletitlefont\thetitle\\}%%
\vspace{\baselineskip}
\theauthor\\%
@@ -707,10 +706,10 @@
\setlength{\parskip}{\baselineskip}%
\par\vspace*{2\baselineskip}%
\textbf{Abstract}\par\vspace{1ex}}
{\par\end{coverleft}\newpage}
{\par\end{coverleft}\end{otherlanguage}\newpage}
\newenvironment{abstractIS}
{\selectlanguage{icelandic}\begin{coverleft}{\centering%
{\begin{otherlanguage}{icelandic}\begin{coverleft}{\centering%
{\titletitlefont\thetitleIS\\}%%
\vspace{\baselineskip}
\theauthor\\%
@@ -720,7 +719,7 @@
\setlength{\parskip}{\baselineskip}%
\par\vspace*{2\baselineskip}%
\textbf{Útdráttur}\par\vspace{1ex}}
{\par\end{coverleft}\newpage}
{\par\end{coverleft}\end{otherlanguage}\newpage}