listings format

2005-06-07 Thread funny guy
Dear all,

I am trying to use the package listings.sty in LyX. 

1. In the example document listings.dvi, the format of
a floating listing is very nice (page 6 in
listings-1.3.pdf). It has two lines that encapsulates
the codes that are inserted. However, I cannot get
these two lines. Can anyone tell me how to do that in
LyX ?


2. Moreover, how to put another line above the
caption?
like this:


  Listing 1: My codes

line 1 of codes
line 2 of codes
...


3. How to change the fonts of the inserted codes?

Thanks for your help in advance! ^_^

Peter Chan






__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 



Re: Curriculum Vitae document template missing

2005-06-07 Thread Fabian Scheler
Hi Walter,

the document templates available in Lyx depend on your underlying
LaTeX-System. Make sure that the appropriate document class is
installed in your LaTeX-System, then use 'Edit-Reconfigure' (in Lyx)
to tell Lyx about this document class.

Ciao, Fabian


Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Georg Baum
Srinivas Nedunuri wrote:

 From: Georg Baum
 
 Srinivas Nedunuri wrote:

  I don't really care about the text box.

 But you should, because it makes a big difference.
 Oh a gotcha! I hate those. Still I've seen several examples of textboxes
 inside math environments (for example Cases) use to change font, so it
 surprises me to hear Latex should choke on that

LaTeX does not choke on text boxes in general. What I said is that it makes
a difference whether you put something into a text box or not, because
basically only text is allowed in text boxes.
Rext boxes do more than just change font.

 You must have asked for it one way or the other, but you might not know
 that
 you did.
 I can assure you I didn't :-)

I don't believe that unless you can prove it.

 If you're saying that I asked for X and got 
 Y well that's another matter altogther. I understand these things happen
 occasionally even in the best software.

Then please tell exactly what you did and what you got. If there is a bug in
LyX it should be fixed, but it can't be fixed if nobody knows about it.

 No matter. I think I figured out a way. You have to use a split
 environment inside the eqnarray. Unf LyX doesn't seem to provide a split

It does, but it is an undocumented feature for selected people only :-) Type
\splitspace in a math box, and you'll get a split environment with one
column and one row. You can add columns and rows as usual with M-m c i and
M-m w i.


Georg



Adding doc layout mac os x - LyX 1.3.5

2005-06-07 Thread John Doe
Hi

Im having trouble adding a document layout...cv-1.3 in
particular...

I added cv.layout file in the layouts folder in
.lyx/layouts
and cv.lyx in ./lyx/templates
and cv.cls in .lyx/layouts

I did Edit-Reconfigure

It still says that Layout is unavailable..

I would appreciate if someone could advise me how to add a
document layout in LyX1.3.5 for MAC os x

Thanks
_
For super low premiums, click here http://www.dialdirect.co.za/quote


Re: Setting the spacing between \itemize entries?

2005-06-07 Thread Eric S Fraga
On Fri, May 20, 2005 at 08:49:34AM +0200, Johan Ingvast wrote:

 This is what I have in the preamble to fix the separation:
 
 \let\olditemize=\itemize
 \def\itemize{%
 \olditemize%
 \setlength{\itemsep}{0.0ex}%
 \setstretch{0.95}%
 }

 [...]

Can anybody suggest an equivalent solution for bititems?  I need to reduce
the space between bibitems as above for items but changing itemize to
bibitem doesn't work (a very large number of errors).

Any pointers gratefully accepted!  Even suggestions on changes to BST files
if need be (an arcane art if ever there was one... :-).

cheers,
eric

-- 
 Eric S Fraga, Dept Chemical Engineering, UCL, [EMAIL PROTECTED]
.ooo.ooo.ooo..o...o...ooo..ooo.oo...o.o.oooo.ooo.o...


lfun to set paragraph style?

2005-06-07 Thread G. Milde
Dear fellow lyxers,

Is there a lyx function to set the style of a paragraph?
(I am looking for a way to do this via the lyxserver.)

Günter

-- 
G.Milde web.de


Re: Adding doc layout mac os x - LyX 1.3.5

2005-06-07 Thread Bennett Helm

On Jun 7, 2005, at 5:09 AM, John Doe wrote:


I added cv.layout file in the layouts folder in
.lyx/layouts
and cv.lyx in ./lyx/templates
and cv.cls in .lyx/layouts

I did Edit-Reconfigure

It still says that Layout is unavailable..


All that is right *except*: cv.cls belongs not in your .lyx folder but 
in your TeX tree. The most obvious place to put it is in 
~/Library/texmf/tex/latex/. Once it's there, you'll need to run sudo 
texhash from the command line as an administrator, giving it your 
password when asked. Then do Edit  Reconfigure in LyX, restart LyX, 
and everything should be fine.


Bennett



Re: lfun to set paragraph style?

2005-06-07 Thread Jean-Marc Lasgouttes
 G == G Milde [EMAIL PROTECTED] writes:

G Dear fellow lyxers, Is there a lyx function to set the style of a
G paragraph? (I am looking for a way to do this via the lyxserver.)

If you mean the layout (Standard, Section, ...), then there is the
layout lfun that takes an argument.

JMarc


Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Srinivas Nedunuri

