Re: help with LyX-Code (or verbatim in ERT) and wrapping

2007-12-17 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You can use the listings LaTeX package : it has automatic breaking of long lines, and it is fully integrated in LyX. Siegfried.

help with LyX-Code (or verbatim in ERT) and wrapping

2007-12-16 Thread Stacia Hartleben
Hi guys. I am finishing up a paper for my algorithms class and I ran into a little snag when it comes to displaying code and wrapping. 1. Sometimes very long lines are simply cut off (!) Take for example this long output of a sorting algorithm: (100 100 100 98 96 95 95 92 91 91 8

Re: verbatim in ERT results wrong output

2004-11-02 Thread Pearu Peterson
On Tue, 2 Nov 2004, José Abílio Oliveira Matos wrote: > On Tue, Nov 02, 2004 at 05:19:16PM +0200, Pearu Peterson wrote: > > > > Hi! > ... > > Is there a way to avoid the extra newlines that LyX generates from ERT? > > Or can I define my own environments for LyX so that I can avoid ERT? > > Us

Re: verbatim in ERT results wrong output

2004-11-02 Thread José Abílio Oliveira Matos
On Tue, Nov 02, 2004 at 05:19:16PM +0200, Pearu Peterson wrote: > > Hi! ... > Is there a way to avoid the extra newlines that LyX generates from ERT? > Or can I define my own environments for LyX so that I can avoid ERT? Use Control+Return to start a new paragraph, you will se a red arrow at th

verbatim in ERT results wrong output

2004-11-02 Thread Pearu Peterson
Hi! I am trying to use verbatim (actually verbatim kind of environment but latex verbatim demonstrates the problem well) environment in ERT box but the output to latex, for example, is wrong: LyX inserts a new line after each line in verbatim block. For example, consider \begin{verbatim} 1 2 \en

Antwort: Re: verbatim in ERT

2004-07-07 Thread skoehler
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} > > > >

Re: verbatim in ERT

2004-07-06 Thread Jean-Pierre Chretien
>>To: [EMAIL PROTECTED] >>From: Georg Baum <[EMAIL PROTECTED]> >>Subject: Re: verbatim in ERT >>Date: Tue, 06 Jul 2004 17:49:31 +0200 >>X-Gmane-NNTP-Posting-Host: 137.226.192.187 >> >>[EMAIL PROTECTED] wrote: >> >>> Hi, >>>

Re: verbatim in ERT

2004-07-06 Thread Georg Baum
[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 wh

Re: verbatim in ERT

2004-07-06 Thread Rich Shepard
On Tue, 6 Jul 2004 [EMAIL PROTECTED] wrote: > 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 ? I see this all the time in the .lyx file. I ignore it. Rich -- Dr. Ric

verbatim in ERT

2004-07-06 Thread skoehler
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 ? thanks Steffen