[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
newfile3.lyx
Description: application/lyx