Georg Baum [EMAIL PROTECTED]
wrote in message news:[EMAIL PROTECTED]
 Srinivas Nedunuri wrote:

  From: Georg Baum
 
  Srinivas Nedunuri wrote:
 
   I don't really care about the text box.
 
  But you should, because it makes a big difference.
  Oh a gotcha! I hate those. Still I've seen several examples of textboxes
  inside math environments (for example Cases) use to change font, so it
  surprises me to hear Latex should choke on that

 LaTeX does not choke on text boxes in general. What I said is that it
makes
 a difference whether you put something into a text box or not, because
 basically only text is allowed in text boxes.
 Rext boxes do more than just change font.
And what I said is that I did not ask for a text box. I don't really care if
Lyx chooses to insert one if thats what it thinks it takes to get the job
done so long as it doesn't choke and die over it. Its just a basic principle
of good UI deisgn. I have no control over what goes into something that I
didn't ask for.

  You must have asked for it one way or the other, but you might not know
  that
  you did.
  I can assure you I didn't :-)

 I don't believe that unless you can prove it.
I'm not sure if there's much more I can do short of telling you what I did
and sending you my lyx file which i already did.

  If you're saying that I asked for X and got
  Y well that's another matter altogther. I understand these things happen
  occasionally even in the best software.

 Then please tell exactly what you did and what you got. If there is a bug
in
 LyX it should be fixed, but it can't be fixed if nobody knows about it.
I already did. But here it is again - insert a display or eqnarray or an
align or any enclosing math formula. Add an extra row. In the element where
you want a split, increase the environment depth (C-Right), insert a
multline. Use the M-m w i command to add extra rows to it. It all looks OK
on the screen but when you try tdo dvi it, you get the error I mentioned.

  No matter. I think I figured out a way. You have to use a split
  environment inside the eqnarray. Unf LyX doesn't seem to provide a split

 It does, but it is an undocumented feature for selected people only :-)
Type
 \splitspace in a math box, and you'll get a split environment with one
 column and one row. You can add columns and rows as usual with M-m c i and
 M-m w i.
Right, just like I said! Insert a Tex command.

Unf. split is not quite what I want either b/c it justifies each row. What I
want is a multiline, which nicely left justifies the first row, centers the
middle one, and right justifies the last, but if your information is
correct, it isn't possible to insert a multiline inside another formula. So
I'm still not particularly happy  :-(

cheers


 Georg







Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Srinivas Nedunuri
Sure. My point was that its not immediately obvious that its nonsensical to
mix Latex and AMS macros (they are all after both just TeX macros). I saw no
dire warnings about this in any of the AMS documents, or even in yours.
Well, live and learn I guess.

Herbert Voss [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Srinivas Nedunuri wrote:
  so would \begin{equation}\frac{1}{2}\end{equation} be total nonsense?
  :-)

 equation is redefined by amsmath. However you should use
 align instead of equation!

 Herbert







Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Georg Baum
Srinivas Nedunuri wrote:

 And what I said is that I did not ask for a text box. I don't really care
 if Lyx chooses to insert one if thats what it thinks it takes to get the
 job done so long as it doesn't choke and die over it. Its just a basic
 principle of good UI deisgn.

Yes.

  You must have asked for it one way or the other, but you might not
  know
  that
  you did.
  I can assure you I didn't :-)

 I don't believe that unless you can prove it.
 I'm not sure if there's much more I can do short of telling you what I did
 and sending you my lyx file which i already did.

I can't tell from the file how you created it.

  If you're saying that I asked for X and got
  Y well that's another matter altogther. I understand these things
  happen occasionally even in the best software.

 Then please tell exactly what you did and what you got. If there is a bug
 in
 LyX it should be fixed, but it can't be fixed if nobody knows about it.
 I already did. But here it is again - insert a display or eqnarray or an
 align or any enclosing math formula. Add an extra row. In the element
 where you want a split, increase the environment depth (C-Right),

Incrementing the environment depth in a math formula does nothing here.
Therefore I did not believe what you told. Neither does C-Right increment
the environment depth. Maybe you have selfmade bindings.

 insert a 
 multline. Use the M-m w i command to add extra rows to it. It all looks OK
 on the screen but when you try tdo dvi it, you get the error I mentioned.

Meanwhile I found the error: It is a known bug (has nothing to do with
environment depths) and will be fixed in LyX 1.4, see
http://bugzilla.lyx.org/show_bug.cgi?id=1471



Georg



Beamer Themes

2005-06-07 Thread Rich Shepard

  In the beamer class docs there is mention of a number of themes (each the
name of a city where the author presented a talk), but no examples of each
one or a list of what's available. Same situation with theme colors: no
listing of what's available.

  Has anyone put together such lists? Or, are they available on the web
somewhere?

TIA,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Beamer Themes

2005-06-07 Thread Rich Shepard

On Tue, 7 Jun 2005, Rich Shepard wrote:


 In the beamer class docs there is mention of a number of themes (each the
name of a city where the author presented a talk), but no examples of each
one or a list of what's available. Same situation with theme colors: no
listing of what's available.


  Ah, never mind. I found it. Sigh.

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Beamer Themes

2005-06-07 Thread Rich Shepard

On Tue, 7 Jun 2005, Geoffrey Lloyd wrote:

