Re: [math] system of equations errors

2009-03-03 Thread Uwe Stöhr

Hicham Mouline schrieb:

I have created a system of equations (the cases environment) with 10 columns 
and 9 rows.

Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this 
error repeated 27 times:


Extra alignment tab has been changed to \cr


Then you have done something wrong when creating the formula. When you send 
a _small_ LyX example file I can have a look


Please see attached .lyx file.


You used more than two columns. This is not allowed for the \cases environment. For your application 
use the method I described in section 18.6 of the Math manual that you find in LyX's Help menu.


There is already a bug report that LyX should not allow to insert more than two 
columns for \cases:
http://bugzilla.lyx.org/show_bug.cgi?id=4141

regards Uwe


Re: [math] system of equations errors

2009-03-03 Thread Uwe Stöhr

Hicham Mouline schrieb:

I have created a system of equations (the cases environment) with 10 columns 
and 9 rows.

Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this 
error repeated 27 times:


Extra alignment tab has been changed to \cr


Then you have done something wrong when creating the formula. When you send 
a _small_ LyX example file I can have a look


Please see attached .lyx file.


You used more than two columns. This is not allowed for the \cases environment. For your application 
use the method I described in section 18.6 of the Math manual that you find in LyX's Help menu.


There is already a bug report that LyX should not allow to insert more than two 
columns for \cases:
http://bugzilla.lyx.org/show_bug.cgi?id=4141

regards Uwe


Re: [math] system of equations errors

2009-03-03 Thread Uwe Stöhr

Hicham Mouline schrieb:

I have created a system of equations (the cases environment) with 10 columns 
and 9 rows.

Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this 
error repeated 27 times:


Extra alignment tab has been changed to \cr


Then you have done something wrong when creating the formula. When you send 
a _small_ LyX example file I can have a look


Please see attached .lyx file.


You used more than two columns. This is not allowed for the \cases environment. For your application 
use the method I described in section 18.6 of the Math manual that you find in LyX's Help menu.


There is already a bug report that LyX should not allow to insert more than two 
columns for \cases:
http://bugzilla.lyx.org/show_bug.cgi?id=4141

regards Uwe


[math] system of equations errors

2009-03-02 Thread Hicham Mouline
Hello,
Lyx 1.6.1 built Sat Dec13 2008
win XP SP3

I have created a system of equations (the cases environment) with 10 columns 
and 
9 rows.
Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this error 
repeated 27 times:

Extra alignment tab has been changed to \cr

The description of 1 of those errors is:


 V_{0}^{N-1} 
 =  bc\end{cases}\]
You have given more \span or  marks than there were
in the preamble to the \halign or \valign now in progress.
So I'll assume that you meant to type \cr instead.


After this, a DVI of PDF viewer fails to appear. In other cases, it works.

regards,
---BeginMessage---
Hello,
Lyx 1.6.1 built Sat Dec13 2008
win XP SP3

I have created a system of equations (the cases environment) with 10 columns 
and 9 rows.
Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this error 
repeated 27 times:

Extra alignment tab has been changed to \cr

The description of 1 of those errors is:


 V_{0}^{N-1} 
=  bc\end{cases}\]
You have given more \span or  marks than there were
in the preamble to the \halign or \valign now in progress.
So I'll assume that you meant to type \cr instead.


After this, a DVI of PDF viewer fails to appear. In other cases, it works.

regards,

---End Message---


Re: [math] system of equations errors

2009-03-02 Thread Uwe Stöhr

Hicham Mouline schrieb:

I have created a system of equations (the cases environment) with 10 columns and 
9 rows.

Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this error 
repeated 27 times:


Extra alignment tab has been changed to \cr


Then you have done something wrong when creating the formula. When you send a _small_ LyX example 
file I can have a look.


regards Uwe


[math] system of equations errors

2009-03-02 Thread Hicham Mouline
Hello,
Lyx 1.6.1 built Sat Dec13 2008
win XP SP3

I have created a system of equations (the cases environment) with 10 columns 
and 
9 rows.
Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this error 
repeated 27 times:

Extra alignment tab has been changed to \cr

The description of 1 of those errors is:


 V_{0}^{N-1} 
 =  bc\end{cases}\]
You have given more \span or  marks than there were
in the preamble to the \halign or \valign now in progress.
So I'll assume that you meant to type \cr instead.


After this, a DVI of PDF viewer fails to appear. In other cases, it works.

regards,
---BeginMessage---
Hello,
Lyx 1.6.1 built Sat Dec13 2008
win XP SP3

I have created a system of equations (the cases environment) with 10 columns 
and 9 rows.
Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this error 
repeated 27 times:

Extra alignment tab has been changed to \cr

The description of 1 of those errors is:


 V_{0}^{N-1} 
=  bc\end{cases}\]
You have given more \span or  marks than there were
in the preamble to the \halign or \valign now in progress.
So I'll assume that you meant to type \cr instead.


After this, a DVI of PDF viewer fails to appear. In other cases, it works.

regards,

---End Message---


Re: [math] system of equations errors

2009-03-02 Thread Uwe Stöhr

Hicham Mouline schrieb:

