I would like the abstract on the title page in the following style:
1. The word 'Abstract' centred above the text
2. A horizontal line immediately underneath the word 'Abstract', with a width equal to that of the text
3. A horizontal line of that same length immediately underneath the text
4. The word 'Keywords:' at the left-side that allows me to put some keywords specific to the thesis.
I have been trying to get this right, but apparently I am missing something. Thanks for the help! Current code can be found here:
\renewenvironment{abstract}
{\begin{quote}
\noindent \rule{\linewidth}{.5pt}\par{\bfseries \abstractname.}}
{\medskip\noindent \rule{\linewidth}{.5pt}
\end{quote}
}
Picture of the end result I aspire:
Best Answer
A solution based on
tabularx
,threeparttable
andxparse
for the keywords: it defines the abstract as a threeparttable – the abstract itself being a single row of atabularx
environment, and the list of keywords, input as an optional argument of the environment, inserted as a table note.