Re: Latex error: Environment subequations undefined

2010-01-19 Thread Hwan Lin
Hello, Uwe,

Thanks for your kindness.

>From my other papers, on math options, it was set at "use AMS math
package automatically."  These papers worked perfectly with
subequations.

The current paper that bothers  me also has the same math option as
above-mentioned. I don't understand why it can not deal with
subequations.

Even odd was when I changed the math option from "use AMS math package
automatically" to "use AMS math package", it worked with some
subequations, but it did not for some other subequations.

I used Lyx 1.6.5 on Mac OS Snow Leopard.

Can any one help?





On Tue, Jan 19, 2010 at 1:28 PM, Uwe Stöhr  wrote:
> HL2050 schrieb:
>
>> Hello, I used "\begin{subequations}" and "\end{subequations}" to have
>> equations in between. It worked on my two earlier research papers using
>> LyX
>> 1.6 mac os snow leopard. But suddenly the same way stopped working in a
>> new
>> LyX file. I just can't figure it out.
>
> You need to assure that you have set in the LyX document settings the math
> option "Use AMS math package".
> (I guess that in your other research papers you used the option "Use AMS
> math package". This worked because you had other AMS constructs in your file
> that LyX directly supports. In this case the AMS LaTeX-packages were
> automatically loaded. subequations are not yet directly supported, therefore
> the AMS-package are not automatically loaded.)
>
> regards Uwe
>


Re: PNG Images

2010-01-19 Thread Manveru
2010/1/19 Robert_Schiemann :
> Hello everyone,
>
>
>
> I add the image Input.PNG to my lyx-document. As you can see in the
> enclosements, its background is bright pink (255 0 255 in RGB).
> Unfortunately, it looks a lot darker in the output pdf, see result.png,
> please. Can anyone say why? Thanks a lot in advance!
>

I didn't look into them, but does your original PNG has a color
profile embedded? This seems to be a common problem according to
Google's search results.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


PNG Images

2010-01-19 Thread Robert_Schiemann
Hello everyone,

 

I add the image Input.PNG to my lyx-document. As you can see in the
enclosements, its background is bright pink (255 0 255 in RGB).
Unfortunately, it looks a lot darker in the output pdf, see result.png,
please. Can anyone say why? Thanks a lot in advance!

 

Greetings,

Robert

 

<><>

Re: Table Challenge

2010-01-19 Thread Liviu Andronic
Hello

On 1/19/10, SteveSB  wrote:
>  I have managed to get the Sweave/Lyx link in MS Windows working but my
>  problem is the follows.
>
In the original post it wasn't clear whether you were transferring the
results to LyX manually (copy & paste) or via Sweave (using xtable()
or latex() commands). In case of the latter, the two commands allow to
convert R objects into LaTeX long-tables. As Rob already mentioned,
these tables would automatically break at the end of the page.


>  d33ww   2.933.000.62-1.66   tatc4   2.652.64
> -1.09   0.10
>  dml25   2.782.78-0.39   -0.12   u3dd5   2.622.69
> -1.04   -1.68
>  e33ws   2.953.020.73-1.69   u6d33   2.722.72
> -0.71   -0.30
>  f3c4g   2.722.74-0.66   -0.65   v3s8f   3.063.091.21 
>-0.68
>  f3s5t   2.832.900.09-1.73   v44h6   2.722.73
> -0.66   -0.29
>  f44ee   2.792.77-0.39   0.20wa5hh   #   #   N/A  
>N/A
>  g2a44   2.762.77-0.45   -0.28
>
>  My question is there way a that Lyx/Latex can do this without my manual
>  intervention.
>
Again, how do you manually split  it? Copy & paste or by manipulating
the R object? The later might be an acceptable solution.

Regards
Liviu


RE: Table Challenge

2010-01-19 Thread Rob Oakes
Hi Steve,

Yes, you can automatically insert page breaks into a long table.  This is
done through the use of the longtable package.  There is a good overview on
how to use longtable in the LyX user manual.  Longtable has a few nice
features, such as the ability to automatically add a  header to the table on
every page.

I am not, aware of a way to automatically split a given table into two
sections, however.  Perhaps others on the list might be able to provide
additional recommendations?

Cheers,

Rob Oakes

-Original Message-
From: SteveSB [mailto:sbsid...@mweb.co.za] 
Sent: Tuesday, January 19, 2010 1:48 PM
To: lyx-users@lists.lyx.org
Subject: Table Challenge


