Re: Equation Array

2009-09-02 Thread Ignacio García
Julio Rojas jcredbe...@... writes: Dear all, is there a way to individually label some equations of an equation array? Or some rows from an array? - Julio Rojas jcredbe...@... Please have a look at HelpMath (or Ecuaciones) where you can

Re: Equation Array

2009-09-02 Thread Julio Rojas
Thanks, I've already done that, but no option seems to be of help. I'm trying to put an integer programing model and every restriction should be numbered and aligned like: Maximize Z (1) Subject to: Z=sum(Xi) (2)

Re: Equation Array

2009-09-02 Thread Paul A. Rubin
Julio Rojas wrote: Thanks, I've already done that, but no option seems to be of help. I'm trying to put an integer programing model and every restriction should be numbered and aligned like: Maximize Z (1) Subject to: Z=sum(Xi)

Re: Equation Array

2009-09-02 Thread Julio Rojas
Thanks Paul, I've tried it but the first column is right aligned and the third is left aligned. I'm kind of new on the subject and the references I have from a friend make them left and right aligned, respectively. Is there an standard way of aligning them?

Re: Equation Array

2009-09-02 Thread Paul A. Rubin
Julio, Julio Rojas wrote: Thanks Paul, I've tried it but the first column is right aligned and the third is left aligned. In the alignat* example? Shouldn't be -- the alignment alternates right-left-right, so the first and third columns should have the same alignment. Note that the first

Re: Equation Array

2009-09-02 Thread Julio Rojas
I made it with eqarray, but it only allows me to have 3 columns. How did you add more columns? I tried using alignat and it works ok, except for the fact that LyX doesn't show proper alignment (only the first column is right aligned, while all of the others are left aligned. Thanks for your

Re: Equation Array

2009-09-02 Thread Paul A. Rubin
Julio Rojas wrote: I made it with eqarray, but it only allows me to have 3 columns. How did you add more columns? Oops -- forgot about that. I'm not very consistent in what I use (I just went back and loaded some old papers to look). Sometimes I use eqnarray (which is locked into three

Re: Equation Array

2009-09-02 Thread Ignacio García
Julio Rojas jcredbe...@... writes: Dear all, is there a way to individually label some equations of an equation array? Or some rows from an array? - Julio Rojas jcredbe...@... Please have a look at HelpMath (or Ecuaciones) where you can

Re: Equation Array

2009-09-02 Thread Julio Rojas
Thanks, I've already done that, but no option seems to be of help. I'm trying to put an integer programing model and every restriction should be numbered and aligned like: Maximize Z (1) Subject to: Z=sum(Xi) (2)

Re: Equation Array

2009-09-02 Thread Paul A. Rubin
Julio Rojas wrote: Thanks, I've already done that, but no option seems to be of help. I'm trying to put an integer programing model and every restriction should be numbered and aligned like: Maximize Z (1) Subject to: Z=sum(Xi)

Re: Equation Array

2009-09-02 Thread Julio Rojas
Thanks Paul, I've tried it but the first column is right aligned and the third is left aligned. I'm kind of new on the subject and the references I have from a friend make them left and right aligned, respectively. Is there an standard way of aligning them?

Re: Equation Array

2009-09-02 Thread Paul A. Rubin
Julio, Julio Rojas wrote: Thanks Paul, I've tried it but the first column is right aligned and the third is left aligned. In the alignat* example? Shouldn't be -- the alignment alternates right-left-right, so the first and third columns should have the same alignment. Note that the first

Re: Equation Array

2009-09-02 Thread Julio Rojas
I made it with eqarray, but it only allows me to have 3 columns. How did you add more columns? I tried using alignat and it works ok, except for the fact that LyX doesn't show proper alignment (only the first column is right aligned, while all of the others are left aligned. Thanks for your

Re: Equation Array

2009-09-02 Thread Paul A. Rubin
Julio Rojas wrote: I made it with eqarray, but it only allows me to have 3 columns. How did you add more columns? Oops -- forgot about that. I'm not very consistent in what I use (I just went back and loaded some old papers to look). Sometimes I use eqnarray (which is locked into three

Re: Equation Array

2009-09-02 Thread Ignacio García
Julio Rojas writes: > > Dear all, is there a way to individually label some equations of an > equation array? Or some rows from an array? > - > Julio Rojas > jcredbe...@... > Please have a look at Help>Math (or Ecuaciones) where

Re: Equation Array

2009-09-02 Thread Julio Rojas
Thanks, I've already done that, but no option seems to be of help. I'm trying to put an integer programing model and every restriction should be numbered and aligned like: Maximize Z (1) Subject to: Z=sum(Xi) (2)

Re: Equation Array

2009-09-02 Thread Paul A. Rubin
Julio Rojas wrote: Thanks, I've already done that, but no option seems to be of help. I'm trying to put an integer programing model and every restriction should be numbered and aligned like: Maximize Z (1) Subject to: Z=sum(Xi)

Re: Equation Array

2009-09-02 Thread Julio Rojas
Thanks Paul, I've tried it but the first column is right aligned and the third is left aligned. I'm kind of new on the subject and the references I have from a friend make them left and right aligned, respectively. Is there an standard way of aligning them?

Re: Equation Array

2009-09-02 Thread Paul A. Rubin
Julio, Julio Rojas wrote: Thanks Paul, I've tried it but the first column is right aligned and the third is left aligned. In the alignat* example? Shouldn't be -- the alignment alternates right-left-right, so the first and third columns should have the same alignment. Note that the first

