Thanks, now I can use the Verbatim-environment for numbered line.
Steffen
news <[EMAIL PROTECTED]> schrieb am 06.07.2004 17:49:31:
> [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
> > I have embeded the following in an ERT-block.
> > \begin{verbatim}
> > zeile1
> > zeile2
> > \end{verbatim}
> >
> > After exporting it ad LaTeX I get the text with an additional
newlines.
> > \begin{verbatim}
> >
> > zeile1
> >
> > zeile2
> >
> > \end{verbatim}
> >
> > My question is why? And what can I do ?
>
> Because lyx translates a newline in ERT to two newlines in latex (you
know
> this already ;-) )
>
> See the attached lyx file for a solution. You have to use "C-Enter"
instead
> of "Enter" for simple newlines.
>
>
> Georg[Anhang "newfile3.lyx" gel�scht von Steffen Koehler/busch]