From 4c698330482426b78fe865aca870469abb2f6985 Mon Sep 17 00:00:00 2001 From: Joseph Timothy Foley Date: Fri, 7 Feb 2020 22:29:20 +0000 Subject: [PATCH] Created abstractIS environment which has the right words. abstract is back to no arguments needed. --- BSC_MSC-NAME-YEAR.tex | 8 ++++---- PHD-NAME-YEAR.tex | 8 ++++---- ruthesis.sty | 21 +++++++++++++++++---- 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/BSC_MSC-NAME-YEAR.tex b/BSC_MSC-NAME-YEAR.tex index 8141eb5..c25cb7a 100644 --- a/BSC_MSC-NAME-YEAR.tex +++ b/BSC_MSC-NAME-YEAR.tex @@ -38,17 +38,17 @@ \signaturepage{} \archivesigpage{} -\begin{abstract}{Abstract}{\thetitle}{\thedate} - The abstract goes here in English. +\begin{abstract} + The abstract goes here translated into English. If the thesis is in English, it should come first. It should be a fairly short summary of the entire document. \end{abstract} -\begin{abstract}{Útdráttur}{\thetitleIS}{\thedateIS} +\begin{abstractIS} The abstract goes here translated into Icelandic. If the thesis is in Icelandic, it should come first. It should be a fairly short summary of the entire document. -\end{abstract} +\end{abstractIS} \begin{dedications} I dedicate this to my spouse/child/pet/power animal. diff --git a/PHD-NAME-YEAR.tex b/PHD-NAME-YEAR.tex index f71b327..4c1fd52 100644 --- a/PHD-NAME-YEAR.tex +++ b/PHD-NAME-YEAR.tex @@ -48,17 +48,17 @@ \signaturepage{} \archivesigpage{} -\begin{abstract}{Abstract}{\thetitle}{\thedate} - The abstract goes here in English. +\begin{abstract} + The abstract goes here translated into English. If the thesis is in English, it should come first. It should be a fairly short summary of the entire document. \end{abstract} -\begin{abstract}{Útdráttur}{\thetitleIS}{\thedateIS} +\begin{abstractIS} The abstract goes here translated into Icelandic. If the thesis is in Icelandic, it should come first. It should be a fairly short summary of the entire document. -\end{abstract} +\end{abstractIS} \begin{dedications} I dedicate this to my spouse/child/pet/power animal. diff --git a/ruthesis.sty b/ruthesis.sty index 8f9bda7..85002d8 100644 --- a/ruthesis.sty +++ b/ruthesis.sty @@ -696,17 +696,30 @@ } -\renewenvironment{abstract}[3] +\renewenvironment{abstract} {\begin{coverleft}{\centering% - {\titletitlefont#2\\}%% + {\titletitlefont\thetitle\\}%% \vspace{\baselineskip} \theauthor\\% \vspace{\baselineskip} - #3\\% + \thedate\\% }% \setlength{\parskip}{\baselineskip}% \par\vspace*{2\baselineskip}% - \textbf{#1}\par\vspace{1ex}} + \textbf{Abstract}\par\vspace{1ex}} +{\par\end{coverleft}\newpage} + +\newenvironment{abstractIS} +{\begin{coverleft}{\centering% + {\titletitlefont\thetitleIS\\}%% + \vspace{\baselineskip} + \theauthor\\% + \vspace{\baselineskip} + \thedateIS\\% + }% + \setlength{\parskip}{\baselineskip}% + \par\vspace*{2\baselineskip}% + \textbf{Útdráttur}\par\vspace{1ex}} {\par\end{coverleft}\newpage}