Re: Pagenumber at top of TITLE page - how to?

2005-08-15 Thread Brian Williams
Hi - just out of interest - is there a way to enable page numbers on Title 
pages?
 
Thanks,
 
Brian

Paul A. Rubin [EMAIL PROTECTED] wrote:
Søren O'Neill wrote:
 The title says it all ... How do I put the page number at the top of a page 
 rather than at the bottom?
 
 Kind regards
 Soren
 
First set Layout-Document-Layout-Page style to Fancy, then in the 
preamble add \rhead{\thepage} to put it in the upper right corner. 
Change \rhead to \lhead or \chead to put it in the left corner or center 
respectively. You can also embellish it (for instance, 
\rhead{-\thepage-} to add a dash on either side).

This won't apply to a title page, though.

Paul



-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Pagenumber at top of TITLE page - how to?

2005-08-15 Thread Brian Williams
Hi - just out of interest - is there a way to enable page numbers on Title 
pages?
 
Thanks,
 
Brian

Paul A. Rubin [EMAIL PROTECTED] wrote:
Søren O'Neill wrote:
 The title says it all ... How do I put the page number at the top of a page 
 rather than at the bottom?
 
 Kind regards
 Soren
 
First set Layout-Document-Layout-Page style to Fancy, then in the 
preamble add \rhead{\thepage} to put it in the upper right corner. 
Change \rhead to \lhead or \chead to put it in the left corner or center 
respectively. You can also embellish it (for instance, 
\rhead{-\thepage-} to add a dash on either side).

This won't apply to a title page, though.

Paul



-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Pagenumber at top of TITLE page - how to?

2005-08-15 Thread Brian Williams
Hi - just out of interest - is there a way to enable page numbers on Title 
pages?
 
Thanks,
 
Brian

"Paul A. Rubin" <[EMAIL PROTECTED]> wrote:
Søren O'Neill wrote:
> The title says it all ... How do I put the page number at the top of a page 
> rather than at the bottom?
> 
> Kind regards
> Soren
> 
First set Layout->Document->Layout->Page style to Fancy, then in the 
preamble add \rhead{\thepage} to put it in the upper right corner. 
Change \rhead to \lhead or \chead to put it in the left corner or center 
respectively. You can also embellish it (for instance, 
\rhead{-\thepage-} to add a dash on either side).

This won't apply to a title page, though.

Paul



-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Python interface to relyx?

2005-08-14 Thread Brian Williams

Hi,

still trying to get to the bottom of relyx in windows. I found an old archive 
message from Angus explaing that the conversion error that occurs after the 
perl relyx script executes is due to python somehow.  Can someone point me to 
where python completes the 2nd half of the conversion? I do have python 
installed, so I reckon it must be directory pointers. All I really want is the 
location and name of the python script.

Thanks

Brian


-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Python interface to relyx - manual invocation information please

2005-08-14 Thread Brian Williams
I just saw the message  
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg39657.html
 
Re: windows lyx latex import solution
Luis Rivera
Fri, 20 May 2005 19:25:14 -0700

which explains my predicament.  Since I cannot upgrade to Lyx 1.3.6 for at 
least 6 weeks, could someone please tell me how to invoke Lyx2Lyx manually?  It 
will be easier than any other solution.
 
Thanks!
 
Brian
 


Brian Williams [EMAIL PROTECTED] wrote:

Hi,

still trying to get to the bottom of relyx in windows. I found an old archive 
message from Angus explaing that the conversion error that occurs after the 
perl relyx script executes is due to python somehow. Can someone point me to 
where python completes the 2nd half of the conversion? I do have python 
installed, so I reckon it must be directory pointers. All I really want is the 
location and name of the python script.

Thanks

Brian


-
Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail 

-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Python interface to relyx - manual invocation information please

2005-08-14 Thread Brian Williams
Many thanks Stephen, I didn't spot the lyxwintips section - RTFM as usual eh?  
I should have
tried harder...
 
Thanks!
 
Brian

Stephen P. Harris [EMAIL PROTECTED] wrote:

- Original Message - 
From: Brian Williams 
To: 
Sent: Sunday, August 14, 2005 3:56 AM
Subject: Re: Python interface to relyx - manual invocation information 
please


I just saw the message

 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg39657.html

 Re: windows lyx latex import solution
 Luis Rivera
 Fri, 20 May 2005 19:25:14 -0700

 which explains my predicament. Since I cannot upgrade to Lyx 1.3.6 for at 
 least 6 weeks, could someone please tell me how to invoke Lyx2Lyx 
 manually? It will be easier than any other solution.

 Thanks!

 Brian


If you have not already seen this, perhaps it will be useful,
or someone may expand on its usage.

http://wiki.lyx.org/LyX/LyXWinTips
LaTeX Import

Only for LyXWin 1.3.5.

Create a text file named lyx2lyx.cmd containing

@ python 
\share\lyx\lyx2lyx\lyx2lyx %*

and place it into the lyx\share\lyx\lyx2lyx folder.

If that fails, and you have some spare disk space, you might try the 
precompiled (with py2exe) lyx2lyx for Windows (23 April 2005, 606kB). Just 
unzip the contents into the /bin directory. 


-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Python interface to relyx?

2005-08-14 Thread Brian Williams

Hi,

still trying to get to the bottom of relyx in windows. I found an old archive 
message from Angus explaing that the conversion error that occurs after the 
perl relyx script executes is due to python somehow.  Can someone point me to 
where python completes the 2nd half of the conversion? I do have python 
installed, so I reckon it must be directory pointers. All I really want is the 
location and name of the python script.

Thanks

Brian


-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Python interface to relyx - manual invocation information please

2005-08-14 Thread Brian Williams
I just saw the message  
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg39657.html
 
Re: windows lyx latex import solution
Luis Rivera
Fri, 20 May 2005 19:25:14 -0700

which explains my predicament.  Since I cannot upgrade to Lyx 1.3.6 for at 
least 6 weeks, could someone please tell me how to invoke Lyx2Lyx manually?  It 
will be easier than any other solution.
 
Thanks!
 
Brian
 


Brian Williams [EMAIL PROTECTED] wrote:

Hi,

still trying to get to the bottom of relyx in windows. I found an old archive 
message from Angus explaing that the conversion error that occurs after the 
perl relyx script executes is due to python somehow. Can someone point me to 
where python completes the 2nd half of the conversion? I do have python 
installed, so I reckon it must be directory pointers. All I really want is the 
location and name of the python script.

Thanks

Brian


-
Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail 

-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Python interface to relyx - manual invocation information please

2005-08-14 Thread Brian Williams
Many thanks Stephen, I didn't spot the lyxwintips section - RTFM as usual eh?  
I should have
tried harder...
 
Thanks!
 
Brian

Stephen P. Harris [EMAIL PROTECTED] wrote:

- Original Message - 
From: Brian Williams 
To: 
Sent: Sunday, August 14, 2005 3:56 AM
Subject: Re: Python interface to relyx - manual invocation information 
please


