I am using the report package. I want to insert some lines of text prior to the Abstract, but on the same page as it. I cant figure out how to do this, please help!
Thank you
General ⇒ How to create a header for an asbtract
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
How to create a header for an asbtract
Hi laila_a,
welcome to the LaTeX Community board!
I assume you do not use the notitlepage option, your abstract is set on its own page. Here is one try to change the default behaviour. I redefined the abstract environment, only inserted the \inserttext command, where you could write your lines. The example:
Does that fit to your document? If not, you should show your preamble, especially your options to report (concerning titlepage).
Stefan
welcome to the LaTeX Community board!
I assume you do not use the notitlepage option, your abstract is set on its own page. Here is one try to change the default behaviour. I redefined the abstract environment, only inserted the \inserttext command, where you could write your lines. The example:
Code: Select all
\makeatletter
\renewenvironment{abstract}{%
\titlepage
\null\vfil
\inserttext
\@beginparpenalty\@lowpenalty
\begin{center}%
\bfseries \abstractname
\@endparpenalty\@M
\end{center}}%
{\par\vfil\null\endtitlepage}
\makeatother
\newcommand\inserttext{\noindent some lines\vfil}
Stefan
Re: How to create a header for an asbtract
Thank you! This works a dream, it does exactly what I need it to do,
Thanks again!
Thanks again!