It might be helpful if you told others where you found it so that future 
readers of this thread can find it too. :)


Geoffrey,

  In the obvious place I had originally overlooked: the manual, starting on
page 133.

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: No Meta key, LyX 1.3.5/Qt 3.3.4: Solved

2005-06-07 Thread Jim Osborn
On Sun, Jun 05, 2005 at 10:16:36PM -0700, I wrote:
 I just installed LyX 1.3.5 as part of an upgrade of KDE...
 [it's] as though the Meta key wasn't there.
 ...
 Is there something else I need to configure?

It turns out the answer is Yes, KDE 3.4.0 has a Keyboard Layout
setting in its Control Center-Regional  Accessibility section,
in a tab Xkb options.  My old KDE 2.2.1 either didn't have this
or defaulted to the right thing.

Adjusting the settings there restored my Meta Key funtionality
on the Alt key.  Now if I can figure out how to activate a Compose
Key I'll be even happier.  Unfortunately, the KDE Control Center
doesn't know about my Happy Hacking PC/XFree keyboard, (while 
xkeycaps does, and xkeycaps is vintage 1999) so activating the
real keys in KDE's tool is total trial and error.

FWIW,

Jim


Beamer Questions

2005-06-07 Thread Rich Shepard

  Toward the beginning of my presentation I made a frame with three items and
pauses between them. The LyX view shows a red bracket along the left margin
and the code reads:

\layout Itemize
How decisions are made.
\begin_deeper 
\layout Pause
\end_deeper 
\layout Itemize

  ...

  I cannot find a begin_deeper and end_deeper on the drop-box menu. I've
no idea how I put them in there in the first place.

  But, if I make a frame with only two items and a pause, the pdf display has
the first item at the top of the slide and the second item at the bottom of
the slide -- pause or no pause.

  If there is a description in the manual about this I missed it. How, within
LyX, can I put in the deeper container, which seems to keep the text in the
middle of the slide?

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Srinivas Nedunuri

Georg Baum [EMAIL PROTECTED]
wrote in message news:[EMAIL PROTECTED]
 Srinivas Nedunuri wrote:
  Then please tell exactly what you did and what you got. If there is a
bug
  in
  LyX it should be fixed, but it can't be fixed if nobody knows about it.
  I already did. But here it is again - insert a display or eqnarray or an
  align or any enclosing math formula. Add an extra row. In the element
  where you want a split, increase the environment depth (C-Right),

 Incrementing the environment depth in a math formula does nothing here.
 Therefore I did not believe what you told. Neither does C-Right increment
 the environment depth. Maybe you have selfmade bindings.
No I was using menu commands (for which, at least on windows, increment
depth is bound to C-Right). You might have to select the  insert multiline
more than once. In any case, I never did anything to request a textbox or
anything remotely like it, so please stop insinuating that I did. If you
can't believe there's something wrong here, I'm not going to waste my time
trying to convince you

  insert a
  multline. Use the M-m w i command to add extra rows to it. It all looks
OK
  on the screen but when you try tdo dvi it, you get the error I
mentioned.

 Meanwhile I found the error: It is a known bug (has nothing to do with
 environment depths) and will be fixed in LyX 1.4, see
 http://bugzilla.lyx.org/show_bug.cgi?id=1471
well it certainly seems to have to do with the spurious textbox that you
claimed was part of the problem so perhaps it hasn't been fixed after all



 Georg







listings format

2005-06-07 Thread funny guy
Dear all,

I am trying to use the package listings.sty in LyX. 

1. In the example document listings.dvi, the format of
a floating listing is very nice (page 6 in
listings-1.3.pdf). It has two lines that encapsulates
the codes that are inserted. However, I cannot get
these two lines. Can anyone tell me how to do that in
LyX ?


2. Moreover, how to put another line above the
caption?
like this:


  Listing 1: My codes

line 1 of codes
line 2 of codes
...


3. How to change the fonts of the inserted codes?

Thanks for your help in advance! ^_^

Peter Chan






__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 



Re: Curriculum Vitae document template missing

2005-06-07 Thread Fabian Scheler
Hi Walter,

the document templates available in Lyx depend on your underlying
LaTeX-System. Make sure that the appropriate document class is
installed in your LaTeX-System, then use 'Edit-Reconfigure' (in Lyx)
to tell Lyx about this document class.

Ciao, Fabian


Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Georg Baum
Srinivas Nedunuri wrote:

 From: Georg Baum
 
 Srinivas Nedunuri wrote:

  I don't really care about the text box.

 But you should, because it makes a big difference.
 Oh a gotcha! I hate those. Still I've seen several examples of textboxes
 inside math environments (for example Cases) use to change font, so it
 surprises me to hear Latex should choke on that

LaTeX does not choke on text boxes in general. What I said is that it makes
a difference whether you put something into a text box or not, because
basically only text is allowed in text boxes.
Rext boxes do more than just change font.

 You must have asked for it one way or the other, but you might not know
 that
 you did.
 I can assure you I didn't :-)

I don't believe that unless you can prove it.

 If you're saying that I asked for X and got 
 Y well that's another matter altogther. I understand these things happen
 occasionally even in the best software.

