Created abstractIS environment which has the right words. abstract is back to no arguments needed.

This commit is contained in:
2020-02-07 22:29:20 +00:00
parent 49e6a5bbc3
commit 4c69833048
3 changed files with 25 additions and 12 deletions

View File

@@ -38,17 +38,17 @@
\signaturepage{} \signaturepage{}
\archivesigpage{} \archivesigpage{}
\begin{abstract}{Abstract}{\thetitle}{\thedate} \begin{abstract}
The abstract goes here in English. The abstract goes here translated into English.
If the thesis is in English, it should come first. If the thesis is in English, it should come first.
It should be a fairly short summary of the entire document. It should be a fairly short summary of the entire document.
\end{abstract} \end{abstract}
\begin{abstract}{Útdráttur}{\thetitleIS}{\thedateIS} \begin{abstractIS}
The abstract goes here translated into Icelandic. The abstract goes here translated into Icelandic.
If the thesis is in Icelandic, it should come first. If the thesis is in Icelandic, it should come first.
It should be a fairly short summary of the entire document. It should be a fairly short summary of the entire document.
\end{abstract} \end{abstractIS}
\begin{dedications} \begin{dedications}
I dedicate this to my spouse/child/pet/power animal. I dedicate this to my spouse/child/pet/power animal.

View File

@@ -48,17 +48,17 @@
\signaturepage{} \signaturepage{}
\archivesigpage{} \archivesigpage{}
\begin{abstract}{Abstract}{\thetitle}{\thedate} \begin{abstract}
The abstract goes here in English. The abstract goes here translated into English.
If the thesis is in English, it should come first. If the thesis is in English, it should come first.
It should be a fairly short summary of the entire document. It should be a fairly short summary of the entire document.
\end{abstract} \end{abstract}
\begin{abstract}{Útdráttur}{\thetitleIS}{\thedateIS} \begin{abstractIS}
The abstract goes here translated into Icelandic. The abstract goes here translated into Icelandic.
If the thesis is in Icelandic, it should come first. If the thesis is in Icelandic, it should come first.
It should be a fairly short summary of the entire document. It should be a fairly short summary of the entire document.
\end{abstract} \end{abstractIS}
\begin{dedications} \begin{dedications}
I dedicate this to my spouse/child/pet/power animal. I dedicate this to my spouse/child/pet/power animal.

View File

@@ -696,17 +696,30 @@
} }
\renewenvironment{abstract}[3] \renewenvironment{abstract}
{\begin{coverleft}{\centering% {\begin{coverleft}{\centering%
{\titletitlefont#2\\}%% {\titletitlefont\thetitle\\}%%
\vspace{\baselineskip} \vspace{\baselineskip}
\theauthor\\% \theauthor\\%
\vspace{\baselineskip} \vspace{\baselineskip}
#3\\% \thedate\\%
}% }%
\setlength{\parskip}{\baselineskip}% \setlength{\parskip}{\baselineskip}%
\par\vspace*{2\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} {\par\end{coverleft}\newpage}