I just saw the message

 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg39657.html

 Re: windows lyx latex import solution
 Luis Rivera
 Fri, 20 May 2005 19:25:14 -0700

 which explains my predicament. Since I cannot upgrade to Lyx 1.3.6 for at 
 least 6 weeks, could someone please tell me how to invoke Lyx2Lyx 
 manually? It will be easier than any other solution.

 Thanks!

 Brian


If you have not already seen this, perhaps it will be useful,
or someone may expand on its usage.

http://wiki.lyx.org/LyX/LyXWinTips
LaTeX Import

Only for LyXWin 1.3.5.

Create a text file named lyx2lyx.cmd containing

@ python 
\share\lyx\lyx2lyx\lyx2lyx %*

and place it into the lyx\share\lyx\lyx2lyx folder.

If that fails, and you have some spare disk space, you might try the 
precompiled (with py2exe) lyx2lyx for Windows (23 April 2005, 606kB). Just 
unzip the contents into the /bin directory. 


-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Python interface to relyx?

2005-08-14 Thread Brian Williams

Hi,

still trying to get to the bottom of relyx in windows. I found an old archive 
message from Angus explaing that the conversion error that occurs after the 
perl relyx script executes is due to python somehow.  Can someone point me to 
where python completes the 2nd half of the conversion? I do have python 
installed, so I reckon it must be directory pointers. All I really want is the 
location and name of the python script.

Thanks

Brian


-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Python interface to relyx - manual invocation information please

2005-08-14 Thread Brian Williams
I just saw the message  
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg39657.html
 
Re: windows lyx latex import solution
Luis Rivera
Fri, 20 May 2005 19:25:14 -0700

which explains my predicament.  Since I cannot upgrade to Lyx 1.3.6 for at 
least 6 weeks, could someone please tell me how to invoke Lyx2Lyx manually?  It 
will be easier than any other solution.
 
Thanks!
 
Brian
 


Brian Williams <[EMAIL PROTECTED]> wrote:

Hi,

still trying to get to the bottom of relyx in windows. I found an old archive 
message from Angus explaing that the conversion error that occurs after the 
perl relyx script executes is due to python somehow. Can someone point me to 
where python completes the 2nd half of the conversion? I do have python 
installed, so I reckon it must be directory pointers. All I really want is the 
location and name of the python script.

Thanks

Brian


-
Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail 

-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Python interface to relyx - manual invocation information please

2005-08-14 Thread Brian Williams
Many thanks Stephen, I didn't spot the lyxwintips section - RTFM as usual eh?  
I should have
tried harder...
 
Thanks!
 
Brian

"Stephen P. Harris" <[EMAIL PROTECTED]> wrote:

- Original Message ----- 
From: "Brian Williams" 
To: 
Sent: Sunday, August 14, 2005 3:56 AM
Subject: Re: Python interface to relyx - manual invocation information 
please


>I just saw the message
>
> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg39657.html
>
> Re: windows lyx latex import solution
> Luis Rivera
> Fri, 20 May 2005 19:25:14 -0700
>
> which explains my predicament. Since I cannot upgrade to Lyx 1.3.6 for at 
> least 6 weeks, could someone please tell me how to invoke Lyx2Lyx 
> manually? It will be easier than any other solution.
>
> Thanks!
>
> Brian
>

If you have not already seen this, perhaps it will be useful,
or someone may expand on its usage.

http://wiki.lyx.org/LyX/LyXWinTips
LaTeX Import

Only for LyXWin 1.3.5.

Create a text file named lyx2lyx.cmd containing

@ python 
\share\lyx\lyx2lyx\lyx2lyx %*

and place it into the lyx\share\lyx\lyx2lyx folder.

If that fails, and you have some spare disk space, you might try the 
precompiled (with py2exe) lyx2lyx for Windows (23 April 2005, 606kB). Just 
unzip the contents into the /bin directory. 


-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

relyx in windows?

2005-08-13 Thread Brian Williams

Hi folks,

what is the trick to make relyx work in windows? I've found that I need to put 
the .tex file in the bin directory where relyx.bat is so that it can find it, 
but after that, the system complains that the conversion has failed.

Thanks,

Brian Williams

PS

I tried tex2lyx, but got lots of complaints about running an earlier version of 
lyx, and loads of error boxes.


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Re: relyx in windows?

2005-08-13 Thread Brian Williams
Thanks, but I can't upgrade to 1.3.6 for some weeks. Tex2Lyx seems to expect 
1.3.6 files, so maybe that's why I got errors.
 
This question is really about whether anyone has succeeded in making relyx work 
under windows. 
 
I found that if I created a null lyx file, I could take the relyx output and 
edit the mid section into the lyx file and that would work, but it is a real 
hassle.  Therefore the problem has got to be something to do with the preamble, 
but I'm not well versed enough to figure it out.
 
Thanks anyway,
 
Brian

Stephen P. Harris [EMAIL PROTECTED] wrote:

- Original Message - 
From: Brian Williams 
To: 
Sent: Saturday, August 13, 2005 4:57 AM
Subject: relyx in windows?



 Hi folks,

 what is the trick to make relyx work in windows? I've found that I need to 
 put the .tex file in the bin directory where relyx.bat is so that it can 
 find it, but after that, the system complains that the conversion has 
 failed.

 Thanks,

 Brian Williams

 PS

 I tried tex2lyx, but got lots of complaints about running an earlier 
 version of lyx, and loads of error boxes.



I don't think relyx works. Actually tex2lyx works pretty good for
most Windows XP users. LyX 1.3.6_1 comes with Extended
Features as a document which I can open. But I saw an update
notification of extended features so I downloaded it and it would
not open. I am not sure but maybe the update was created with
LyX 1.4 and 1.3.6_1 doesn't read it. There is a slight problem
reported by some people with directories which contain spaces.

So I have tex2lyx.exe and tex2lyx.bat harbored in C:\lyx\lyx\bin
and it works good, and there are few complaints about it so it is
likely you have overlooked some detail. Did you follow this tip?

http://wiki.lyx.org/LaTeX/Tex2LyxInvokedFromLyx
This can be done another way, but this well-tested method works.

Regards,
Stephen 


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

relyx in windows?

2005-08-13 Thread Brian Williams

Hi folks,

what is the trick to make relyx work in windows? I've found that I need to put 
the .tex file in the bin directory where relyx.bat is so that it can find it, 
but after that, the system complains that the conversion has failed.

Thanks,

Brian Williams

PS

I tried tex2lyx, but got lots of complaints about running an earlier version of 
lyx, and loads of error boxes.


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Re: relyx in windows?

2005-08-13 Thread Brian Williams
Thanks, but I can't upgrade to 1.3.6 for some weeks. Tex2Lyx seems to expect 
1.3.6 files, so maybe that's why I got errors.
 
This question is really about whether anyone has succeeded in making relyx work 
under windows. 
 
I found that if I created a null lyx file, I could take the relyx output and 
edit the mid section into the lyx file and that would work, but it is a real 
hassle.  Therefore the problem has got to be something to do with the preamble, 
but I'm not well versed enough to figure it out.
 