Then please tell exactly what you did and what you got. If there is a bug in
LyX it should be fixed, but it can't be fixed if nobody knows about it.

 No matter. I think I figured out a way. You have to use a split
 environment inside the eqnarray. Unf LyX doesn't seem to provide a split

It does, but it is an undocumented feature for selected people only :-) Type
\splitspace in a math box, and you'll get a split environment with one
column and one row. You can add columns and rows as usual with M-m c i and
M-m w i.


Georg



Adding doc layout mac os x - LyX 1.3.5

2005-06-07 Thread John Doe
Hi

Im having trouble adding a document layout...cv-1.3 in
particular...

I added cv.layout file in the layouts folder in
.lyx/layouts
and cv.lyx in ./lyx/templates
and cv.cls in .lyx/layouts

I did Edit-Reconfigure

It still says that Layout is unavailable..

I would appreciate if someone could advise me how to add a
document layout in LyX1.3.5 for MAC os x

Thanks
_
For super low premiums, click here http://www.dialdirect.co.za/quote


Re: Setting the spacing between \itemize entries?

2005-06-07 Thread Eric S Fraga
On Fri, May 20, 2005 at 08:49:34AM +0200, Johan Ingvast wrote:

 This is what I have in the preamble to fix the separation:
 
 \let\olditemize=\itemize
 \def\itemize{%
 \olditemize%
 \setlength{\itemsep}{0.0ex}%
 \setstretch{0.95}%
 }

 [...]

Can anybody suggest an equivalent solution for bititems?  I need to reduce
the space between bibitems as above for items but changing itemize to
bibitem doesn't work (a very large number of errors).

Any pointers gratefully accepted!  Even suggestions on changes to BST files
if need be (an arcane art if ever there was one... :-).

cheers,
eric

-- 
 Eric S Fraga, Dept Chemical Engineering, UCL, [EMAIL PROTECTED]
.ooo.ooo.ooo..o...o...ooo..ooo.oo...o.o.oooo.ooo.o...


lfun to set paragraph style?

2005-06-07 Thread G. Milde
Dear fellow lyxers,

Is there a lyx function to set the style of a paragraph?
(I am looking for a way to do this via the lyxserver.)

Günter

-- 
G.Milde web.de


Re: Adding doc layout mac os x - LyX 1.3.5

2005-06-07 Thread Bennett Helm

On Jun 7, 2005, at 5:09 AM, John Doe wrote:


I added cv.layout file in the layouts folder in
.lyx/layouts
and cv.lyx in ./lyx/templates
and cv.cls in .lyx/layouts

I did Edit-Reconfigure

It still says that Layout is unavailable..


All that is right *except*: cv.cls belongs not in your .lyx folder but 
in your TeX tree. The most obvious place to put it is in 
~/Library/texmf/tex/latex/. Once it's there, you'll need to run sudo 
texhash from the command line as an administrator, giving it your 
password when asked. Then do Edit  Reconfigure in LyX, restart LyX, 
and everything should be fine.


Bennett



Re: lfun to set paragraph style?

2005-06-07 Thread Jean-Marc Lasgouttes
 G == G Milde [EMAIL PROTECTED] writes:

G Dear fellow lyxers, Is there a lyx function to set the style of a
G paragraph? (I am looking for a way to do this via the lyxserver.)

If you mean the layout (Standard, Section, ...), then there is the
layout lfun that takes an argument.

JMarc


Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Srinivas Nedunuri

Georg Baum [EMAIL PROTECTED]
wrote in message news:[EMAIL PROTECTED]
 Srinivas Nedunuri wrote:

  From: Georg Baum
 
  Srinivas Nedunuri wrote:
 
   I don't really care about the text box.
 
  But you should, because it makes a big difference.
  Oh a gotcha! I hate those. Still I've seen several examples of textboxes
  inside math environments (for example Cases) use to change font, so it
  surprises me to hear Latex should choke on that

 LaTeX does not choke on text boxes in general. What I said is that it
makes
 a difference whether you put something into a text box or not, because
 basically only text is allowed in text boxes.
 Rext boxes do more than just change font.
And what I said is that I did not ask for a text box. I don't really care if
Lyx chooses to insert one if thats what it thinks it takes to get the job
done so long as it doesn't choke and die over it. Its just a basic principle
of good UI deisgn. I have no control over what goes into something that I
didn't ask for.

  You must have asked for it one way or the other, but you might not know
  that
  you did.
  I can assure you I didn't :-)

 I don't believe that unless you can prove it.
I'm not sure if there's much more I can do short of telling you what I did
and sending you my lyx file which i already did.

  If you're saying that I asked for X and got
  Y well that's another matter altogther. I understand these things happen
  occasionally even in the best software.

 Then please tell exactly what you did and what you got. If there is a bug
in
 LyX it should be fixed, but it can't be fixed if nobody knows about it.
I already did. But here it is again - insert a display or eqnarray or an
align or any enclosing math formula. Add an extra row. In the element where
you want a split, increase the environment depth (C-Right), insert a
multline. Use the M-m w i command to add extra rows to it. It all looks OK
on the screen but when you try tdo dvi it, you get the error I mentioned.

  No matter. I think I figured out a way. You have to use a split
  environment inside the eqnarray. Unf LyX doesn't seem to provide a split

 It does, but it is an undocumented feature for selected people only :-)