Re: Equation Array

2009-09-02 Thread Julio Rojas
I made it with eqarray, but it "only" allows me to have 3 columns. How did you add more columns? I tried using alignat and it works ok, except for the fact that LyX doesn't show proper alignment (only the first column is right aligned, while all of the others are left aligned. Thanks for your

Re: Equation Array

2009-09-02 Thread Paul A. Rubin
Julio Rojas wrote: I made it with eqarray, but it "only" allows me to have 3 columns. How did you add more columns? Oops -- forgot about that. I'm not very consistent in what I use (I just went back and loaded some old papers to look). Sometimes I use eqnarray (which is locked into three

Re: Equation array and two column layout

2008-11-25 Thread Vittorio Zuccala'
Hello Julio, i do not know if i've understood your question. Anyway, probably you can be interested one of this... First solution: press CTRL+L entering in ERT mode and then: \begin{eqnarray} d = a + b, if a1 \nonumber \\ = a-b, if a1 \nonumber \\ =0, if a=1 \nonumber \end{eqnarray} Second

Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thank you Vittorio. What I would like with this matrix is that the right column can overfill the left one and viceversa. That way I can have the long equations and the cases in two lines (eq. on the left column, cases on the right column) every other line. d= a+b+c+d+e+f+g if

Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thanks Vittorio, but this solution is not the one I'm looking for. I would like the right column to be right aligned and the left column to be left aligned. When I do that with your solution (changing the rl to lr) this turns our to be the original matrix I started with. As I said, I need the

Re: Equation array and two column layout

2008-11-25 Thread Vittorio Zuccala'
Hello Julio, i do not know if i've understood your question. Anyway, probably you can be interested one of this... First solution: press CTRL+L entering in ERT mode and then: \begin{eqnarray} d = a + b, if a1 \nonumber \\ = a-b, if a1 \nonumber \\ =0, if a=1 \nonumber \end{eqnarray} Second

Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thank you Vittorio. What I would like with this matrix is that the right column can overfill the left one and viceversa. That way I can have the long equations and the cases in two lines (eq. on the left column, cases on the right column) every other line. d= a+b+c+d+e+f+g if

Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thanks Vittorio, but this solution is not the one I'm looking for. I would like the right column to be right aligned and the left column to be left aligned. When I do that with your solution (changing the rl to lr) this turns our to be the original matrix I started with. As I said, I need the

Re: Equation array and two column layout

2008-11-25 Thread Vittorio Zuccala'
Hello Julio, i do not know if i've understood your question. Anyway, probably you can be interested one of this... First solution: press CTRL+L entering in ERT mode and then: \begin{eqnarray} d &=& a + b, if a>1 \nonumber \\ &=& a-b, if a<1 \nonumber \\ &=&0, if a=1 \nonumber \end{eqnarray}

Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thank you Vittorio. What I would like with this matrix is that the right column can overfill the left one and viceversa. That way I can have the long equations and the cases in two lines (eq. on the left column, cases on the right column) every other line. d= a+b+c+d+e+f+g if

Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thanks Vittorio, but this solution is not the one I'm looking for. I would like the right column to be right aligned and the left column to be left aligned. When I do that with your solution (changing the "rl" to "lr") this turns our to be the original matrix I started with. As I said, I need the

Re: equation array and delimiter problem

2001-08-05 Thread Dekel Tsur
On Sat, Aug 04, 2001 at 09:42:54PM +0200, Herbert Voss wrote: Michael Koundouros wrote: equation array was input using the equation array utility (Ctrl-enter) matrix was input using a 2x3 matrix within a delimiter. looking at the ps file you will see the equation in the matrix is

Re: equation array and delimiter problem

2001-08-05 Thread Dekel Tsur
On Sat, Aug 04, 2001 at 09:42:54PM +0200, Herbert Voss wrote: Michael Koundouros wrote: equation array was input using the equation array utility (Ctrl-enter) matrix was input using a 2x3 matrix within a delimiter. looking at the ps file you will see the equation in the matrix is

Re: equation array and delimiter problem

2001-08-05 Thread Dekel Tsur
On Sat, Aug 04, 2001 at 09:42:54PM +0200, Herbert Voss wrote: > Michael Koundouros wrote: > > > > "equation array" was input using the equation array utility (Ctrl-enter) > > "matrix" was input using a 2x3 matrix within a delimiter. > > > > looking at the ps file you will see the equation in

Re: equation array and delimiter problem

2001-08-04 Thread Herbert Voss
Michael Koundouros wrote: equation array was input using the equation array utility (Ctrl-enter) matrix was input using a 2x3 matrix within a delimiter. looking at the ps file you will see the equation in the matrix is rather squashed. what I would like is the equation to look like in

Re: equation array and delimiter problem

2001-08-04 Thread Herbert Voss
Michael Koundouros wrote: equation array was input using the equation array utility (Ctrl-enter) matrix was input using a 2x3 matrix within a delimiter. looking at the ps file you will see the equation in the matrix is rather squashed. what I would like is the equation to look like in

Re: equation array and delimiter problem

2001-08-04 Thread Herbert Voss
Michael Koundouros wrote: > > "equation array" was input using the equation array utility (Ctrl-enter) > "matrix" was input using a 2x3 matrix within a delimiter. > > looking at the ps file you will see the equation in the matrix is rather > squashed. what I would like is the equation to look