On Tue, Dec 1, 2009 at 11:33 AM, Rainer M Krug wrote:
>
>
> On Tue, Dec 1, 2009 at 11:25 AM, Jürgen Spitzmüller wrote:
>
>> Rainer M Krug wrote:
>> > I just tried it out - when you put [plain] into a ERT as the first thing
>> in
>> > a frame, it shows a plain frame, and the same applies for
>> >
On Tue, Dec 1, 2009 at 11:25 AM, Jürgen Spitzmüller wrote:
> Rainer M Krug wrote:
> > I just tried it out - when you put [plain] into a ERT as the first thing
> in
> > a frame, it shows a plain frame, and the same applies for
> > [allowframebreaks]. Several options, can be separated by a comma. B
Rainer M Krug wrote:
> I just tried it out - when you put [plain] into a ERT as the first thing in
> a frame, it shows a plain frame, and the same applies for
> [allowframebreaks]. Several options, can be separated by a comma. But it
> does NOT work for fragile or containsverbatim.
>
> If this cou
I just tried it out - when you put [plain] into a ERT as the first thing in
a frame, it shows a plain frame, and the same applies for
[allowframebreaks]. Several options, can be separated by a comma. But it
does NOT work for fragile or containsverbatim.
If this could be changed, so that it works f
Uwe Stöhr wrote:
> For now - LyX 1.6.5 - I would add a frame that contains a listings inset to
> beamerlyxexample.lyx. OK?
Yes.
Jürgen
Jürgen Spitzmüller schrieb:
Interesting. We should add this information to our beamer example file (by
adding a program listing frame). Can you do this please?
I'm thinking about a way to implement fragile frames.
For now - LyX 1.6.5 - I would add a frame that contains a listings inset to
Uwe Stöhr wrote:
> > You need to use a "fragile" frame, which is not natively supported by
> > LyX.
>
> Interesting. We should add this information to our beamer example file (by
> adding a program listing frame). Can you do this please?
I'm thinking about a way to implement fragile frames.
Jü
Jürgen Spitzmüller schrieb:
You need to use a "fragile" frame, which is not natively supported by LyX.
Interesting. We should add this information to our beamer example file (by adding a program listing
frame). Can you do this please?
thanks and regards
Uwe
On 30/11/2009 17:35, Jürgen Spitzmüller wrote:
Uwe Stöhr wrote:
However, I also get the same error and it seems that the listings package
doesn't work together with beamer.
Not true. You just need the "fragile" frame option, which does not work with
\lyxframe.
See my previous post.
Jürgen
Uwe Stöhr wrote:
> However, I also get the same error and it seems that the listings package
> doesn't work together with beamer.
Not true. You just need the "fragile" frame option, which does not work with
\lyxframe.
See my previous post.
Jürgen
nikunj . schrieb:
How do we insert c code in lyx beamer presentation?
I am trying to use package listings.
but I get an error "\begin{lstlistings} ends by \end{bea...@frames!"
Have you used TeX code to insert the listing of have you used the listings insert via the menu
Insert->Program listi
nikunj . wrote:
> How do we insert c code in lyx beamer presentation?
> I am trying to use package listings.
You need to use a "fragile" frame, which is not natively supported by LyX.
* Instead of the "BeginFrame", insert and "EndFrame"
* Then, below, in ERT
\begin{frame}[fragile]
\frametitle
Hi,
How do we insert c code in lyx beamer presentation?
I am trying to use package listings.
I try the following:
\begin{lstlisting}
union mix_t {
long l;
struct {
short hi;
short lo;
} s;
char c[4];
} mix;
\end{lstlisting}
but I get an error "\begin{lstlistings} ends by \end{
Sajjad schrieb:
Actually Program Listing worked fine for me.
Thanks Uwe!!!
You're welcome.
First of all i had a float figure and inside that i have inserted the
program listing box
The listings inset can be set to behave like a float, have a look at sec. 7 of the EmbeddedObjects
manual.
: James C. Sutherland
Date: Mon, Jun 8, 2009 at 4:06 PM
Subject: Re: Inserting C++ code
To: lyx-users User
On Jun 7, 2009, at 5:55 AM, Sajjad wrote:
Hello forum,
>
> I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
> follows:
>
> 1. Inserted a float algorith
On Jun 7, 2009, at 5:55 AM, Sajjad wrote:
Hello forum,
I have installed LyX 2.6.1 and trying to insert C++ code. I am
trying as
follows:
1. Inserted a float algorithm .
2. Pasted the code snippet inside that
But the code is not well formatted
Any hint on how to keep the format ?
I h
Hi Sajjad,
This reminds me of Bob's solution for Matlab2tex. Maybe you can use his
trick for C++.
see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73865.html
I would like to hear how you solved it.
Best,
Erez
On Sun, Jun 7, 2009 at 12:55 PM, Sajjad wrote:
> Hello forum,
>
> I have
Sajjad schrieb:
I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
follows:
1. Inserted a float algorithm .
2. Pasted the code snippet inside that
The better solution is to use the listings inset. This is described in sec. 7 of the EmbeddedObjects
manual that you find i
Hello forum,
I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
follows:
1. Inserted a float algorithm .
2. Pasted the code snippet inside that
But the code is not well formatted
Any hint on how to keep the format ?
Regards
Sajjad
19 matches
Mail list logo