I have created a system of equations (the cases environment) with 10 columns and 
9 rows.

Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this error 
repeated 27 times:


Extra alignment tab has been changed to \cr


Then you have done something wrong when creating the formula. When you send a _small_ LyX example 
file I can have a look.


regards Uwe


[math] system of equations errors

2009-03-02 Thread Hicham Mouline
Hello,
Lyx 1.6.1 built Sat Dec13 2008
win XP SP3

I have created a system of equations (the cases environment) with 10 columns 
and 
9 rows.
Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this error 
repeated 27 times:

Extra alignment tab has been changed to \cr

The description of 1 of those errors is:


&  &  &  &  &  &  & V_{0}^{N-1} &
 = & bc\end{cases}\]
You have given more \span or & marks than there were
in the preamble to the \halign or \valign now in progress.
So I'll assume that you meant to type \cr instead.


After this, a DVI of PDF viewer fails to appear. In other cases, it works.

regards,
--- Begin Message ---
Hello,
Lyx 1.6.1 built Sat Dec13 2008
win XP SP3

I have created a system of equations (the cases environment) with 10 columns 
and 9 rows.
Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this error 
repeated 27 times:

Extra alignment tab has been changed to \cr

The description of 1 of those errors is:


&  &  &  &  &  &  & V_{0}^{N-1} &
= & bc\end{cases}\]
You have given more \span or & marks than there were
in the preamble to the \halign or \valign now in progress.
So I'll assume that you meant to type \cr instead.


After this, a DVI of PDF viewer fails to appear. In other cases, it works.

regards,

--- End Message ---


Re: [math] system of equations errors

2009-03-02 Thread Uwe Stöhr

Hicham Mouline schrieb:

I have created a system of equations (the cases environment) with 10 columns and 
9 rows.

Many of the cells are empty.
After saving the .lyx, and on clicking on the dvi or pdf icon, I get this error 
repeated 27 times:


Extra alignment tab has been changed to \cr


Then you have done something wrong when creating the formula. When you send a _small_ LyX example 
file I can have a look.


regards Uwe


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sat, Jan 31, 2009 at 9:20 PM, Murray Eisenberg mur...@math.umass.edu wrote:
 When I viewed the dvi file, the size of the equivalence sign looked just
 right.

 Paul Smith wrote:

 Dear All,

 I am trying to insert a system of equation in a LyX document. I am
 using the cases environment, but, as you can see from the attached
 example, the space between the first system of equations and the
 equivalence symbol is too large and not symmetric regarding the
 distance between the equivalence symbol and the second system of
 equations. Any ideas about how to improve this?

Thanks, Murray. Unfortunately, here, even on the dvi file, the
equivalence symbol looks closer to the second system of equations than
to the first one.