Type
 \splitspace in a math box, and you'll get a split environment with one
 column and one row. You can add columns and rows as usual with M-m c i and
 M-m w i.
Right, just like I said! Insert a Tex command.

Unf. split is not quite what I want either b/c it justifies each row. What I
want is a multiline, which nicely left justifies the first row, centers the
middle one, and right justifies the last, but if your information is
correct, it isn't possible to insert a multiline inside another formula. So
I'm still not particularly happy  :-(

cheers


 Georg







Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Srinivas Nedunuri
Sure. My point was that its not immediately obvious that its nonsensical to
mix Latex and AMS macros (they are all after both just TeX macros). I saw no
dire warnings about this in any of the AMS documents, or even in yours.
Well, live and learn I guess.

Herbert Voss [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Srinivas Nedunuri wrote:
  so would \begin{equation}\frac{1}{2}\end{equation} be total nonsense?
  :-)

 equation is redefined by amsmath. However you should use
 align instead of equation!

 Herbert







Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Georg Baum
Srinivas Nedunuri wrote:

 And what I said is that I did not ask for a text box. I don't really care
 if Lyx chooses to insert one if thats what it thinks it takes to get the
 job done so long as it doesn't choke and die over it. Its just a basic
 principle of good UI deisgn.

Yes.

  You must have asked for it one way or the other, but you might not
  know
  that
  you did.
  I can assure you I didn't :-)

 I don't believe that unless you can prove it.
 I'm not sure if there's much more I can do short of telling you what I did
 and sending you my lyx file which i already did.

I can't tell from the file how you created it.

  If you're saying that I asked for X and got
  Y well that's another matter altogther. I understand these things
  happen occasionally even in the best software.

 Then please tell exactly what you did and what you got. If there is a bug
 in
 LyX it should be fixed, but it can't be fixed if nobody knows about it.
 I already did. But here it is again - insert a display or eqnarray or an
 align or any enclosing math formula. Add an extra row. In the element
 where you want a split, increase the environment depth (C-Right),

Incrementing the environment depth in a math formula does nothing here.
Therefore I did not believe what you told. Neither does C-Right increment
the environment depth. Maybe you have selfmade bindings.

 insert a 
 multline. Use the M-m w i command to add extra rows to it. It all looks OK
 on the screen but when you try tdo dvi it, you get the error I mentioned.

Meanwhile I found the error: It is a known bug (has nothing to do with
environment depths) and will be fixed in LyX 1.4, see
http://bugzilla.lyx.org/show_bug.cgi?id=1471



Georg



Beamer Themes

2005-06-07 Thread Rich Shepard

  In the beamer class docs there is mention of a number of themes (each the
name of a city where the author presented a talk), but no examples of each
one or a list of what's available. Same situation with theme colors: no
listing of what's available.

  Has anyone put together such lists? Or, are they available on the web
somewhere?

TIA,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Beamer Themes

2005-06-07 Thread Rich Shepard

On Tue, 7 Jun 2005, Rich Shepard wrote:


 In the beamer class docs there is mention of a number of themes (each the
name of a city where the author presented a talk), but no examples of each
one or a list of what's available. Same situation with theme colors: no
listing of what's available.


  Ah, never mind. I found it. Sigh.

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Beamer Themes

2005-06-07 Thread Rich Shepard

On Tue, 7 Jun 2005, Geoffrey Lloyd wrote:

It might be helpful if you told others where you found it so that future 
readers of this thread can find it too. :)


Geoffrey,

  In the obvious place I had originally overlooked: the manual, starting on
page 133.

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: No Meta key, LyX 1.3.5/Qt 3.3.4: Solved

2005-06-07 Thread Jim Osborn
On Sun, Jun 05, 2005 at 10:16:36PM -0700, I wrote:
 I just installed LyX 1.3.5 as part of an upgrade of KDE...
 [it's] as though the Meta key wasn't there.
 ...
 Is there something else I need to configure?

It turns out the answer is Yes, KDE 3.4.0 has a Keyboard Layout
setting in its Control Center-Regional  Accessibility section,
in a tab Xkb options.  My old KDE 2.2.1 either didn't have this
or defaulted to the right thing.

Adjusting the settings there restored my Meta Key funtionality
on the Alt key.  Now if I can figure out how to activate a Compose
Key I'll be even happier.  Unfortunately, the KDE Control Center
doesn't know about my Happy Hacking PC/XFree keyboard, (while 
xkeycaps does, and xkeycaps is vintage 1999) so activating the
real keys in KDE's tool is total trial and error.

FWIW,

Jim


Beamer Questions

2005-06-07 Thread Rich Shepard

  Toward the beginning of my presentation I made a frame with three items and
pauses between them. The LyX view shows a red bracket along the left margin
and the code reads:

\layout Itemize
How decisions are made.
\begin_deeper 
\layout Pause
\end_deeper 
\layout Itemize

  ...

  I cannot find a begin_deeper and end_deeper on the drop-box menu. I've
no idea how I put them in there in the first place.

  But, if I make a frame with only two items and a pause, the pdf display has
the first item at the top of the slide and the second item at the bottom of
the slide -- pause or no pause.

  If there is a description in the manual about this I missed it. How, within
LyX, can I put in the deeper container, which seems to keep the text in the
middle of the slide?

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Srinivas Nedunuri