Thanks anyway,
 
Brian

Stephen P. Harris [EMAIL PROTECTED] wrote:

- Original Message - 
From: Brian Williams 
To: 
Sent: Saturday, August 13, 2005 4:57 AM
Subject: relyx in windows?



 Hi folks,

 what is the trick to make relyx work in windows? I've found that I need to 
 put the .tex file in the bin directory where relyx.bat is so that it can 
 find it, but after that, the system complains that the conversion has 
 failed.

 Thanks,

 Brian Williams

 PS

 I tried tex2lyx, but got lots of complaints about running an earlier 
 version of lyx, and loads of error boxes.



I don't think relyx works. Actually tex2lyx works pretty good for
most Windows XP users. LyX 1.3.6_1 comes with Extended
Features as a document which I can open. But I saw an update
notification of extended features so I downloaded it and it would
not open. I am not sure but maybe the update was created with
LyX 1.4 and 1.3.6_1 doesn't read it. There is a slight problem
reported by some people with directories which contain spaces.

So I have tex2lyx.exe and tex2lyx.bat harbored in C:\lyx\lyx\bin
and it works good, and there are few complaints about it so it is
likely you have overlooked some detail. Did you follow this tip?

http://wiki.lyx.org/LaTeX/Tex2LyxInvokedFromLyx
This can be done another way, but this well-tested method works.

Regards,
Stephen 


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

relyx in windows?

2005-08-13 Thread Brian Williams

Hi folks,

what is the trick to make relyx work in windows? I've found that I need to put 
the .tex file in the bin directory where relyx.bat is so that it can find it, 
but after that, the system complains that the conversion has failed.

Thanks,

Brian Williams

PS

I tried tex2lyx, but got lots of complaints about running an earlier version of 
lyx, and loads of error boxes.


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Re: relyx in windows?

2005-08-13 Thread Brian Williams
Thanks, but I can't upgrade to 1.3.6 for some weeks. Tex2Lyx seems to expect 
1.3.6 files, so maybe that's why I got errors.
 
This question is really about whether anyone has succeeded in making relyx work 
under windows. 
 
I found that if I created a "null" lyx file, I could take the relyx output and 
edit the mid section into the lyx file and that would work, but it is a real 
hassle.  Therefore the problem has got to be something to do with the preamble, 
but I'm not well versed enough to figure it out.
 
Thanks anyway,
 
Brian

"Stephen P. Harris" <[EMAIL PROTECTED]> wrote:

- Original Message ----- 
From: "Brian Williams" 
To: 
Sent: Saturday, August 13, 2005 4:57 AM
Subject: relyx in windows?


>
> Hi folks,
>
> what is the trick to make relyx work in windows? I've found that I need to 
> put the .tex file in the bin directory where relyx.bat is so that it can 
> find it, but after that, the system complains that the conversion has 
> failed.
>
> Thanks,
>
> Brian Williams
>
> PS
>
> I tried tex2lyx, but got lots of complaints about running an earlier 
> version of lyx, and loads of error boxes.
>
>

I don't think relyx works. Actually tex2lyx works pretty good for
most Windows XP users. LyX 1.3.6_1 comes with "Extended
Features" as a document which I can open. But I saw an update
notification of "extended features" so I downloaded it and it would
not open. I am not sure but maybe the update was created with
LyX 1.4 and 1.3.6_1 doesn't read it. There is a slight problem
reported by some people with directories which contain spaces.

So I have tex2lyx.exe and tex2lyx.bat harbored in C:\lyx\lyx\bin
and it works good, and there are few complaints about it so it is
likely you have overlooked some detail. Did you follow this tip?

http://wiki.lyx.org/LaTeX/Tex2LyxInvokedFromLyx
This can be done another way, but this well-tested method works.

Regards,
Stephen 


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Re: Excel data sheets

2005-08-02 Thread Brian Williams
William,
 
have you actually managed to make this work with LyX? If so, what is the trick? 
 
Thanks,
 
Brian Williams

William F. Adams [EMAIL PROTECTED] wrote:
On Jul 28, 2005, at 9:06 AM, Geoffrey Lloyd wrote:

 Has anyone had any experience or success in importing MS Excel data 
 sheets into lyx? Ideally they would appear as a table but I am not 
 averse to importing them as a graphic.

There's a tool for this here:

http://www.jam-software.com/freeware/index.shtml

Excel2Latex V2.0

William

-- 
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Re: Excel data sheets

2005-08-02 Thread Brian Williams
William,
 
have you actually managed to make this work with LyX? If so, what is the trick? 
 
Thanks,
 
Brian Williams

William F. Adams [EMAIL PROTECTED] wrote:
On Jul 28, 2005, at 9:06 AM, Geoffrey Lloyd wrote:

 Has anyone had any experience or success in importing MS Excel data 
 sheets into lyx? Ideally they would appear as a table but I am not 
 averse to importing them as a graphic.

There's a tool for this here:

http://www.jam-software.com/freeware/index.shtml

Excel2Latex V2.0

William

-- 
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Re: Excel data sheets

2005-08-02 Thread Brian Williams
William,
 
have you actually managed to make this work with LyX? If so, what is the trick? 
 
Thanks,
 
Brian Williams

"William F. Adams" <[EMAIL PROTECTED]> wrote:
On Jul 28, 2005, at 9:06 AM, Geoffrey Lloyd wrote:

> Has anyone had any experience or success in importing MS Excel data 
> sheets into lyx? Ideally they would appear as a table but I am not 
> averse to importing them as a graphic.

There's a tool for this here:

http://www.jam-software.com/freeware/index.shtml

Excel2Latex V2.0

William

-- 
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Re: 2nd argument in math mode

2005-07-04 Thread Brian Williams
Many thanks! In retrospect, it seems obvious, but I just didn't think of that. 
(newbie!!)
 
Is it in the help files? If you are in Math mode, it is much nicer to put 
commands in line than having to use the ERT box anyway.
 
Thanks again,
 
Brian

Johan Ingvast [EMAIL PROTECTED] wrote:
On Sun, 3 Jul 2005, Brian Williams wrote:

 
 I wanted to insert this command \rule{0pt}{4.5ex} in the element of an 
 array. I didn't want to use arraystretch
 
 How do I get the 2nd argument? 

