Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!princeton!zandtwerk!tvz From: tvz@zandtwerk.Princeton.EDU (Timothy Van Zandt) Newsgroups: comp.text.tex Subject: Re: Help! (latex:onecolumn-abstract with twocolumn-the rest) Message-ID: <7434@idunno.Princeton.EDU> Date: 22 Mar 91 11:36:42 GMT References: <10212@pitt.UUCP> Sender: news@idunno.Princeton.EDU Organization: Princeton University, Princeton NJ Lines: 77 In article <10212@pitt.UUCP> jangy@sun2.cs.pitt.edu (Younghee Jang) writes: > > Hi there! I'm correcting my question which posted before. > I was asking how to make abstract onecolumn and the rest of >the "documnet" twocolumn. BUt it is not for document, it is >for "article". Thus, the title, author, abstract and the >beginning of the introduction should be on the same page. >All the mails I got work producing separate page of abstract. >How can I make it correct? I tried nopagebreak and samepage and it >did not work. The format of the first page should be like the following. > > > (title)------------------ > > (autuor)----------------- > > Abstract > ------------------------- > ------------------------- > > Introduction > ----------- ------------- > ----------- ------------- > > The command \twocolumn[] starts a new page and puts in a one-column box at the top of the page. If you were to specify the header exactly as you want it as the optional argument to \twocolumn, you would get what you want. But \twocolumn[\maketitle \begin{abstract} \end{abstract}] does not work because the \maketitle command invokes \twocolumn itself (thereby exiting single-column mode before getting to the abstract), and the abstract environment formats itself for two column printing. To automate what you want, put the following in a style file: \def\abstract#1{\def\@abstract{#1}} \def\@maketitle{\newpage \null \vskip 2em \begin{center} {\LARGE \@title \par} \vskip 1.5em {\large \lineskip .5em \begin{tabular}[t]{c}\@author \end{tabular}\par} \vskip 1em {\large \@date} \end{center} \par \vskip 1.5em \small \begin{center} {\bf Abstract\vspace{-.5em}\vspace{0pt}} \end{center} \quotation \@abstract \endquotation \vskip 2em \gdef\@abstract{}} This just puts the abstract into the \maketitle macro, so that it is set within a \twocolumn[] command by \maketitle. Instead of using the abstract environment, put \abstract{} in the preamble. Then make your title with \maketitle right after begin document (without using the \twocolumn command), and you are on your way. I didn't modify the setup of the title, but personally, I find the extra space at the top of the page and the extra large title to look lousy at the beginning of a two column document. I would change \vskip 2em to \vskip -2em, for example. Tim Van Zandt tvz@princeton.edu