Georg Baum [EMAIL PROTECTED]
wrote in message news:[EMAIL PROTECTED]
 Srinivas Nedunuri wrote:
  Then please tell exactly what you did and what you got. If there is a
bug
  in
  LyX it should be fixed, but it can't be fixed if nobody knows about it.
  I already did. But here it is again - insert a display or eqnarray or an
  align or any enclosing math formula. Add an extra row. In the element
  where you want a split, increase the environment depth (C-Right),

 Incrementing the environment depth in a math formula does nothing here.
 Therefore I did not believe what you told. Neither does C-Right increment
 the environment depth. Maybe you have selfmade bindings.
No I was using menu commands (for which, at least on windows, increment
depth is bound to C-Right). You might have to select the  insert multiline
more than once. In any case, I never did anything to request a textbox or
anything remotely like it, so please stop insinuating that I did. If you
can't believe there's something wrong here, I'm not going to waste my time
trying to convince you

  insert a
  multline. Use the M-m w i command to add extra rows to it. It all looks
OK
  on the screen but when you try tdo dvi it, you get the error I
mentioned.

 Meanwhile I found the error: It is a known bug (has nothing to do with
 environment depths) and will be fixed in LyX 1.4, see
 http://bugzilla.lyx.org/show_bug.cgi?id=1471
well it certainly seems to have to do with the spurious textbox that you
claimed was part of the problem so perhaps it hasn't been fixed after all



 Georg







listings format

2005-06-07 Thread funny guy
Dear all,

I am trying to use the package listings.sty in LyX. 

1. In the example document listings.dvi, the format of
a floating listing is very nice (page 6 in
listings-1.3.pdf). It has two lines that encapsulates
the codes that are inserted. However, I cannot get
these two lines. Can anyone tell me how to do that in
LyX ?


2. Moreover, how to put another line above the
caption?
like this:


  Listing 1: My codes

line 1 of codes
line 2 of codes
...


3. How to change the fonts of the inserted codes?

Thanks for your help in advance! ^_^

Peter Chan






__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 



Re: Curriculum Vitae document template missing

2005-06-07 Thread Fabian Scheler
Hi Walter,

the document templates available in Lyx depend on your underlying
LaTeX-System. Make sure that the appropriate document class is
installed in your LaTeX-System, then use 'Edit->Reconfigure' (in Lyx)
to tell Lyx about this document class.

Ciao, Fabian


Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Georg Baum
Srinivas Nedunuri wrote:

> From: "Georg Baum"
> 
>> Srinivas Nedunuri wrote:
>>
>> > I don't really care about the text box.
>>
>> But you should, because it makes a big difference.
> Oh a gotcha! I hate those. Still I've seen several examples of textboxes
> inside math environments (for example Cases) use to change font, so it
> surprises me to hear Latex should choke on that

LaTeX does not choke on text boxes in general. What I said is that it makes
a difference whether you put something into a text box or not, because
basically only text is allowed in text boxes.
Rext boxes do more than just "change font".

>> You must have asked for it one way or the other, but you might not know
> that
>> you did.
> I can assure you I didn't :-)

I don't believe that unless you can prove it.

> If you're saying that I asked for X and got 
> Y well that's another matter altogther. I understand these things happen
> occasionally even in the best software.

Then please tell exactly what you did and what you got. If there is a bug in
LyX it should be fixed, but it can't be fixed if nobody knows about it.

> No matter. I think I figured out a way. You have to use a split
> environment inside the eqnarray. Unf LyX doesn't seem to provide a split

It does, but it is an undocumented feature for selected people only :-) Type
\split in a math box, and you'll get a split environment with one
column and one row. You can add columns and rows as usual with M-m c i and
M-m w i.


Georg



Adding doc layout mac os x - LyX 1.3.5

2005-06-07 Thread John Doe
Hi

Im having trouble adding a document layout...cv-1.3 in
particular...

I added cv.layout file in the layouts folder in
.lyx/layouts
and cv.lyx in ./lyx/templates
and cv.cls in .lyx/layouts

I did Edit-Reconfigure

It still says that Layout is unavailable..

I would appreciate if someone could advise me how to add a
document layout in LyX1.3.5 for MAC os x

Thanks
_
For super low premiums, click here http://www.dialdirect.co.za/quote


Re: Setting the spacing between \itemize entries?

2005-06-07 Thread Eric S Fraga
On Fri, May 20, 2005 at 08:49:34AM +0200, Johan Ingvast wrote:

> This is what I have in the preamble to fix the separation:
> 
> \let\olditemize=\itemize
> \def\itemize{%
> \olditemize%
> \setlength{\itemsep}{0.0ex}%
> \setstretch{0.95}%
> }
>
> [...]

Can anybody suggest an equivalent solution for bititems?  I need to reduce
the space between bibitems as above for items but changing itemize to
bibitem doesn't work (a very large number of errors).

Any pointers gratefully accepted!  Even suggestions on changes to BST files
if need be (an arcane art if ever there was one... :-).

cheers,
eric

-- 
 Eric S Fraga, Dept Chemical Engineering, UCL, [EMAIL PROTECTED]
.ooo.ooo.ooo..o...o...ooo..ooo.oo...o.o.oooo.ooo.o...