Simply hitting \{ after you have left the first argument paranthesis. It
will bring up a new pair of the latex-kind.
/johan

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj
tel +46 (0)8 790 95 36 mob. +46 (0)70 34 34 498



-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Re: 2nd argument in math mode

2005-07-04 Thread Brian Williams
Many thanks! In retrospect, it seems obvious, but I just didn't think of that. 
(newbie!!)
 
Is it in the help files? If you are in Math mode, it is much nicer to put 
commands in line than having to use the ERT box anyway.
 
Thanks again,
 
Brian

Johan Ingvast [EMAIL PROTECTED] wrote:
On Sun, 3 Jul 2005, Brian Williams wrote:

 
 I wanted to insert this command \rule{0pt}{4.5ex} in the element of an 
 array. I didn't want to use arraystretch
 
 How do I get the 2nd argument? 

Simply hitting \{ after you have left the first argument paranthesis. It
will bring up a new pair of the latex-kind.
/johan

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj
tel +46 (0)8 790 95 36 mob. +46 (0)70 34 34 498



-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Re: 2nd argument in math mode

2005-07-04 Thread Brian Williams
Many thanks! In retrospect, it seems obvious, but I just didn't think of that. 
(newbie!!)
 
Is it in the help files? If you are in Math mode, it is much nicer to put 
commands in line than having to use the ERT box anyway.
 
Thanks again,
 
Brian

Johan Ingvast <[EMAIL PROTECTED]> wrote:
On Sun, 3 Jul 2005, Brian Williams wrote:

> 
> I wanted to insert this command "\rule{0pt}{4.5ex}" in the element of an 
> array. I didn't want to use arraystretch
> 
> How do I get the 2nd argument? 

Simply hitting \{ after you have left the first argument paranthesis. It
will bring up a new pair of the latex-kind.
/johan

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas <--- Walking robot proj
tel +46 (0)8 790 95 36 mob. +46 (0)70 34 34 498



-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

2nd argument in math mode

2005-07-03 Thread Brian Williams

Hi folks,

hope this question isn't too newbie!

I wanted to insert this command \rule{0pt}{4.5ex} in the element of an array. 
I didn't want to use arraystretch

because one of the elements contained a 2x2 matrix, and I assume that would be 
stretched too.

How do I get the 2nd argument? In the end, I cheated and edited the .lyx file, 
and lyx showed it in red just fine.   It would be nice if you could insert a }{ 
inside the argument, but Lyx won't allow that either.

I don't think you can go into ERT in math mode can you? 

 

Thanks!

Brian

 


-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail

2nd argument in math mode

2005-07-03 Thread Brian Williams

Hi folks,

hope this question isn't too newbie!

I wanted to insert this command \rule{0pt}{4.5ex} in the element of an array. 
I didn't want to use arraystretch

because one of the elements contained a 2x2 matrix, and I assume that would be 
stretched too.

How do I get the 2nd argument? In the end, I cheated and edited the .lyx file, 
and lyx showed it in red just fine.   It would be nice if you could insert a }{ 
inside the argument, but Lyx won't allow that either.

I don't think you can go into ERT in math mode can you? 

 

Thanks!

Brian

 


-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail

2nd argument in math mode

2005-07-03 Thread Brian Williams

Hi folks,

hope this question isn't too newbie!

I wanted to insert this command "\rule{0pt}{4.5ex}" in the element of an array. 
I didn't want to use arraystretch

because one of the elements contained a 2x2 matrix, and I assume that would be 
stretched too.

How do I get the 2nd argument? In the end, I cheated and edited the .lyx file, 
and lyx showed it in red just fine.   It would be nice if you could insert a }{ 
inside the argument, but Lyx won't allow that either.

I don't think you can go into ERT in math mode can you? 

 

Thanks!

Brian

 


-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail

Pstricks problem

2005-07-01 Thread Brian Williams

Hello folks,
this isn't strictly lyx, though I am using pstricks from lyx.
(if there is another list I should use please point me)
I downloaded the example from the pstricks page on 
http://tug.org/PSTricks/pst-plot/gauss0.tex
and the axes were not labelled in the correct position. (dvi attached). The same problem occurs in native miktex. Any ideas?
Thanks,
Brian Williams
		Yahoo! Messenger
 NEW - crystal clear PC to PC
calling worldwide with voicemail


gauss0.dvi
Description: 1448812905-gauss0.dvi


Pstricks problem

2005-07-01 Thread Brian Williams

Hello folks,
this isn't strictly lyx, though I am using pstricks from lyx.
(if there is another list I should use please point me)
I downloaded the example from the pstricks page on 
http://tug.org/PSTricks/pst-plot/gauss0.tex
and the axes were not labelled in the correct position. (dvi attached). The same problem occurs in native miktex. Any ideas?
Thanks,
Brian Williams
		Yahoo! Messenger
 NEW - crystal clear PC to PC
calling worldwide with voicemail


gauss0.dvi
Description: 1448812905-gauss0.dvi


Pstricks problem

2005-07-01 Thread Brian Williams

Hello folks,
this isn't strictly lyx, though I am using pstricks from lyx.
(if there is another list I should use please point me)
I downloaded the example from the pstricks page on 
http://tug.org/PSTricks/pst-plot/gauss0.tex
and the axes were not labelled in the correct position. (dvi attached).  The same problem occurs in native miktex.  Any ideas?
Thanks,
Brian Williams
		Yahoo! Messenger
 NEW - crystal clear PC to PC
calling worldwide with voicemail


gauss0.dvi
Description: 1448812905-gauss0.dvi


Re: LyXWin not working on XP

2005-06-06 Thread Brian Williams
You have
 
 User Lyx directory: 'C:/Documents and Settings/db/.lyx/' 
 
Maybe the problem is that you have your user directory set to a directory with 
spaces in the pathname?  It may not be in this case, but I'm sure it will give 
you trouble later.
 
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup says:
 
Install the programs above into folders that contain no spaces in the name. 
Eg. C:\LyX
 
If it could deal with spaces in the user directory, surely it wouldn't need 
that restriction?
 
The way I get around this is to map a local network drive (X:) to the Documents 
and Settings directory so as to avoid having to create yet another top level 
directory.
 

 
 
Brian

David Boutillier [EMAIL PROTECTED] wrote:
I am having difficulty getting LyXWin working properly. 



1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 



2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .



3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.



What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 



4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4



5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?



Any help would be muchly appreciated. 



djb



David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email: [EMAIL PROTECTED]





-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail

Re: LyXWin not working on XP

2005-06-06 Thread Brian Williams
You have
 
 User Lyx directory: 'C:/Documents and Settings/db/.lyx/' 
 
Maybe the problem is that you have your user directory set to a directory with 
spaces in the pathname?  It may not be in this case, but I'm sure it will give 
you trouble later.
 
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup says:
 
Install the programs above into folders that contain no spaces in the name. 
Eg. C:\LyX
 
If it could deal with spaces in the user directory, surely it wouldn't need 
that restriction?
 
The way I get around this is to map a local network drive (X:) to the Documents 
and Settings directory so as to avoid having to create yet another top level 
directory.
 

 
 
Brian

David Boutillier [EMAIL PROTECTED] wrote:
I am having difficulty getting LyXWin working properly. 



1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 



2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .



3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.



What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 



4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4



5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?



Any help would be muchly appreciated. 



djb



David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email: [EMAIL PROTECTED]





-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail

Re: LyXWin not working on XP

2005-06-06 Thread Brian Williams
You have
 
>> User Lyx directory: 'C:/Documents and Settings/db/.lyx/' 
 
Maybe the problem is that you have your user directory set to a directory with 
spaces in the pathname?  It may not be in this case, but I'm sure it will give 
you trouble later.
 
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup says:
 
"Install the programs above into folders that contain no spaces in the name. 
Eg. C:\LyX"
 
If it could deal with spaces in the user directory, surely it wouldn't need 
that restriction?
 
The way I get around this is to map a local network drive (X:) to the Documents 
and Settings directory so as to avoid having to create yet another top level 
directory.
 

 
 
Brian

David Boutillier <[EMAIL PROTECTED]> wrote:
I am having difficulty getting LyXWin working properly. 



1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 



2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .



3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.



What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 



4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4



5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says "Cannot view file. No information
for viewing PDF (dvipdfm)". I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?



Any help would be muchly appreciated. 



djb



David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email: [EMAIL PROTECTED]





-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail

Re: Create Formula Sheet

2005-05-15 Thread Brian Williams
Hi Herbert,
 
the file disappeared before I could get it... probably because it was in a 
temp directory.
Could I have a copy please?
 
Many thanks,
 
Brian Williams

Matthew Low [EMAIL PROTECTED] wrote:
On 5/14/05, Herbert Voss wrote:
 
 http://perce.de/temp/math.tex
 
 can be run with latex2e, the original source file is
 for latex2.09
 

Works now. Thanks Herbert.


-
 Yahoo! Messenger  - want a free  easy way to contact your friends online?  

Re: Create Formula Sheet

2005-05-15 Thread Brian Williams
Hi Herbert,
 
the file disappeared before I could get it... probably because it was in a 
temp directory.
Could I have a copy please?
 
Many thanks,
 
Brian Williams

Matthew Low [EMAIL PROTECTED] wrote:
On 5/14/05, Herbert Voss wrote:
 
 http://perce.de/temp/math.tex
 
 can be run with latex2e, the original source file is
 for latex2.09
 

Works now. Thanks Herbert.


-
 Yahoo! Messenger  - want a free  easy way to contact your friends online?  

Re: Create Formula Sheet

2005-05-15 Thread Brian Williams
Hi Herbert,
 
the file disappeared before I could get it... probably because it was in a 
"temp" directory.
Could I have a copy please?
 
Many thanks,
 
Brian Williams

Matthew Low <[EMAIL PROTECTED]> wrote:
On 5/14/05, Herbert Voss wrote:
> 
> http://perce.de/temp/math.tex
> 
> can be run with latex2e, the original source file is
> for latex2.09
> 

Works now. Thanks Herbert.


-
 Yahoo! Messenger  - want a free & easy way to contact your friends online?  

Re: Equation numbering

2005-05-12 Thread Brian Williams

Hi Geoff,

as a completely newbie, I've been finding ways to cheat to do exactly what you want.
I've attached my effort- doubtless there are much better ways of doing it.

Regards

BrianGeoffrey Lloyd [EMAIL PROTECTED] wrote:
HiI want to achieve the following and wondered whether it is possible. I think it should be can't get it to work.I have an erray of equationsx=blahy=boo eq(1.1)z=cowand I want a single equation number on the middle line as shownAlthough I can get it not to number the first line by selecting label afterwards, it seems to want to label all subsequent lines.Also is there a way to do this with a two line array such that the number is centred between themGeoff
		How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! 
Photos#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Formula $\begin{array}{}
x  =  blah\\
y  =  boo  \hspace{10pt}eq(1.1)\\
z  =  cow\end{array}$
\end_inset 


\newline 

\begin_inset Formula $\vspace{6pt}$
\end_inset 


\newline 

\begin_inset Formula $\begin{array}{ccc}
x  =  blah\\
y  =  boo\end{array}$
\end_inset 


\begin_inset Formula $\hspace{10pt}eq(1.1)$
\end_inset 


\the_end


Re: Equation numbering

2005-05-12 Thread Brian Williams

Hi Geoff,

as a completely newbie, I've been finding ways to cheat to do exactly what you want.
I've attached my effort- doubtless there are much better ways of doing it.

Regards

BrianGeoffrey Lloyd [EMAIL PROTECTED] wrote:
HiI want to achieve the following and wondered whether it is possible. I think it should be can't get it to work.I have an erray of equationsx=blahy=boo eq(1.1)z=cowand I want a single equation number on the middle line as shownAlthough I can get it not to number the first line by selecting label afterwards, it seems to want to label all subsequent lines.Also is there a way to do this with a two line array such that the number is centred between themGeoff
		How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! 
Photos#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Formula $\begin{array}{}
x  =  blah\\
y  =  boo  \hspace{10pt}eq(1.1)\\
z  =  cow\end{array}$
\end_inset 


\newline 

\begin_inset Formula $\vspace{6pt}$
\end_inset 


\newline 

\begin_inset Formula $\begin{array}{ccc}
x  =  blah\\
y  =  boo\end{array}$
\end_inset 


\begin_inset Formula $\hspace{10pt}eq(1.1)$
\end_inset 


\the_end


Re: Equation numbering

2005-05-12 Thread Brian Williams

Hi Geoff,
 
as a completely newbie, I've been finding ways to cheat to do exactly what you want.
I've attached my effort- doubtless there are much better ways of doing it.
 
Regards
 
BrianGeoffrey Lloyd <[EMAIL PROTECTED]> wrote:
HiI want to achieve the following and wondered whether it is possible. I think it should be can't get it to work.I have an erray of equationsx=blahy=boo eq(1.1)z=cowand I want a single equation number on the middle line as shownAlthough I can get it not to number the first line by selecting label afterwards, it seems to want to label all subsequent lines.Also is there a way to do this with a two line array such that the number is centred between themGeoff
		How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! 
Photos#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Formula $\begin{array}{}
x & = & blah\\
y & = & boo & \hspace{10pt}eq(1.1)\\
z & = & cow\end{array}$
\end_inset 


\newline 

\begin_inset Formula $\vspace{6pt}$
\end_inset 


\newline 

\begin_inset Formula $\begin{array}{ccc}
x & = & blah\\
y & = & boo\end{array}$
\end_inset 


\begin_inset Formula $\hspace{10pt}eq(1.1)$
\end_inset 


\the_end


Numbered, bracketed, Systems of Equations - How??

2005-05-06 Thread Brian Williams

Hi folks,

looks like this isn't such a newbie question after all.

Maybe I should ask it more carefully.

I want to use LyX to produce systems of equations that look like this (output 
exported from LyX):

$\left\{ \begin{array}{r}
(3-\lambda)C  +  2D  =  0\\
C  +  (4-\lambda)D  =  0\end{array}\right.$

but with each line numbered, like eqnarray

Reasons are that I want the operators to line up correctly, and it will match 
the course textbooks that I am using with an Open University Maths course that 
I'm doing (they were published using TeX).

I've tried all kinds of combinations of brackets and environments with no luck.

By the way, the user guide says this in section 5.2: If you decide after the 
fact to place parentheses (or other math structure, like a square root, or 
other decoration) around some math structure, you can do that by highlighting 
(selecting) the structure that is to go inside the parentheses...Then, choose 
the appropriate brackets for left and right, and click on Apply. The 
parentheses will be drawn around the selected structure.

This does not appear to be true for equation environments or arrays for that 
matter.

Has this been done in LyX yet?

Many thanks,

Brian

 


-
 Yahoo! Messenger  - want a free  easy way to contact your friends online?  

Re: Numbered, bracketed, Systems of Equations - How??

2005-05-06 Thread Brian Williams

Thanks Herbert, you are a genius!

Hope you don't mind a followup! :-) Is there a way to right justify the 
equation numbers?

(I'm guessing the items in red are standard LaTeX macros I can find documented 
somewhere?)

Thanks!

Brian

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Numbered, bracketed, Systems of Equations - How??

2005-05-06 Thread Brian Williams


Hi Herbert, 
using some of your ideas, I've got what I wanted using a single row, 3 element array. It's almost all done with LyX with a minimum of Latex in-line code.
Question is, do you think it's terribly kludgy? See attached.
Thanks for all your help
Brian
		 Yahoo! Messenger 
 - want a free & easy way to contact your friends online? 
 #LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\lhead{\hspace*{- .22\textwidth}Brian Williams}
\chead{K0125938}
\rhead{\flushright{\mbox{\hspace*{ 1.05\textwidth} MST209 03}}}
\reversemarginpar 
\renewcommand{\headrulewidth}{0pt}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\begin_inset Marginal
collapsed false

\layout Standard
\align right 
Q.
 1) a) 
\end_inset 

We have the following system of equations:
\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
vspace{.25in}
\end_inset 


\layout Standard


\begin_inset  Tabular
lyxtabular version=3 rows=1 columns=3
features
column alignment=block valignment=top width=10line%
column alignment=left valignment=top width=35line%
column alignment=right valignment=top width=50line%
row
cell alignment=center valignment=top topline=true leftline=true 
usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $\left\{ \begin{array}{rcr}
x_{1}  -  3x_{2}  +  2x_{3}  =  1,\\
-4x_{1}  +  6x_{2}  +  2x_{3}  =  -8,\\
14x_{1}  -  7x_{2}  -  5x_{3}  =  26\end{array}\right.$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $\begin{array}{r}
\refstepcounter{equation}(\theequation)\\
\refstepcounter{equation}(\theequation)\\
\refstepcounter{equation}(\theequation)\end{array}$
\end_inset 


\end_inset 
/cell
/row
/lyxtabular

\end_inset 


\the_end


Numbered, bracketed, Systems of Equations - How??

2005-05-06 Thread Brian Williams

Hi folks,

looks like this isn't such a newbie question after all.

Maybe I should ask it more carefully.

I want to use LyX to produce systems of equations that look like this (output 
exported from LyX):

$\left\{ \begin{array}{r}
(3-\lambda)C  +  2D  =  0\\
C  +  (4-\lambda)D  =  0\end{array}\right.$

but with each line numbered, like eqnarray

Reasons are that I want the operators to line up correctly, and it will match 
the course textbooks that I am using with an Open University Maths course that 
I'm doing (they were published using TeX).

I've tried all kinds of combinations of brackets and environments with no luck.

By the way, the user guide says this in section 5.2: If you decide after the 
fact to place parentheses (or other math structure, like a square root, or 
other decoration) around some math structure, you can do that by highlighting 
(selecting) the structure that is to go inside the parentheses...Then, choose 
the appropriate brackets for left and right, and click on Apply. The 
parentheses will be drawn around the selected structure.

This does not appear to be true for equation environments or arrays for that 
matter.

Has this been done in LyX yet?

Many thanks,

Brian

 


-
 Yahoo! Messenger  - want a free  easy way to contact your friends online?  

Re: Numbered, bracketed, Systems of Equations - How??

2005-05-06 Thread Brian Williams

Thanks Herbert, you are a genius!

Hope you don't mind a followup! :-) Is there a way to right justify the 
equation numbers?

(I'm guessing the items in red are standard LaTeX macros I can find documented 
somewhere?)

Thanks!

Brian

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Numbered, bracketed, Systems of Equations - How??

2005-05-06 Thread Brian Williams


Hi Herbert, 
using some of your ideas, I've got what I wanted using a single row, 3 element array. It's almost all done with LyX with a minimum of Latex in-line code.
Question is, do you think it's terribly kludgy? See attached.
Thanks for all your help
Brian
		 Yahoo! Messenger 
 - want a free & easy way to contact your friends online? 
 #LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\lhead{\hspace*{- .22\textwidth}Brian Williams}
\chead{K0125938}
\rhead{\flushright{\mbox{\hspace*{ 1.05\textwidth} MST209 03}}}
\reversemarginpar 
\renewcommand{\headrulewidth}{0pt}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\begin_inset Marginal
collapsed false

\layout Standard
\align right 
Q.
 1) a) 
\end_inset 

We have the following system of equations:
\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
vspace{.25in}
\end_inset 


\layout Standard


\begin_inset  Tabular
lyxtabular version=3 rows=1 columns=3
features
column alignment=block valignment=top width=10line%
column alignment=left valignment=top width=35line%
column alignment=right valignment=top width=50line%
row
cell alignment=center valignment=top topline=true leftline=true 
usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $\left\{ \begin{array}{rcr}
x_{1}  -  3x_{2}  +  2x_{3}  =  1,\\
-4x_{1}  +  6x_{2}  +  2x_{3}  =  -8,\\
14x_{1}  -  7x_{2}  -  5x_{3}  =  26\end{array}\right.$
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset Formula $\begin{array}{r}
\refstepcounter{equation}(\theequation)\\
\refstepcounter{equation}(\theequation)\\
\refstepcounter{equation}(\theequation)\end{array}$
\end_inset 


\end_inset 
/cell
/row
/lyxtabular

\end_inset 


\the_end


Numbered, bracketed, Systems of Equations - How??

2005-05-06 Thread Brian Williams

Hi folks,

looks like this isn't such a newbie question after all.

Maybe I should ask it more carefully.

I want to use LyX to produce systems of equations that look like this (output 
exported from LyX):

$\left\{ \begin{array}{r}
(3-\lambda)C & + & 2D & = & 0\\
C & + & (4-\lambda)D & = & 0\end{array}\right.$

but with each line numbered, like eqnarray

Reasons are that I want the operators to line up correctly, and it will match 
the course textbooks that I am using with an Open University Maths course that 
I'm doing (they were published using TeX).

I've tried all kinds of combinations of brackets and environments with no luck.

By the way, the user guide says this in section 5.2: "If you decide after the 
fact to place parentheses (or other math structure, like a square root, or 
other decoration) around some math structure, you can do that by highlighting 
(selecting) the structure that is to go inside the parentheses...Then, choose 
the appropriate brackets for left and right, and click on Apply. The 
parentheses will be drawn around the selected structure."

This does not appear to be true for equation environments or arrays for that 
matter.

Has this been done in LyX yet?

Many thanks,

Brian

 


-
 Yahoo! Messenger  - want a free & easy way to contact your friends online?  

Re: Numbered, bracketed, Systems of Equations - How??

2005-05-06 Thread Brian Williams

Thanks Herbert, you are a genius!

Hope you don't mind a followup! :-) Is there a way to right justify the 
equation numbers?

(I'm guessing the items in red are standard LaTeX macros I can find documented 
somewhere?)

Thanks!

Brian

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Numbered, bracketed, Systems of Equations - How??

2005-05-06 Thread Brian Williams


Hi Herbert, 
using some of your ideas, I've got what I wanted using a single row, 3 element array. It's almost all done with LyX with a minimum of Latex in-line code.
Question is, do you think it's terribly kludgy? See attached.
Thanks for all your help
Brian
		 Yahoo! Messenger 
 - want a free & easy way to contact your friends online? 
 #LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\lhead{\hspace*{- .22\textwidth}Brian Williams}
\chead{K0125938}
\rhead{\flushright{\mbox{\hspace*{ 1.05\textwidth} MST209 03}}}
\reversemarginpar 
\renewcommand{\headrulewidth}{0pt}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\begin_inset Marginal
collapsed false

\layout Standard
\align right 
Q.
 1) a) 
\end_inset 

We have the following system of equations:
\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
vspace{.25in}
\end_inset 


\layout Standard


\begin_inset  Tabular







\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard


\begin_inset Formula $\left\{ \begin{array}{rcr}
x_{1} & - & 3x_{2} & + & 2x_{3} & = & 1,\\
-4x_{1} & + & 6x_{2} & + & 2x_{3} & = & -8,\\
14x_{1} & - & 7x_{2} & - & 5x_{3} & = & 26\end{array}\right.$
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard


\begin_inset Formula $\begin{array}{r}
\refstepcounter{equation}(\theequation)\\
\refstepcounter{equation}(\theequation)\\
\refstepcounter{equation}(\theequation)\end{array}$
\end_inset 


\end_inset 




\end_inset 


\the_end


Newbie question

2005-05-05 Thread Brian Williams

Hi, 

Hope this isn't too simple  I'd like to define a quick way in Lyx of 
entering this construct for entering a system of equations:

$\left\{ \begin{array}{r}
\\\end{array}\right.$

Currently I achieve this by using the Math panel to insert an unmatched left 
squiggly brace, then a 2 x 5 matrix right justified by column, and this takes a 
boring number of keystrokes.

I tried defining a macro, but of course I can't edit it. 

Is there any way of creating a macro that puts objects on the screen that you 
can edit?

Thanks!

Brian Williams


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Newbie question

2005-05-05 Thread Brian Williams

Hi, 

Hope this isn't too simple  I'd like to define a quick way in Lyx of 
entering this construct for entering a system of equations:

$\left\{ \begin{array}{r}
\\\end{array}\right.$

Currently I achieve this by using the Math panel to insert an unmatched left 
squiggly brace, then a 2 x 5 matrix right justified by column, and this takes a 
boring number of keystrokes.

I tried defining a macro, but of course I can't edit it. 

Is there any way of creating a macro that puts objects on the screen that you 
can edit?

Thanks!

Brian Williams


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

Newbie question

2005-05-05 Thread Brian Williams

Hi, 

Hope this isn't too simple  I'd like to define a quick way in Lyx of 
entering this construct for entering a system of equations:

$\left\{ \begin{array}{r}
\\\end{array}\right.$

Currently I achieve this by using the Math panel to insert an unmatched left 
squiggly brace, then a 2 x 5 matrix right justified by column, and this takes a 
boring number of keystrokes.

I tried defining a macro, but of course I can't edit it. 

Is there any way of creating a macro that puts objects on the screen that you 
can edit?

Thanks!

Brian Williams


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos

how to make empheq work?

2005-04-27 Thread Brian Williams
Hi,
 
I'm a newbie with Lyx.  I've been trying to get the empheq package to work but 
can't.
 
I put \usepackage{empheq} in the preamble, and created an ERT box containing 
this test code..
 
\begin{empheq}
\begin{align}
E=mc^2 \\
Y= \sum_{n=1}^\infty \frac{1}{n^2}
\end{align}
\end{empheq}
 
It generated a host of errors starting with this:
LaTeX Error: \begin{empheq} on input line 25 ended by \end{align}.
 \end{align}

Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
 
Any ideas?
 
Many thanks
 
Brian Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Thanks Georg, but still no luck.
 
I've renamed the subject, because it may just be a problem with LyX.
 
I went the document The empheq package* by Morten Høgholm 2004/10/10
and cut and paste this sample into an ERT box
 
\begin{empheq}{align*}
a=b \tag{*}\\
E=mc^2 + \int_a^a x\, dx
\end{empheq}
 
and Lyx gives me this error:
 
Undefined control sequence.
 \end{empheq}
 
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
 
I don't get it! Any further help gratefully received
 
Thanks,
Brian Williams
 
---
Re: how to make empheq work?
Georg Baum
Tue, 26 Apr 2005 23:57:16 -0700
 
Brian Williams wrote:
 
 I put \usepackage{empheq} in the preamble, and created an ERT box
 containing this test code..
  
 \begin{empheq}
 \begin{align}
 
This is wrong.
 
\begin{empheq}{align}
 
works. Read the empheq documentation if you want to know the details.
 

Georg

  -Original Message-
From: Brian Williams   [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 00:42
To:   'lyx-users@lists.lyx.org'
Subject: how to make empheq   work?


  Hi,
   
  I'm a newbie with   Lyx.  I've been trying to get the empheq package to work 
but   can't.
   
  I put   \usepackage{empheq} in the preamble, and created an ERT box 
containing   this test code..
   
  \begin{empheq}
  \begin{align}
  E=mc^2   \\
  Y=   \sum_{n=1}^\infty \frac{1}{n^2}
  \end{align}
  \end{empheq}
   
  It generated a   host of errors starting with this:
  LaTeX Error:   \begin{empheq} on input line 25 ended by   \end{align}.
 \end{align}
  
Your command was ignored.
Type  I command   return  to replace it with another command,
orreturn  to continue without it.
   
  Any   ideas?
   
  Many   thanks
   
  Brian   Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Many thanks Georg!  
 
I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?
 
Thanks again,
 
Brian

Georg Baum [EMAIL PROTECTED] wrote:
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
 
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
 
 and Lyx gives me this error:
 
 Undefined control sequence.
 \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Of course, the only reason why I need this is because I don't know how to make 
lyx align a system of equations (4 cols) with the operators and equals signs 
lined up and a big brace to the left. All the align environments that I've 
found in Lyx are limited to 2 or 3. Am I missing something?
 
Thanks,
 
Brian

Brian Williams [EMAIL PROTECTED] wrote:
Many thanks Georg! 

I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?

Thanks again,

Brian

Georg Baum wrote:
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
 
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
 
 and Lyx gives me this error:
 
 Undefined control sequence.
 \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 
Send instant messages to your online friends http://uk.messenger.yahoo.com 

how to make empheq work?

2005-04-27 Thread Brian Williams
Hi,
 
I'm a newbie with Lyx.  I've been trying to get the empheq package to work but 
can't.
 
I put \usepackage{empheq} in the preamble, and created an ERT box containing 
this test code..
 
\begin{empheq}
\begin{align}
E=mc^2 \\
Y= \sum_{n=1}^\infty \frac{1}{n^2}
\end{align}
\end{empheq}
 
It generated a host of errors starting with this:
LaTeX Error: \begin{empheq} on input line 25 ended by \end{align}.
 \end{align}

Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
 
Any ideas?
 
Many thanks
 
Brian Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Thanks Georg, but still no luck.
 
I've renamed the subject, because it may just be a problem with LyX.
 
I went the document The empheq package* by Morten Høgholm 2004/10/10
and cut and paste this sample into an ERT box
 
\begin{empheq}{align*}
a=b \tag{*}\\
E=mc^2 + \int_a^a x\, dx
\end{empheq}
 
and Lyx gives me this error:
 
Undefined control sequence.
 \end{empheq}
 
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
 
I don't get it! Any further help gratefully received
 
Thanks,
Brian Williams
 
---
Re: how to make empheq work?
Georg Baum
Tue, 26 Apr 2005 23:57:16 -0700
 
Brian Williams wrote:
 
 I put \usepackage{empheq} in the preamble, and created an ERT box
 containing this test code..
  
 \begin{empheq}
 \begin{align}
 
This is wrong.
 
\begin{empheq}{align}
 
works. Read the empheq documentation if you want to know the details.
 

Georg

  -Original Message-
From: Brian Williams   [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 00:42
To:   'lyx-users@lists.lyx.org'
Subject: how to make empheq   work?


  Hi,
   
  I'm a newbie with   Lyx.  I've been trying to get the empheq package to work 
but   can't.
   
  I put   \usepackage{empheq} in the preamble, and created an ERT box 
containing   this test code..
   
  \begin{empheq}
  \begin{align}
  E=mc^2   \\
  Y=   \sum_{n=1}^\infty \frac{1}{n^2}
  \end{align}
  \end{empheq}
   
  It generated a   host of errors starting with this:
  LaTeX Error:   \begin{empheq} on input line 25 ended by   \end{align}.
 \end{align}
  
Your command was ignored.
Type  I command   return  to replace it with another command,
orreturn  to continue without it.
   
  Any   ideas?
   
  Many   thanks
   
  Brian   Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Many thanks Georg!  
 
I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?
 
Thanks again,
 
Brian

Georg Baum [EMAIL PROTECTED] wrote:
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
 
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
 
 and Lyx gives me this error:
 
 Undefined control sequence.
 \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Of course, the only reason why I need this is because I don't know how to make 
lyx align a system of equations (4 cols) with the operators and equals signs 
lined up and a big brace to the left. All the align environments that I've 
found in Lyx are limited to 2 or 3. Am I missing something?
 
Thanks,
 
Brian

Brian Williams [EMAIL PROTECTED] wrote:
Many thanks Georg! 

I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?

Thanks again,

Brian

Georg Baum wrote:
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
 
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
 
 and Lyx gives me this error:
 
 Undefined control sequence.
 \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 
Send instant messages to your online friends http://uk.messenger.yahoo.com 

how to make empheq work?

2005-04-27 Thread Brian Williams
Hi,
 
I'm a newbie with Lyx.  I've been trying to get the empheq package to work but 
can't.
 
I put \usepackage{empheq} in the preamble, and created an ERT box containing 
this test code..
 
\begin{empheq}
\begin{align}
E&=mc^2 \\
Y&= \sum_{n=1}^\infty \frac{1}{n^2}
\end{align}
\end{empheq}
 
It generated a host of errors starting with this:
LaTeX Error: \begin{empheq} on input line 25 ended by \end{align}.
 \end{align}

Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.
 
Any ideas?
 
Many thanks
 
Brian Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Thanks Georg, but still no luck.
 
I've renamed the subject, because it may just be a problem with LyX.
 
I went the document "The empheq package*" by Morten Høgholm 2004/10/10
and cut and paste this sample into an ERT box
 
\begin{empheq}{align*}
a&=b \tag{*}\\
E&=mc^2 + \int_a^a x\, dx
\end{empheq}
 
and Lyx gives me this error:
 
"Undefined control sequence.
 \end{empheq}
 
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined."
 
I don't get it! Any further help gratefully received....
 
Thanks,
Brian Williams
 
---
Re: how to make empheq work?
Georg Baum
Tue, 26 Apr 2005 23:57:16 -0700
 
Brian Williams wrote:
 
> I put \usepackage{empheq} in the preamble, and created an ERT box
> containing this test code..
>  
> \begin{empheq}
> \begin{align}
 
This is wrong.
 
\begin{empheq}{align}
 
works. Read the empheq documentation if you want to know the details.
 

Georg

  -Original Message-
From: Brian Williams   [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 00:42
To:   'lyx-users@lists.lyx.org'
Subject: how to make empheq   work?


  Hi,
   
  I'm a newbie with   Lyx.  I've been trying to get the empheq package to work 
but   can't.
   
  I put   \usepackage{empheq} in the preamble, and created an ERT box 
containing   this test code..
   
  \begin{empheq}
  \begin{align}
  E&=mc^2   \\
  Y&=   \sum_{n=1}^\infty \frac{1}{n^2}
  \end{align}
  \end{empheq}
   
  It generated a   host of errors starting with this:
  LaTeX Error:   \begin{empheq} on input line 25 ended by   \end{align}.
 \end{align}
  
Your command was ignored.
Type  I  to replace it with another command,
or  to continue without it.
   
  Any   ideas?
   
  Many   thanks
   
  Brian   Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Many thanks Georg!  
 
I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?
 
Thanks again,
 
Brian

Georg Baum <[EMAIL PROTECTED]> wrote:
Brian Williams wrote:

> I went the document "The empheq package*" by Morten Høgholm 2004/10/10
> and cut and paste this sample into an ERT box
> 
> \begin{empheq}{align*}
> a&=b \tag{*}\\
> E&=mc^2 + \int_a^a x\, dx
> \end{empheq}
> 
> and Lyx gives me this error:
> 
> "Undefined control sequence.
> \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Of course, the only reason why I need this is because I don't know how to make 
lyx align a system of equations (4 cols) with the operators and equals signs 
lined up and a big brace to the left. All the align environments that I've 
found in Lyx are limited to 2 or 3. Am I missing something?
 
Thanks,
 
Brian

Brian Williams <[EMAIL PROTECTED]> wrote:
Many thanks Georg! 

I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?

Thanks again,

Brian

Georg Baum wrote:
Brian Williams wrote:

> I went the document "The empheq package*" by Morten Høgholm 2004/10/10
> and cut and paste this sample into an ERT box
> 
> \begin{empheq}{align*}
> a&=b \tag{*}\\
> E&=mc^2 + \int_a^a x\, dx
> \end{empheq}
> 
> and Lyx gives me this error:
> 
> "Undefined control sequence.
> \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 
Send instant messages to your online friends http://uk.messenger.yahoo.com