Changing \title to have 2 argmuments is too complicated. Reverting.
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
\usepackage[]{ruthesis}
|
\usepackage[]{ruthesis}
|
||||||
%% Options in []:
|
%% Options in []:
|
||||||
%% IS Icelandic is main language
|
%% 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
|
\author{Joseph T. Foley}%Use \and as an author separator
|
||||||
\date{2020}{2}{2}%{Year}{Month}{Day}%use numbers
|
\date{2020}{2}{2}%{Year}{Month}{Day}%use numbers
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
\usepackage[]{ruthesis}
|
\usepackage[]{ruthesis}
|
||||||
%% Options in []:
|
%% Options in []:
|
||||||
%% IS Icelandic is main language
|
%% 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
|
\author{Joseph T. Foley}%Use \and as an author separator
|
||||||
\date{2020}{2}{2}%{Year}{Month}{Day}%use numbers
|
\date{2020}{2}{2}%{Year}{Month}{Day}%use numbers
|
||||||
|
|
||||||
|
|||||||
15
ruthesis.sty
15
ruthesis.sty
@@ -250,6 +250,8 @@
|
|||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%% Memoir titlepage definition and info at p.64
|
||||||
|
|
||||||
|
|
||||||
%% Some may need a different front logo
|
%% Some may need a different front logo
|
||||||
\newcommand{\frontlogo@ruthesis}{ru-logo}
|
\newcommand{\frontlogo@ruthesis}{ru-logo}
|
||||||
@@ -495,11 +497,8 @@
|
|||||||
{\end{compactitem}}
|
{\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**}
|
\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
|
%% Clean up some formatting for the text
|
||||||
\renewcommand{\thepage}{\roman{page}}
|
\renewcommand{\thepage}{\roman{page}}
|
||||||
@@ -697,7 +696,7 @@
|
|||||||
|
|
||||||
|
|
||||||
\renewenvironment{abstract}
|
\renewenvironment{abstract}
|
||||||
{\selectlanguage{english}\begin{coverleft}{\centering%
|
{\begin{otherlanguage}{english}\begin{coverleft}{\centering%
|
||||||
{\titletitlefont\thetitle\\}%%
|
{\titletitlefont\thetitle\\}%%
|
||||||
\vspace{\baselineskip}
|
\vspace{\baselineskip}
|
||||||
\theauthor\\%
|
\theauthor\\%
|
||||||
@@ -707,10 +706,10 @@
|
|||||||
\setlength{\parskip}{\baselineskip}%
|
\setlength{\parskip}{\baselineskip}%
|
||||||
\par\vspace*{2\baselineskip}%
|
\par\vspace*{2\baselineskip}%
|
||||||
\textbf{Abstract}\par\vspace{1ex}}
|
\textbf{Abstract}\par\vspace{1ex}}
|
||||||
{\par\end{coverleft}\newpage}
|
{\par\end{coverleft}\end{otherlanguage}\newpage}
|
||||||
|
|
||||||
\newenvironment{abstractIS}
|
\newenvironment{abstractIS}
|
||||||
{\selectlanguage{icelandic}\begin{coverleft}{\centering%
|
{\begin{otherlanguage}{icelandic}\begin{coverleft}{\centering%
|
||||||
{\titletitlefont\thetitleIS\\}%%
|
{\titletitlefont\thetitleIS\\}%%
|
||||||
\vspace{\baselineskip}
|
\vspace{\baselineskip}
|
||||||
\theauthor\\%
|
\theauthor\\%
|
||||||
@@ -720,7 +719,7 @@
|
|||||||
\setlength{\parskip}{\baselineskip}%
|
\setlength{\parskip}{\baselineskip}%
|
||||||
\par\vspace*{2\baselineskip}%
|
\par\vspace*{2\baselineskip}%
|
||||||
\textbf{Útdráttur}\par\vspace{1ex}}
|
\textbf{Útdráttur}\par\vspace{1ex}}
|
||||||
{\par\end{coverleft}\newpage}
|
{\par\end{coverleft}\end{otherlanguage}\newpage}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user