Dear list

As very much a Lyx/Latex newbie, I hope that this is not too difficult a
problem to be resolved.

I produce a multi-col table of data in R and at the moment I reconfigure the
table in Excel so that I can copy/paste it into a report in Word.

I have managed to get the Sweave/Lyx link in MS Windows working but my
problem is the follows.

>From the R code the table looks like this - up to 80 rows or more and 5 col
 
lab_id  A   B   ZBW ZWI
4er66   3.603.303.266.49
4gcyi   2.962.910.471.10
5d3hh   3.083.111.34-0.88
5d3wt   1.791.85-5.60   -1.56
5ycya   #   #   N/A N/A

Middle rows removed to save space

t5ee2   2.432.45-2.23   -0.46
t9455   3.002.970.740.67
ta4ww   2.462.47-2.09   -0.41
tatc4   2.652.64-1.09   0.10
u3dd5   2.622.69-1.04   -1.68
u6d33   2.722.72-0.71   -0.30
v3s8f   3.063.091.21-0.68
v44h6   2.722.73-0.66   -0.29
wa5hh   #   #   N/A N/A

Since this does not fit on a single A4 page (portrait), I then manually
split the table in half and it looks like this

lab_id  A   B   ZBW ZWI lab_id  A   B   ZBW
ZWI
4er66   3.603.303.266.49h2o42   3.002.950.69
0.89
4gcyi   2.962.910.471.10h5s22   3.863.795.30
1.44
5d3hh   3.083.111.34-0.88   h7ss2   2.482.00
-3.32   10.35
5d3wt   1.791.85-5.60   -1.56   i8s4b   2.902.860.16
0.64
5ycya   #   #   N/A N/A ky3sn   2.942.930.47
0.21

Middle rows removed to save space

d33ww   2.933.000.62-1.66   tatc4   2.652.64
-1.09   0.10
dml25   2.782.78-0.39   -0.12   u3dd5   2.622.69
-1.04   -1.68
e33ws   2.953.020.73-1.69   u6d33   2.722.72
-0.71   -0.30
f3c4g   2.722.74-0.66   -0.65   v3s8f   3.063.091.21
-0.68
f3s5t   2.832.900.09-1.73   v44h6   2.722.73
-0.66   -0.29
f44ee   2.792.77-0.39   0.20wa5hh   #   #   N/A
N/A
g2a44   2.762.77-0.45   -0.28


My question is there way a that Lyx/Latex can do this without my manual
intervention.

I hope that the post is clear enough, but if there are any questions please
shout

Regards
Steve
--
View this message in context:
http://n2.nabble.com/Table-Challenge-tp4422819p4422819.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Table Challenge

2010-01-19 Thread SteveSB

Dear list

As very much a Lyx/Latex newbie, I hope that this is not too difficult a
problem to be resolved.

I produce a multi-col table of data in R and at the moment I reconfigure the
table in Excel so that I can copy/paste it into a report in Word.

I have managed to get the Sweave/Lyx link in MS Windows working but my
problem is the follows.

>From the R code the table looks like this - up to 80 rows or more and 5 col
 
lab_id  A   B   ZBW ZWI
4er66   3.603.303.266.49
4gcyi   2.962.910.471.10
5d3hh   3.083.111.34-0.88
5d3wt   1.791.85-5.60   -1.56
5ycya   #   #   N/A N/A

Middle rows removed to save space

t5ee2   2.432.45-2.23   -0.46
t9455   3.002.970.740.67
ta4ww   2.462.47-2.09   -0.41
tatc4   2.652.64-1.09   0.10
u3dd5   2.622.69-1.04   -1.68
u6d33   2.722.72-0.71   -0.30
v3s8f   3.063.091.21-0.68
v44h6   2.722.73-0.66   -0.29
wa5hh   #   #   N/A N/A

Since this does not fit on a single A4 page (portrait), I then manually
split the table in half and it looks like this

lab_id  A   B   ZBW ZWI lab_id  A   B   ZBW 
ZWI
4er66   3.603.303.266.49h2o42   3.002.950.69
0.89
4gcyi   2.962.910.471.10h5s22   3.863.795.30
1.44
5d3hh   3.083.111.34-0.88   h7ss2   2.482.00-3.32   
10.35
5d3wt   1.791.85-5.60   -1.56   i8s4b   2.902.860.16
0.64
5ycya   #   #   N/A N/A ky3sn   2.942.930.47
0.21

