I'm making a two-column document, but I need a one-column abstract. The code:
\twocolumn[
\begin{@twocolumnfalse}
\maketitle
\begin{abstract}
...
\end{abstract}
\end{@twocolumnfalse}
]
doesn't work, because the abstract is longer enough to use two pages and page don't break. I also tried making a one-column document and used the multicol environment only for the document "text" (not the abstract), but then i had problems with the figure environment.
So, how can I make a one-column abstract?
Best Answer
You can copy the following code as a file
long2.sty
, place it in your document folder, and then use it as shown below:The document can then look like this (package
lipsum
and command\lipsum[x-y]
are only used to produce some dummy text):PS: I'm considering making it a package (after I add some features), that's why I posted a complete package file
;)
PPS: Brief introduction of the idea: We store the whole one-column part in a box, then we check whether the box is larger than a page. If yes, we
\vsplit
it, output the first part, and call\longtwo@repeat
on the rest, which does the same again.