Paul


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sat, Jan 31, 2009 at 9:00 PM, James C. Sutherland
james.sutherl...@utah.edu wrote:
 I am trying to insert a system of equation in a LyX document. I am
 using the cases environment, but, as you can see from the attached
 example, the space between the first system of equations and the
 equivalence symbol is too large and not symmetric regarding the
 distance between the equivalence symbol and the second system of
 equations. Any ideas about how to improve this?

 Try using a { delimiter (in LaTeX: \left{ \right. ) along with an array
 to
 accomplish this.  See attached.

 Thanks, James, but you solution stills contains asymmetric distances
 between each system and the equivalence symbol. Can it be still
 improved?

 You could insert a \, (small space) after the arrow.  See attached.

With the array environment, there is not enough vertical space between
the two equations. Please, see the attached example.

Paul


example_system_equations.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sat, Jan 31, 2009 at 6:45 PM, Uwe Stöhr uwesto...@web.de wrote:
 Thanks, James, but you solution stills contains asymmetric distances
 between each system and the equivalence symbol. Can it be still
 improved?

 You haven't filled the second column of the cases environment. Without this
 column, the cases environment doesn't make sense in the mathematical sense
 it is designed for.
 Attached is your example file with two possibilities to fix this. Also have
 a look at sec. 3.5 of LyX's Math manual that you find in the Help menu of
 LyX.

Thanks, Uwe. The problem with your examples is the asymmetric spacing
regarding the two sides of the equal symbol. It seems that there is no
perfect solution, I guess.

Paul


Re: Best way to insert system of equations

2009-02-01 Thread Murray Eisenberg
Sorry, I read the original post too quickly. I realize the issue is with 
the space between the equivalence sign and the two sets of equations.


The problem is the use of the cases environment, which is inappropriate. 
A better solution, with the amsmath package loaded, is the LaTeX code:


\begin{equation*}
  \left\{
\begin{aligned}
  x = 1, \\
  y = x+2
\end{aligned}
  \right.
  \Leftrightarrow
  \left\{
\begin{aligned}
  x = 1, \\
  y = 3.
\end{aligned}
  \right.
\end{equation*}

(Sorry, I don't have the original equations at hand.)

I'm just learning LyX, so I'm not sure how much of the preceding can 
readily be done without actually inserting everything directly as LaTeX 
code.


Paul Smith wrote:

On Sat, Jan 31, 2009 at 9:20 PM, Murray Eisenberg mur...@math.umass.edu wrote:

When I viewed the dvi file, the size of the equivalence sign looked just
right.

Paul Smith wrote:

Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?


Thanks, Murray. Unfortunately, here, even on the dvi file, the
equivalence symbol looks closer to the second system of equations than
to the first one.

Paul



--
Murray Eisenberg mur...@math.umass.edu
Mathematics  Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sun, Feb 1, 2009 at 5:25 PM, Murray Eisenberg mur...@math.umass.edu wrote:
 Sorry, I read the original post too quickly. I realize the issue is with the
 space between the equivalence sign and the two sets of equations.

 The problem is the use of the cases environment, which is inappropriate. A
 better solution, with the amsmath package loaded, is the LaTeX code:

 \begin{equation*}
  \left\{
\begin{aligned}
  x = 1, \\
  y = x+2
\end{aligned}
  \right.
  \Leftrightarrow
  \left\{
\begin{aligned}
  x = 1, \\
  y = 3.
\end{aligned}
  \right.
 \end{equation*}

 (Sorry, I don't have the original equations at hand.)

 I'm just learning LyX, so I'm not sure how much of the preceding can readily
 be done without actually inserting everything directly as LaTeX code.

Thanks, Murray. Inspired by your example, I created a LyX example that
actually works. The procedure is the following:

1. CONTROL + SHIFT + M;
2. Insert -- Math -- Delimiters;
3. Insert the unmatched bracket;
4. Insert --  Math -- Aligned environment;
5. Insert the equations;
6. Insert the equivalence symbol;
7. Insert the second system of equations.

An example file is attached.

Paul


example2.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-02-01 Thread Uwe Stöhr

Paul Smith schrieb:


Thanks, Uwe. The problem with your examples is the asymmetric spacing
regarding the two sides of the equal symbol. It seems that there is no
perfect solution, I guess.


You haven't understood me correctly. The problem is, that your cases environment makes logically no 
sense.


The syntax is:

  / 0 (for) x = 0
sin(x) = 
  \ 1 (for) x = Pi/2

Therefore cases has two columns, one for the result, one for the case. The word for is usually 
omitted. In the second column, the = sign gets balanced as expected.


What you wrote is:

  / x = 0
sin(x) = 
  \ x = Pi/2

This doesn't make sense.

regards Uwe


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sat, Jan 31, 2009 at 9:20 PM, Murray Eisenberg mur...@math.umass.edu wrote:
 When I viewed the dvi file, the size of the equivalence sign looked just
 right.

 Paul Smith wrote:

 Dear All,

 I am trying to insert a system of equation in a LyX document. I am
 using the cases environment, but, as you can see from the attached
 example, the space between the first system of equations and the
 equivalence symbol is too large and not symmetric regarding the
 distance between the equivalence symbol and the second system of
 equations. Any ideas about how to improve this?

Thanks, Murray. Unfortunately, here, even on the dvi file, the
equivalence symbol looks closer to the second system of equations than
to the first one.

Paul


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sat, Jan 31, 2009 at 9:00 PM, James C. Sutherland
james.sutherl...@utah.edu wrote:
 I am trying to insert a system of equation in a LyX document. I am
 using the cases environment, but, as you can see from the attached
 example, the space between the first system of equations and the
 equivalence symbol is too large and not symmetric regarding the
 distance between the equivalence symbol and the second system of
 equations. Any ideas about how to improve this?

 Try using a { delimiter (in LaTeX: \left{ \right. ) along with an array
 to
 accomplish this.  See attached.

 Thanks, James, but you solution stills contains asymmetric distances
 between each system and the equivalence symbol. Can it be still
 improved?

 You could insert a \, (small space) after the arrow.  See attached.

With the array environment, there is not enough vertical space between
the two equations. Please, see the attached example.

Paul


example_system_equations.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sat, Jan 31, 2009 at 6:45 PM, Uwe Stöhr uwesto...@web.de wrote:
 Thanks, James, but you solution stills contains asymmetric distances
 between each system and the equivalence symbol. Can it be still
 improved?

 You haven't filled the second column of the cases environment. Without this
 column, the cases environment doesn't make sense in the mathematical sense
 it is designed for.
 Attached is your example file with two possibilities to fix this. Also have
 a look at sec. 3.5 of LyX's Math manual that you find in the Help menu of
 LyX.

Thanks, Uwe. The problem with your examples is the asymmetric spacing
regarding the two sides of the equal symbol. It seems that there is no
perfect solution, I guess.

Paul


Re: Best way to insert system of equations

2009-02-01 Thread Murray Eisenberg
Sorry, I read the original post too quickly. I realize the issue is with 
the space between the equivalence sign and the two sets of equations.


The problem is the use of the cases environment, which is inappropriate. 
A better solution, with the amsmath package loaded, is the LaTeX code:


\begin{equation*}
  \left\{
\begin{aligned}
  x = 1, \\
  y = x+2
\end{aligned}
  \right.
  \Leftrightarrow
  \left\{
\begin{aligned}
  x = 1, \\
  y = 3.
\end{aligned}
  \right.
\end{equation*}

(Sorry, I don't have the original equations at hand.)

I'm just learning LyX, so I'm not sure how much of the preceding can 
readily be done without actually inserting everything directly as LaTeX 
code.


Paul Smith wrote:

On Sat, Jan 31, 2009 at 9:20 PM, Murray Eisenberg mur...@math.umass.edu wrote:

When I viewed the dvi file, the size of the equivalence sign looked just
right.

Paul Smith wrote:

Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?


Thanks, Murray. Unfortunately, here, even on the dvi file, the
equivalence symbol looks closer to the second system of equations than
to the first one.

Paul



--
Murray Eisenberg mur...@math.umass.edu
Mathematics  Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sun, Feb 1, 2009 at 5:25 PM, Murray Eisenberg mur...@math.umass.edu wrote:
 Sorry, I read the original post too quickly. I realize the issue is with the
 space between the equivalence sign and the two sets of equations.

 The problem is the use of the cases environment, which is inappropriate. A
 better solution, with the amsmath package loaded, is the LaTeX code:

 \begin{equation*}
  \left\{
\begin{aligned}
  x = 1, \\
  y = x+2
\end{aligned}
  \right.
  \Leftrightarrow
  \left\{
\begin{aligned}
  x = 1, \\
  y = 3.
\end{aligned}
  \right.
 \end{equation*}

 (Sorry, I don't have the original equations at hand.)

 I'm just learning LyX, so I'm not sure how much of the preceding can readily
 be done without actually inserting everything directly as LaTeX code.

Thanks, Murray. Inspired by your example, I created a LyX example that
actually works. The procedure is the following:

1. CONTROL + SHIFT + M;
2. Insert -- Math -- Delimiters;
3. Insert the unmatched bracket;
4. Insert --  Math -- Aligned environment;
5. Insert the equations;
6. Insert the equivalence symbol;
7. Insert the second system of equations.

An example file is attached.

Paul


example2.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-02-01 Thread Uwe Stöhr

Paul Smith schrieb:


Thanks, Uwe. The problem with your examples is the asymmetric spacing
regarding the two sides of the equal symbol. It seems that there is no
perfect solution, I guess.


You haven't understood me correctly. The problem is, that your cases environment makes logically no 
sense.


The syntax is:

  / 0 (for) x = 0
sin(x) = 
  \ 1 (for) x = Pi/2

Therefore cases has two columns, one for the result, one for the case. The word for is usually 
omitted. In the second column, the = sign gets balanced as expected.


What you wrote is:

  / x = 0
sin(x) = 
  \ x = Pi/2

This doesn't make sense.

regards Uwe


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sat, Jan 31, 2009 at 9:20 PM, Murray Eisenberg <mur...@math.umass.edu> wrote:
> When I viewed the dvi file, the size of the equivalence sign looked just
> right.
>
> Paul Smith wrote:
>>
>> Dear All,
>>
>> I am trying to insert a system of equation in a LyX document. I am
>> using the cases environment, but, as you can see from the attached
>> example, the space between the first system of equations and the
>> equivalence symbol is too large and not symmetric regarding the
>> distance between the equivalence symbol and the second system of
>> equations. Any ideas about how to improve this?

Thanks, Murray. Unfortunately, here, even on the dvi file, the
equivalence symbol looks closer to the second system of equations than
to the first one.

Paul


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sat, Jan 31, 2009 at 9:00 PM, James C. Sutherland
<james.sutherl...@utah.edu> wrote:
>>>> I am trying to insert a system of equation in a LyX document. I am
>>>> using the cases environment, but, as you can see from the attached
>>>> example, the space between the first system of equations and the
>>>> equivalence symbol is too large and not symmetric regarding the
>>>> distance between the equivalence symbol and the second system of
>>>> equations. Any ideas about how to improve this?
>>>
>>> Try using a { delimiter (in LaTeX: \left{ \right. ) along with an array
>>> to
>>> accomplish this.  See attached.
>>
>> Thanks, James, but you solution stills contains asymmetric distances
>> between each system and the equivalence symbol. Can it be still
>> improved?
>>
> You could insert a \, (small space) after the arrow.  See attached.

With the array environment, there is not enough vertical space between
the two equations. Please, see the attached example.

Paul


example_system_equations.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sat, Jan 31, 2009 at 6:45 PM, Uwe Stöhr  wrote:
>> Thanks, James, but you solution stills contains asymmetric distances
>> between each system and the equivalence symbol. Can it be still
>> improved?
>
> You haven't filled the second column of the cases environment. Without this
> column, the cases environment doesn't make sense in the mathematical sense
> it is designed for.
> Attached is your example file with two possibilities to fix this. Also have
> a look at sec. 3.5 of LyX's Math manual that you find in the Help menu of
> LyX.

Thanks, Uwe. The problem with your examples is the asymmetric spacing
regarding the two sides of the equal symbol. It seems that there is no
perfect solution, I guess.

Paul


Re: Best way to insert system of equations

2009-02-01 Thread Murray Eisenberg
Sorry, I read the original post too quickly. I realize the issue is with 
the space between the equivalence sign and the two sets of equations.


The problem is the use of the cases environment, which is inappropriate. 
A better solution, with the amsmath package loaded, is the LaTeX code:


\begin{equation*}
  \left\{
\begin{aligned}
  x &= 1, \\
  y &= x+2
\end{aligned}
  \right.
  \Leftrightarrow
  \left\{
\begin{aligned}
  x &= 1, \\
  y &= 3.
\end{aligned}
  \right.
\end{equation*}

(Sorry, I don't have the original equations at hand.)

I'm just learning LyX, so I'm not sure how much of the preceding can 
readily be done without actually inserting everything directly as LaTeX 
code.


Paul Smith wrote:

On Sat, Jan 31, 2009 at 9:20 PM, Murray Eisenberg <mur...@math.umass.edu> wrote:

When I viewed the dvi file, the size of the equivalence sign looked just
right.

Paul Smith wrote:

Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?


Thanks, Murray. Unfortunately, here, even on the dvi file, the
equivalence symbol looks closer to the second system of equations than
to the first one.

Paul



--
Murray Eisenberg mur...@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Re: Best way to insert system of equations

2009-02-01 Thread Paul Smith
On Sun, Feb 1, 2009 at 5:25 PM, Murray Eisenberg <mur...@math.umass.edu> wrote:
> Sorry, I read the original post too quickly. I realize the issue is with the
> space between the equivalence sign and the two sets of equations.
>
> The problem is the use of the cases environment, which is inappropriate. A
> better solution, with the amsmath package loaded, is the LaTeX code:
>
> \begin{equation*}
>  \left\{
>\begin{aligned}
>  x &= 1, \\
>  y &= x+2
>\end{aligned}
>  \right.
>  \Leftrightarrow
>  \left\{
>\begin{aligned}
>  x &= 1, \\
>  y &= 3.
>\end{aligned}
>  \right.
> \end{equation*}
>
> (Sorry, I don't have the original equations at hand.)
>
> I'm just learning LyX, so I'm not sure how much of the preceding can readily
> be done without actually inserting everything directly as LaTeX code.

Thanks, Murray. Inspired by your example, I created a LyX example that
actually works. The procedure is the following:

1. CONTROL + SHIFT + M;
2. Insert --> Math --> Delimiters;
3. Insert the unmatched bracket;
4. Insert -- > Math --> Aligned environment;
5. Insert the equations;
6. Insert the equivalence symbol;
7. Insert the second system of equations.

An example file is attached.

Paul


example2.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-02-01 Thread Uwe Stöhr

Paul Smith schrieb:


Thanks, Uwe. The problem with your examples is the asymmetric spacing
regarding the two sides of the equal symbol. It seems that there is no
perfect solution, I guess.


You haven't understood me correctly. The problem is, that your cases environment makes logically no 
sense.


The syntax is:

  / 0 (for) x = 0
sin(x) = <
  \ 1 (for) x = Pi/2

Therefore cases has two columns, one for the result, one for the case. The word "for" is usually 
omitted. In the second column, the "=" sign gets balanced as expected.


What you wrote is:

  / x = 0
sin(x) = <
  \ x = Pi/2

This doesn't make sense.

regards Uwe


Best way to insert system of equations

2009-01-31 Thread Paul Smith
Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?

Thanks in advance,

Paul


example_system_equations.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-01-31 Thread James C. Sutherland


On Jan 31, 2009, at 10:43 AM, Paul Smith wrote:


Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?


Try using a { delimiter (in LaTeX: \left{ \right. ) along with an  
array to accomplish this.  See attached.

example_system_equations.lyx
Description: Binary data


Re: Best way to insert system of equations

2009-01-31 Thread Paul Smith
On Sat, Jan 31, 2009 at 5:50 PM, James C. Sutherland
james.sutherl...@utah.edu wrote:
 I am trying to insert a system of equation in a LyX document. I am
 using the cases environment, but, as you can see from the attached
 example, the space between the first system of equations and the
 equivalence symbol is too large and not symmetric regarding the
 distance between the equivalence symbol and the second system of
 equations. Any ideas about how to improve this?

 Try using a { delimiter (in LaTeX: \left{ \right. ) along with an array to
 accomplish this.  See attached.

Thanks, James, but you solution stills contains asymmetric distances
between each system and the equivalence symbol. Can it be still
improved?

Paul


Re: Best way to insert system of equations

2009-01-31 Thread Uwe Stöhr

Paul Smith schrieb:


Thanks, James, but you solution stills contains asymmetric distances
between each system and the equivalence symbol. Can it be still
improved?


You haven't filled the second column of the cases environment. Without this column, the cases 
environment doesn't make sense in the mathematical sense it is designed for.
Attached is your example file with two possibilities to fix this. Also have a look at sec. 3.5 of 
LyX's Math manual that you find in the Help menu of LyX.


regards Uwe


example_system_equations.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-01-31 Thread James C. Sutherland


On Jan 31, 2009, at 11:12 AM, Paul Smith wrote:


On Sat, Jan 31, 2009 at 5:50 PM, James C. Sutherland
james.sutherl...@utah.edu wrote:

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?


Try using a { delimiter (in LaTeX: \left{ \right. ) along with an  
array to

accomplish this.  See attached.


Thanks, James, but you solution stills contains asymmetric distances
between each system and the equivalence symbol. Can it be still
improved?


You could insert a \, (small space) after the arrow.  See attached.


example_system_equations.lyx
Description: Binary data


Re: Best way to insert system of equations

2009-01-31 Thread Murray Eisenberg
When I viewed the dvi file, the size of the equivalence sign looked just 
right.


Paul Smith wrote:

Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?

Thanks in advance,

Paul


--
Murray Eisenberg mur...@math.umass.edu
Mathematics  Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Best way to insert system of equations

2009-01-31 Thread Paul Smith
Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?

Thanks in advance,

Paul


example_system_equations.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-01-31 Thread James C. Sutherland


On Jan 31, 2009, at 10:43 AM, Paul Smith wrote:


Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?


Try using a { delimiter (in LaTeX: \left{ \right. ) along with an  
array to accomplish this.  See attached.

example_system_equations.lyx
Description: Binary data


Re: Best way to insert system of equations

2009-01-31 Thread Paul Smith
On Sat, Jan 31, 2009 at 5:50 PM, James C. Sutherland
james.sutherl...@utah.edu wrote:
 I am trying to insert a system of equation in a LyX document. I am
 using the cases environment, but, as you can see from the attached
 example, the space between the first system of equations and the
 equivalence symbol is too large and not symmetric regarding the
 distance between the equivalence symbol and the second system of
 equations. Any ideas about how to improve this?

 Try using a { delimiter (in LaTeX: \left{ \right. ) along with an array to
 accomplish this.  See attached.

Thanks, James, but you solution stills contains asymmetric distances
between each system and the equivalence symbol. Can it be still
improved?

Paul


Re: Best way to insert system of equations

2009-01-31 Thread Uwe Stöhr

Paul Smith schrieb:


Thanks, James, but you solution stills contains asymmetric distances
between each system and the equivalence symbol. Can it be still
improved?


You haven't filled the second column of the cases environment. Without this column, the cases 
environment doesn't make sense in the mathematical sense it is designed for.
Attached is your example file with two possibilities to fix this. Also have a look at sec. 3.5 of 
LyX's Math manual that you find in the Help menu of LyX.


regards Uwe


example_system_equations.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-01-31 Thread James C. Sutherland


On Jan 31, 2009, at 11:12 AM, Paul Smith wrote:


On Sat, Jan 31, 2009 at 5:50 PM, James C. Sutherland
james.sutherl...@utah.edu wrote:

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?


Try using a { delimiter (in LaTeX: \left{ \right. ) along with an  
array to

accomplish this.  See attached.


Thanks, James, but you solution stills contains asymmetric distances
between each system and the equivalence symbol. Can it be still
improved?


You could insert a \, (small space) after the arrow.  See attached.


example_system_equations.lyx
Description: Binary data


Re: Best way to insert system of equations

2009-01-31 Thread Murray Eisenberg
When I viewed the dvi file, the size of the equivalence sign looked just 
right.


Paul Smith wrote:

Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?

Thanks in advance,

Paul


--
Murray Eisenberg mur...@math.umass.edu
Mathematics  Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Best way to insert system of equations

2009-01-31 Thread Paul Smith
Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?

Thanks in advance,

Paul


example_system_equations.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-01-31 Thread James C. Sutherland


On Jan 31, 2009, at 10:43 AM, Paul Smith wrote:


Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?


Try using a { delimiter (in LaTeX: \left{ \right. ) along with an  
array to accomplish this.  See attached.

example_system_equations.lyx
Description: Binary data


Re: Best way to insert system of equations

2009-01-31 Thread Paul Smith
On Sat, Jan 31, 2009 at 5:50 PM, James C. Sutherland
<james.sutherl...@utah.edu> wrote:
>> I am trying to insert a system of equation in a LyX document. I am
>> using the cases environment, but, as you can see from the attached
>> example, the space between the first system of equations and the
>> equivalence symbol is too large and not symmetric regarding the
>> distance between the equivalence symbol and the second system of
>> equations. Any ideas about how to improve this?
>
> Try using a { delimiter (in LaTeX: \left{ \right. ) along with an array to
> accomplish this.  See attached.

Thanks, James, but you solution stills contains asymmetric distances
between each system and the equivalence symbol. Can it be still
improved?

Paul


Re: Best way to insert system of equations

2009-01-31 Thread Uwe Stöhr

Paul Smith schrieb:


Thanks, James, but you solution stills contains asymmetric distances
between each system and the equivalence symbol. Can it be still
improved?


You haven't filled the second column of the cases environment. Without this column, the cases 
environment doesn't make sense in the mathematical sense it is designed for.
Attached is your example file with two possibilities to fix this. Also have a look at sec. 3.5 of 
LyX's Math manual that you find in the Help menu of LyX.


regards Uwe


example_system_equations.lyx
Description: application/lyx


Re: Best way to insert system of equations

2009-01-31 Thread James C. Sutherland


On Jan 31, 2009, at 11:12 AM, Paul Smith wrote:


On Sat, Jan 31, 2009 at 5:50 PM, James C. Sutherland
<james.sutherl...@utah.edu> wrote:

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?


Try using a { delimiter (in LaTeX: \left{ \right. ) along with an  
array to

accomplish this.  See attached.


Thanks, James, but you solution stills contains asymmetric distances
between each system and the equivalence symbol. Can it be still
improved?


You could insert a \, (small space) after the arrow.  See attached.


example_system_equations.lyx
Description: Binary data


Re: Best way to insert system of equations

2009-01-31 Thread Murray Eisenberg
When I viewed the dvi file, the size of the equivalence sign looked just 
right.


Paul Smith wrote:

Dear All,

I am trying to insert a system of equation in a LyX document. I am
using the cases environment, but, as you can see from the attached
example, the space between the first system of equations and the
equivalence symbol is too large and not symmetric regarding the
distance between the equivalence symbol and the second system of
equations. Any ideas about how to improve this?

Thanks in advance,

Paul


--
Murray Eisenberg mur...@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


[Fwd: system of equations]

2006-04-06 Thread Ekkehart Schlicht




Hi Nick,

maybe write it down by hand, scan it and attach it as a png to the post.
It is very difficult for me to figure out what you want!

Ekkehart



[Fwd: system of equations]

2006-04-06 Thread Ekkehart Schlicht




Hi Nick,

maybe write it down by hand, scan it and attach it as a png to the post.
It is very difficult for me to figure out what you want!

Ekkehart



[Fwd: system of equations]

2006-04-06 Thread Ekkehart Schlicht




Hi Nick,

maybe write it down by hand, scan it and attach it as a png to the post.
It is very difficult for me to figure out what you want!

Ekkehart



system of equations

2006-04-05 Thread Nick Kuzmik

Is there anyway to do systems of equations in lyx, such that there is a 
curly brace on the left side, nothing on the right side, 2 or more 
equation matrices inside the brace, and here's the tricky part, the 
equations  are all counted as part of the total equation tally. 
 

Nick Kuzmik
(845) 406-5115
AIM NKUZMIK

-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

system of equations

2006-04-05 Thread Nick Kuzmik

Is there anyway to do systems of equations in lyx, such that there is a 
curly brace on the left side, nothing on the right side, 2 or more 
equation matrices inside the brace, and here's the tricky part, the 
equations  are all counted as part of the total equation tally. 
 

Nick Kuzmik
(845) 406-5115
AIM NKUZMIK

-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

system of equations

2006-04-05 Thread Nick Kuzmik

Is there anyway to do systems of equations in lyx, such that there is a 
curly brace on the left side, nothing on the right side, 2 or more 
equation matrices inside the brace, and here's the tricky part, the 
equations  are all counted as part of the total equation tally. 
 

Nick Kuzmik
(845) 406-5115
AIM NKUZMIK

-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Box around system of equations.

2005-09-02 Thread Rudi Gaelzer
Has anyone managed to get a box wrapped around a system of equations or a 
multiline equation?

The usual LaTeX and AMSTex commands, \fbox and \boxed only work for 
single-lined equations like \begin{displaymath} of \begin{equation}.

On the other hand, the empheq package is able to render very exquisite boxes, 
but the syntax seems to be incompatible with LyX.  For instance, to generate 
a box around a system of equations I have to use the empheq environment, 
which invokes the AMS mathematical environments, as in the example below:

\begin{empheq}[box=\fbox]{align*}
a = b \\
b = c
\end{enpheq}

Lyx does not seem to offer any standard way to do this and even inside an ugly 
ERT box it's not trivial to use the empheq package...
-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
Fone: (53) 3275-7468
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Box around system of equations.

2005-09-02 Thread Rudi Gaelzer
Has anyone managed to get a box wrapped around a system of equations or a 
multiline equation?

The usual LaTeX and AMSTex commands, \fbox and \boxed only work for 
single-lined equations like \begin{displaymath} of \begin{equation}.

On the other hand, the empheq package is able to render very exquisite boxes, 
but the syntax seems to be incompatible with LyX.  For instance, to generate 
a box around a system of equations I have to use the empheq environment, 
which invokes the AMS mathematical environments, as in the example below:

\begin{empheq}[box=\fbox]{align*}
a = b \\
b = c
\end{enpheq}

Lyx does not seem to offer any standard way to do this and even inside an ugly 
ERT box it's not trivial to use the empheq package...
-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
Fone: (53) 3275-7468
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Box around system of equations.

2005-09-02 Thread Rudi Gaelzer
Has anyone managed to get a box wrapped around a system of equations or a 
multiline equation?

The usual LaTeX and AMSTex commands, \fbox and \boxed only work for 
single-lined equations like \begin{displaymath} of \begin{equation}.

On the other hand, the empheq package is able to render very exquisite boxes, 
but the syntax seems to be incompatible with LyX.  For instance, to generate 
a box around a system of equations I have to use the empheq environment, 
which invokes the AMS mathematical environments, as in the example below:

\begin{empheq}[box=\fbox]{align*}
a &= b \\
b &= c
\end{enpheq}

Lyx does not seem to offer any standard way to do this and even inside an ugly 
ERT box it's not trivial to use the empheq package...
-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
Fone: (53) 3275-7468
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Re: System Of Equations

2004-08-27 Thread Eric Delevaux
On Thu, 26 Aug 2004 22:55:17 -0300
Carlos Fernando Knauer [EMAIL PROTECTED] wrote:

 Hi.
 How do I write a system of Equations in LyX ?
 For example:
 
   x+y=2
   x-y=0
 
 With one { in front of both equations ?
 
 Thanks,

Hi
See the user's guide, 5.3
Eric

 -- 
 Carlos Fernando Knauer - [EMAIL PROTECTED]
 ICQ: 2365669
 http://counter.li.org
 Linux User # 282221
 
 


Re: System Of Equations

2004-08-27 Thread Uwe Sthr
Carlos Fernando Knauer wrote:
How do I write a system of Equations in LyX ?
For example:
  x+y=2
  x-y=0
With one { in front of both equations ?
type in a math box \cases and you'll get a { with two blue boxes behind 
it. Now increase the row number by C-Enter or M-m c i or by the LyX-menu 
Edit-Math.

Normal equations are produced as follows:
- press C-Enter in a formula
- set the cursor at the end of the formula and press C-Enter again.
To change formula types or the row/column number use the menu Edit-Math.
regards Uwe
p.s. you should read chap. 5 of the userguide


Re: System Of Equations

2004-08-27 Thread Eric Delevaux
On Thu, 26 Aug 2004 22:55:17 -0300
Carlos Fernando Knauer [EMAIL PROTECTED] wrote:

 Hi.
 How do I write a system of Equations in LyX ?
 For example:
 
   x+y=2
   x-y=0
 
 With one { in front of both equations ?
 
 Thanks,

Hi
See the user's guide, 5.3
Eric

 -- 
 Carlos Fernando Knauer - [EMAIL PROTECTED]
 ICQ: 2365669
 http://counter.li.org
 Linux User # 282221
 
 


Re: System Of Equations

2004-08-27 Thread Uwe Sthr
Carlos Fernando Knauer wrote:
How do I write a system of Equations in LyX ?
For example:
  x+y=2
  x-y=0
With one { in front of both equations ?
type in a math box \cases and you'll get a { with two blue boxes behind 
it. Now increase the row number by C-Enter or M-m c i or by the LyX-menu 
Edit-Math.

Normal equations are produced as follows:
- press C-Enter in a formula
- set the cursor at the end of the formula and press C-Enter again.
To change formula types or the row/column number use the menu Edit-Math.
regards Uwe
p.s. you should read chap. 5 of the userguide


Re: System Of Equations

2004-08-27 Thread Eric Delevaux
On Thu, 26 Aug 2004 22:55:17 -0300
Carlos Fernando Knauer <[EMAIL PROTECTED]> wrote:

> Hi.
> How do I write a system of Equations in LyX ?
> For example:
> 
>   x+y=2
>   x-y=0
> 
> With one "{" in front of both equations ?
> 
> Thanks,

Hi
See the user's guide, 5.3
Eric

> -- 
> Carlos Fernando Knauer - [EMAIL PROTECTED]
> ICQ: 2365669
> http://counter.li.org
> Linux User # 282221
> 
> 


Re: System Of Equations

2004-08-27 Thread Uwe Stöhr
Carlos Fernando Knauer wrote:
How do I write a system of Equations in LyX ?
For example:
  x+y=2
  x-y=0
With one "{" in front of both equations ?
type in a math box \cases and you'll get a { with two blue boxes behind 
it. Now increase the row number by C-Enter or M-m c i or by the LyX-menu 
Edit->Math.

Normal equations are produced as follows:
- press C-Enter in a formula
- set the cursor at the end of the formula and press C-Enter again.
To change formula types or the row/column number use the menu Edit->Math.
regards Uwe
p.s. you should read chap. 5 of the userguide


System Of Equations

2004-08-26 Thread Carlos Fernando Knauer
Hi.
How do I write a system of Equations in LyX ?
For example:

  x+y=2
  x-y=0

With one { in front of both equations ?

Thanks,
-- 
Carlos Fernando Knauer - [EMAIL PROTECTED]
ICQ: 2365669
http://counter.li.org
Linux User # 282221




System Of Equations

2004-08-26 Thread Carlos Fernando Knauer
Hi.
How do I write a system of Equations in LyX ?
For example:

  x+y=2
  x-y=0

With one { in front of both equations ?

Thanks,
-- 
Carlos Fernando Knauer - [EMAIL PROTECTED]
ICQ: 2365669
http://counter.li.org
Linux User # 282221




System Of Equations

2004-08-26 Thread Carlos Fernando Knauer
Hi.
How do I write a system of Equations in LyX ?
For example:

  x+y=2
  x-y=0

With one "{" in front of both equations ?

Thanks,
-- 
Carlos Fernando Knauer - [EMAIL PROTECTED]
ICQ: 2365669
http://counter.li.org
Linux User # 282221