lfun to set paragraph style?

2005-06-07 Thread G. Milde
Dear fellow lyxers,

Is there a lyx function to set the style of a paragraph?
(I am looking for a way to do this via the lyxserver.)

Günter

-- 
G.Milde web.de


Re: Adding doc layout mac os x - LyX 1.3.5

2005-06-07 Thread Bennett Helm

On Jun 7, 2005, at 5:09 AM, John Doe wrote:


I added cv.layout file in the layouts folder in
.lyx/layouts
and cv.lyx in ./lyx/templates
and cv.cls in .lyx/layouts

I did Edit-Reconfigure

It still says that Layout is unavailable..


All that is right *except*: cv.cls belongs not in your .lyx folder but 
in your TeX tree. The most obvious place to put it is in 
~/Library/texmf/tex/latex/. Once it's there, you'll need to run "sudo 
texhash" from the command line as an administrator, giving it your 
password when asked. Then do Edit > Reconfigure in LyX, restart LyX, 
and everything should be fine.


Bennett



Re: lfun to set paragraph style?

2005-06-07 Thread Jean-Marc Lasgouttes
> "G" == G Milde <[EMAIL PROTECTED]> writes:

G> Dear fellow lyxers, Is there a lyx function to set the style of a
G> paragraph? (I am looking for a way to do this via the lyxserver.)

If you mean the layout (Standard, Section, ...), then there is the
"layout" lfun that takes an argument.

JMarc


Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Srinivas Nedunuri

"Georg Baum" <[EMAIL PROTECTED]>
wrote in message news:[EMAIL PROTECTED]
> Srinivas Nedunuri wrote:
>
> > From: "Georg Baum"
> >
> >> Srinivas Nedunuri wrote:
> >>
> >> > I don't really care about the text box.
> >>
> >> But you should, because it makes a big difference.
> > Oh a gotcha! I hate those. Still I've seen several examples of textboxes
> > inside math environments (for example Cases) use to change font, so it
> > surprises me to hear Latex should choke on that
>
> LaTeX does not choke on text boxes in general. What I said is that it
makes
> a difference whether you put something into a text box or not, because
> basically only text is allowed in text boxes.
> Rext boxes do more than just "change font".
And what I said is that I did not ask for a text box. I don't really care if
Lyx chooses to insert one if thats what it thinks it takes to get the job
done so long as it doesn't choke and die over it. Its just a basic principle
of good UI deisgn. I have no control over what goes into something that I
didn't ask for.

> >> You must have asked for it one way or the other, but you might not know
> > that
> >> you did.
> > I can assure you I didn't :-)
>
> I don't believe that unless you can prove it.
I'm not sure if there's much more I can do short of telling you what I did
and sending you my lyx file which i already did.

> > If you're saying that I asked for X and got
> > Y well that's another matter altogther. I understand these things happen
> > occasionally even in the best software.
>
> Then please tell exactly what you did and what you got. If there is a bug
in
> LyX it should be fixed, but it can't be fixed if nobody knows about it.
I already did. But here it is again - insert a display or eqnarray or an
align or any enclosing math formula. Add an extra row. In the element where
you want a split, increase the environment depth (C-Right), insert a
multline. Use the M-m w i command to add extra rows to it. It all looks OK
on the screen but when you try tdo dvi it, you get the error I mentioned.

> > No matter. I think I figured out a way. You have to use a split
> > environment inside the eqnarray. Unf LyX doesn't seem to provide a split
>
> It does, but it is an undocumented feature for selected people only :-)
Type
> \split in a math box, and you'll get a split environment with one
> column and one row. You can add columns and rows as usual with M-m c i and
> M-m w i.
Right, just like I said! Insert a Tex command.

Unf. split is not quite what I want either b/c it justifies each row. What I
want is a multiline, which nicely left justifies the first row, centers the
middle one, and right justifies the last, but if your information is
correct, it isn't possible to insert a multiline inside another formula. So
I'm still not particularly happy  :-(

cheers

>
> Georg
>
>





Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Srinivas Nedunuri
Sure. My point was that its not immediately obvious that its nonsensical to
mix Latex and AMS macros (they are all after both just TeX macros). I saw no
dire warnings about this in any of the AMS documents, or even in yours.
Well, live and learn I guess.

"Herbert Voss" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Srinivas Nedunuri wrote:
> > so would \begin{equation}\frac{1}{2}\end{equation} be total nonsense?
> > :-)
>
> equation is redefined by amsmath. However you should use
> align instead of equation!
>
> Herbert
>
>





Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Georg Baum
Srinivas Nedunuri wrote:

> And what I said is that I did not ask for a text box. I don't really care
> if Lyx chooses to insert one if thats what it thinks it takes to get the
> job done so long as it doesn't choke and die over it. Its just a basic
> principle of good UI deisgn.

Yes.

>> >> You must have asked for it one way or the other, but you might not
>> >> know
>> > that
>> >> you did.
>> > I can assure you I didn't :-)
>>
>> I don't believe that unless you can prove it.
> I'm not sure if there's much more I can do short of telling you what I did
> and sending you my lyx file which i already did.

I can't tell from the file how you created it.

