You can use the listings LaTeX package : it has automatic breaking of
long lines, and it is fully integrated in LyX.
Siegfried.
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
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
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
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
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}
> >
> >
>>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,
>>>
[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
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
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
10 matches
Mail list logo