Hi
After searching the internett and tried many different approaches I found
a quick and dirty way to solve my problem with one column abstract in ejour2.
Please feel free to make it better :)
In ejour2.cls put:
% Define `one column abstract' environment
\def\onecolabstract#1{\long\def\@onecolabstract{#1}}
\def\@onecolabstract{}
\newcommand{\llyxline}[1]{
{#1 \vspace{1ex} \hrule width 18cm \vspace{1ex}}
}
\let\@oldmaketitle=\@maketitle
\def\@maketitle{
\@oldmaketitle
\llyxline{\normalsize}\vspace{-1\parskip}
\begin{center}
\large\bf\abstractname
\end{center}
\begin{center}
\@onecolabstract
\end{center}
\llyxline{\normalsize}
\vskip 1.5em}
Then in preamble(!) put:
\onecolabstract{And write your entire abstract here...}
It has to go in the preamble because it must be set before lyx runs the
\maketitle. And this was the only way I knew how to do that.
Ingar
--
Ingar Pareliussen