>> > If you're saying that I asked for X and got
>> > Y well that's another matter altogther. I understand these things
>> > happen occasionally even in the best software.
>>
>> Then please tell exactly what you did and what you got. If there is a bug
> in
>> LyX it should be fixed, but it can't be fixed if nobody knows about it.
> I already did. But here it is again - insert a display or eqnarray or an
> align or any enclosing math formula. Add an extra row. In the element
> where you want a split, increase the environment depth (C-Right),

Incrementing the environment depth in a math formula does nothing here.
Therefore I did not believe what you told. Neither does C-Right increment
the environment depth. Maybe you have selfmade bindings.

> insert a 
> multline. Use the M-m w i command to add extra rows to it. It all looks OK
> on the screen but when you try tdo dvi it, you get the error I mentioned.

Meanwhile I found the error: It is a known bug (has nothing to do with
environment depths) and will be fixed in LyX 1.4, see
http://bugzilla.lyx.org/show_bug.cgi?id=1471



Georg



Beamer Themes

2005-06-07 Thread Rich Shepard

  In the beamer class docs there is mention of a number of themes (each the
name of a city where the author presented a talk), but no examples of each
one or a list of what's available. Same situation with theme colors: no
listing of what's available.

  Has anyone put together such lists? Or, are they available on the web
somewhere?

TIA,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Beamer Themes

2005-06-07 Thread Rich Shepard

On Tue, 7 Jun 2005, Rich Shepard wrote:


 In the beamer class docs there is mention of a number of themes (each the
name of a city where the author presented a talk), but no examples of each
one or a list of what's available. Same situation with theme colors: no
listing of what's available.


  Ah, never mind. I found it. Sigh.

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Beamer Themes

2005-06-07 Thread Rich Shepard

On Tue, 7 Jun 2005, Geoffrey Lloyd wrote:

It might be helpful if you told others where you found it so that future 
readers of this thread can find it too. :)


Geoffrey,

  In the obvious place I had originally overlooked: the manual, starting on
page 133.

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: No Meta key, LyX 1.3.5/Qt 3.3.4: Solved

2005-06-07 Thread Jim Osborn
On Sun, Jun 05, 2005 at 10:16:36PM -0700, I wrote:
> I just installed LyX 1.3.5 as part of an upgrade of KDE...
> [it's] as though the Meta key wasn't there.
> ...
> Is there something else I need to configure?

It turns out the answer is Yes, KDE 3.4.0 has a Keyboard Layout
setting in its Control Center->Regional & Accessibility section,
in a tab "Xkb options."  My old KDE 2.2.1 either didn't have this
or defaulted to the right thing.

Adjusting the settings there restored my Meta Key funtionality
on the Alt key.  Now if I can figure out how to activate a Compose
Key I'll be even happier.  Unfortunately, the KDE Control Center
doesn't know about my Happy Hacking PC/XFree keyboard, (while 
xkeycaps does, and xkeycaps is vintage 1999) so activating the
real keys in KDE's tool is total trial and error.

FWIW,

Jim


Beamer Questions

2005-06-07 Thread Rich Shepard

  Toward the beginning of my presentation I made a frame with three items and
pauses between them. The LyX view shows a red bracket along the left margin
and the code reads:

\layout Itemize
How decisions are made.
\begin_deeper 
\layout Pause
\end_deeper 
\layout Itemize

  ...

  I cannot find a "begin_deeper" and "end_deeper" on the drop-box menu. I've
no idea how I put them in there in the first place.

  But, if I make a frame with only two items and a pause, the pdf display has
the first item at the top of the slide and the second item at the bottom of
the slide -- pause or no pause.

  If there is a description in the manual about this I missed it. How, within
LyX, can I put in the "deeper" container, which seems to keep the text in the
middle of the slide?

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: problem with multline nested inside a eqnarray

2005-06-07 Thread Srinivas Nedunuri

"Georg Baum" <[EMAIL PROTECTED]>
wrote in message news:[EMAIL PROTECTED]
> Srinivas Nedunuri wrote:
> >> Then please tell exactly what you did and what you got. If there is a
bug
> > in
> >> LyX it should be fixed, but it can't be fixed if nobody knows about it.
> > I already did. But here it is again - insert a display or eqnarray or an
> > align or any enclosing math formula. Add an extra row. In the element
> > where you want a split, increase the environment depth (C-Right),
>
> Incrementing the environment depth in a math formula does nothing here.
> Therefore I did not believe what you told. Neither does C-Right increment
> the environment depth. Maybe you have selfmade bindings.
No I was using menu commands (for which, at least on windows, increment
depth is bound to C-Right). You might have to select the  "insert multiline"
more than once. In any case, I never did anything to request a textbox or
anything remotely like it, so please stop insinuating that I did. If you
can't believe there's something wrong here, I'm not going to waste my time
trying to convince you

> > insert a
> > multline. Use the M-m w i command to add extra rows to it. It all looks
OK
> > on the screen but when you try tdo dvi it, you get the error I
mentioned.
>
> Meanwhile I found the error: It is a known bug (has nothing to do with
> environment depths) and will be fixed in LyX 1.4, see
> http://bugzilla.lyx.org/show_bug.cgi?id=1471
well it certainly seems to have to do with the spurious textbox that you
claimed was part of the problem so perhaps it hasn't been fixed after all

>
>
> Georg
>
>