[Tex/LaTex] How to include abstract into titlepage

abstractkoma-scripttitles

I don't want to have the abstract on a separate page but rather under the title. Also I then want to end the page and don't begin with the actual document.

This is my minimal example:

\documentclass[a4paper,12pt,abstracton,titlepage]{scrartcl}

\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{lmodern}

\titlehead{University}
\title{Title}
\subject{Subject}
\author{Author}

\begin{document}

\maketitle

\begin{abstract}
...
\end{abstract}

\newpage

\tableofcontents
...    
\end{document}

I tried to use \let\endtitlepage\relax which was suggested in another question but it doesn't change anything.

If I don't use titlepage then it's not centered vertically which I understand because the document is supposed to start right after it.

So, how can I get this layout without creating a custom titlepage?

Best Answer

You could misuse the \publishers element:

\documentclass[a4paper,12pt,abstracton,titlepage]{scrartcl}

\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{lmodern}

\titlehead{University}
\title{Title}
\subject{Subject}
\author{Author}

\publishers{%
    \normalfont\normalsize%
    \parbox{0.8\linewidth}{%
        Your abstarct Text. Your abstarct Text. Your abstarct Text. 
        Your abstarct Text. Your abstarct Text. Your abstarct Text. 
        Your abstarct Text. Your abstarct Text.
    }
}

\begin{document}

\maketitle

\end{document}

Since it’s value normally is centered an in \Large you have to put in it a \parbox of the desired width and set the font back to \normalsize (the \normalfont is a little superfluous here but does no harm at all).

result

If this doesn’t fits your needs on can redefine {abstract} and \maketitle to let the first collect and store it’s contest and the latter print out the content. But this would be an equal effort as making the title page manually. And only gainful if you need this in more than one or two documents …

Update

How to misuse the \date field to make the abstract appear higher on the page?

\date{%
    \today% thats the default I guess
    \\[2\baselineskip]% Space between date and abstract
    \normalfont\normalsize%
    \parbox{0.8\linewidth}{%
        Your abstarct Text. Your abstarct Text. Your abstarct Text. 
        Your abstarct Text. Your abstarct Text. Your abstarct Text. 
        Your abstarct Text. Your abstarct Text.
    }
}

There’s only the little problem that the argument of \date can‘t contain paragraphs (i.e. blank lines or \par) so we must use \\[<dim>] to get a new line an insert some space.

Related Question