Middle rows removed to save space

d33ww   2.933.000.62-1.66   tatc4   2.652.64-1.09   
0.10
dml25   2.782.78-0.39   -0.12   u3dd5   2.622.69-1.04   
-1.68
e33ws   2.953.020.73-1.69   u6d33   2.722.72-0.71   
-0.30
f3c4g   2.722.74-0.66   -0.65   v3s8f   3.063.091.21
-0.68
f3s5t   2.832.900.09-1.73   v44h6   2.722.73-0.66   
-0.29
f44ee   2.792.77-0.39   0.20wa5hh   #   #   N/A 
N/A
g2a44   2.762.77-0.45   -0.28   

My question is there way a that Lyx/Latex can do this without my manual
intervention.

I hope that the post is clear enough, but if there are any questions please
shout

Regards
Steve 
-- 
View this message in context: 
http://n2.nabble.com/Table-Challenge-tp4422819p4422819.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Latex error: Environment subequations undefined

2010-01-19 Thread Uwe Stöhr

HL2050 schrieb:


Hello, I used "\begin{subequations}" and "\end{subequations}" to have
equations in between. It worked on my two earlier research papers using LyX
1.6 mac os snow leopard. But suddenly the same way stopped working in a new
LyX file. I just can't figure it out.


You need to assure that you have set in the LyX document settings the 
math option "Use AMS math package".
(I guess that in your other research papers you used the option "Use AMS 
math package". This worked because you had other AMS constructs in your 
file that LyX directly supports. In this case the AMS LaTeX-packages 
were automatically loaded. subequations are not yet directly supported, 
therefore the AMS-package are not automatically loaded.)


regards Uwe


Latex error: Environment subequations undefined

2010-01-19 Thread HL2050

Hello, I used "\begin{subequations}"  and "\end{subequations}" to have
equations in between. It worked on my two earlier research papers using LyX
1.6 mac os snow leopard. But suddenly the same way stopped working in a new
LyX file. I just can't figure it out. No clue at all. Can anyone help.
Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Latex-error-Environment-subequations-undefined-tp4421640p4421640.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: KOMA script book chapter headings

2010-01-19 Thread Richard Brown
On Fri, 2010-01-15 at 13:09 +0100, Uwe Stöhr wrote:
> Hmm, what is your document class, what version of KOMA-script?

The document class is BOOK (Koma script) and the version of Koma script
is the default I have with my installation of Lyx 1.5.3. The following
info is cut-and-pasted from the Latex log- I presume this is what you
asked me for? (I'm very new to this and am flying at sight...)

Document Class: scrbook 2006/07/30 v2.95b KOMA-Script document class
(book)

(/usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty

Package: scrkbase 2006/07/30 v2.95b KOMA-Script package (basics and
keyval use)

(/usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty

Package: scrlfile 2006/03/28 v2.95 KOMA-Script package (loading files)

Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)

Copyright (C) Markus Kohm




Re: Letter [KOMA - Script-v.2............

2010-01-19 Thread M-L
On Tue, 19 Jan 2010 08:21:23 +0100 Jean-Marie Pacquet 
shared this with is all on the Lyx users list:

>M-L a écrit :
>> [...]
>> I must be on the wrong track then, and my apologies to Jean-Marie and
>> yourself.
>>
>> It is the "Sender Name" that has my name and address so obviously I
>> am looking at the wrong thing?
>>
>> So renew my question:
>>
>> Debian Testing [Squeeze] Using LyX Version 1.6.5
>>
>> Letter [KOMA - Script-v.2]
>>
>> Which of the commands below affect the "Sender Name" field
>>   
>If you look at the manual scrguien.pdf everything you need is visible
>in figure 6.1: "Schematic of letter paper's pseudo lengths". The
>pseudo length for Sender Name vertical position is called
>"firstheadvpos". To adjust it you can add in the preamble:
>
>\...@addtoplength{firstheadvpos}{2cm}
>
>You can also create your own "lco" parameter file (derived from the 
>DIN.lco you are using) to suit your needs.
>
>HTH
>-- 
>jmp


Thank you very much for that pointer and information. I have the
scrguien.pdf on my hard drive and I will look through it.

Many thanks once again.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
This world Is but A fleeting dream So why be alarmed At its
evanescence? ___Ikkyu (1394-1481)

***
Debian GNU/Linux - just the best way to create magic
___