Re: multiline equations no longer working right either

2001-05-23 Thread Herbert Voss

Andre Poenitz wrote:
 
  (2) Most users just don't know about amsmath and what it does.  For
  example, in normal latex, if you have a numbered equation that is too
  wide, the equation will overwrite the equation number.  However, if you
  include amsmath, the equation number will be moved down.  So it could be
  argued that amsmath should always be included by LyX when you have a
  numbered equation.
 
 Can we assume that anybody (or at least most people) have this ams stuff
 already installed when they use LaTeX or is this some kind of extra package
 left out of major distributions?

remember that there is a button use amsmath in layout-document-extra
;-)
from my point of view this should be important! with this 
option all the ams-mathstuff can be used and otherwise not (if
possible)!


Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: multiline equations no longer working right either

2001-05-23 Thread Andre Poenitz

 remember that there is a button use amsmath in layout-document-extra
 ;-)

To be honest, I have not used anything from the menus except the file
menu since 1.0.4 or so

 from my point of view this should be important! with this option all
 the ams-mathstuff can be used and otherwise not (if possible)!

Ah... so this could be a solution:

If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
(Not that I know where to find this kind of information, but anyway...)

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-23 Thread Lars Gullik Bjønnes

Andre Poenitz [EMAIL PROTECTED] writes:

|  remember that there is a button use amsmath in layout-document-extra
|  ;-)
| 
| To be honest, I have not used anything from the menus except the file
| menu since 1.0.4 or so
| 
|  from my point of view this should be important! with this option all
|  the ams-mathstuff can be used and otherwise not (if possible)!
| 
| Ah... so this could be a solution:
| 
| If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
| (Not that I know where to find this kind of information, but
| anyway...)

I'd rather remove that button, and just require ams for certain
features.

Lgb



Re: multiline equations no longer working right either

2001-05-23 Thread Andre Poenitz

 | If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
 | (Not that I know where to find this kind of information, but
 | anyway...)
 
 I'd rather remove that button, and just require ams for certain
 features.

Ok.. which goes back to the original question: Can we assume that everybody
has ams installed? Well, I have, even if I did not know I had...

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-23 Thread Lars Gullik Bjønnes

Andre Poenitz [EMAIL PROTECTED] writes:

|  | If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
|  | (Not that I know where to find this kind of information, but
|  | anyway...)
|  
|  I'd rather remove that button, and just require ams for certain
|  features.
| 
| Ok.. which goes back to the original question: Can we assume that everybody
| has ams installed? Well, I have, even if I did not know I had...

All modern (last 5 years or so) have ams installed.

-- 
Lgb



Re: multiline equations no longer working right either

2001-05-23 Thread Jean-Marc Lasgouttes

 Andre == Andre Poenitz [EMAIL PROTECTED] writes:

 | If ams is selected, Ctrl-Enter splits into \align, otherwise into
 \eqnarray | (Not that I know where to find this kind of
 information, but | anyway...)
 
 I'd rather remove that button, and just require ams for certain
 features.

Andre Ok.. which goes back to the original question: Can we assume
Andre that everybody has ams installed? Well, I have, even if I did
Andre not know I had...

If you go in the macros/latex/required directory in CTAN ans do a
'dir', you get:

total 20
drwxr-xr-x   8 289  120  512 Aug 31  2000 .
drwxr-xr-x   9 289  120  512 Apr  8  2000 ..
drwxr-xr-x   4 289  120  512 Apr  6  2000 amslatex
drwxr-xr-x   2 289  120 3072 Apr 15 06:52 babel
drwxr-xr-x   2 289  120  512 Aug 31  2000 cyrillic
drwxr-xr-x   2 289  120  512 Aug 31  2000 graphics
drwxr-xr-x   2 289  120 1024 Aug 31  2000 psnfss
drwxr-xr-x   2 289  120 1024 Aug 31  2000 tools

So we can assume all these things are present in a good distribution.

JMarc



Re: multiline equations no longer working right either

2001-05-23 Thread Herbert Voss


On 23 May 2001, Jean-Marc Lasgouttes wrote:

 total 20
 drwxr-xr-x   4 289  120  512 Apr  6  2000 amslatex
 drwxr-xr-x   2 289  120 3072 Apr 15 06:52 babel
 drwxr-xr-x   2 289  120  512 Aug 31  2000 cyrillic
 drwxr-xr-x   2 289  120  512 Aug 31  2000 graphics
 drwxr-xr-x   2 289  120 1024 Aug 31  2000 psnfss
 drwxr-xr-x   2 289  120 1024 Aug 31  2000 tools

 So we can assume all these things are present in a good distribution.

amslatex is not amsmath!
amsmath is in /usr/share/texmf/tex/latex/amsmath/

Herbert




Re: multiline equations no longer working right either

2001-05-23 Thread Jean-Marc Lasgouttes

 Herbert == Herbert Voss [EMAIL PROTECTED] writes:

Herbert amslatex is not amsmath! amsmath is in
Herbert /usr/share/texmf/tex/latex/amsmath/

So, what is in amslatex/math/ on CTAN? I'm not discussing teTeX
hierarchy, but CTAN.

JMarc



Re: multiline equations no longer working right either

2001-05-23 Thread dochawk

Andre admitted,

 I think in the end we can have both, getting eqnarray by  M-m t e  and
 align by M-m t a  ('t' like 'type') with entrys for both in the menus.
 But I don't know anything about the concerned religions so maybe this would
 be Wrong.


I'm an agnostic here, but I just don't see where to put my [in]equality 
type operator without a middle column . . .

:)

hawk


-- 
Prof. Richard E. Hawkins, Esq. /\   ASCII ribbon campaign 
[EMAIL PROTECTED]  Smeal 178  (814) 375-4700 \ /   against HTML mail
These opinions will not be those of Xand postings 
Penn State until it pays my retainer.  / \ 





Re: multiline equations no longer working right either

2001-05-23 Thread Andre Poenitz

 I'm an agnostic here, but I just don't see where to put my [in]equality 
 type operator without a middle column . . .

Looks like it goes to the right column. Which looks ugly if operators in
different lines are of different size as some people pointed out.

On the other hand, if they are of the same size, \align can look nicer due
to the missing extra spacing as other people pointed out.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-23 Thread Dekel Tsur

On Wed, May 23, 2001 at 10:20:42AM +0200, Lars Gullik Bj?nnes wrote:
 Andre Poenitz [EMAIL PROTECTED] writes:
 
 |  | If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
 |  | (Not that I know where to find this kind of information, but
 |  | anyway...)
 |  
 |  I'd rather remove that button, and just require ams for certain
 |  features.
 | 
 | Ok.. which goes back to the original question: Can we assume that everybody
 | has ams installed? Well, I have, even if I did not know I had...
 
 All modern (last 5 years or so) have ams installed.

Yes, but amsmath 1.2 screws the spacing for \ldots.
This was fixed in amsmath 2.0. I don't know how common is amsmath 2.0.




Re: multiline equations no longer working right either

2001-05-23 Thread Herbert Voss

Andre Poenitz wrote:
> 
> > (2) Most users just don't know about amsmath and what it does.  For
> > example, in normal latex, if you have a numbered equation that is too
> > wide, the equation will overwrite the equation number.  However, if you
> > include amsmath, the equation number will be moved down.  So it could be
> > argued that amsmath should always be included by LyX when you have a
> > numbered equation.
> 
> Can we assume that anybody (or at least most people) have this ams stuff
> already installed when they use LaTeX or is this some kind of extra package
> left out of major distributions?

remember that there is a button "use amsmath" in layout->document->extra
;-)
from my point of view this should be important! with this 
option all the ams-mathstuff can be used and otherwise not (if
possible)!


Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: multiline equations no longer working right either

2001-05-23 Thread Andre Poenitz

> remember that there is a button "use amsmath" in layout->document->extra
> ;-)

To be honest, I have not used anything from the menus except the file
menu since 1.0.4 or so

> from my point of view this should be important! with this option all
> the ams-mathstuff can be used and otherwise not (if possible)!

Ah... so this could be a solution:

If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
(Not that I know where to find this kind of information, but anyway...)

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-23 Thread Lars Gullik Bjønnes

Andre Poenitz <[EMAIL PROTECTED]> writes:

| > remember that there is a button "use amsmath" in layout->document->extra
| > ;-)
| 
| To be honest, I have not used anything from the menus except the file
| menu since 1.0.4 or so
| 
| > from my point of view this should be important! with this option all
| > the ams-mathstuff can be used and otherwise not (if possible)!
| 
| Ah... so this could be a solution:
| 
| If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
| (Not that I know where to find this kind of information, but
| anyway...)

I'd rather remove that button, and just require ams for certain
features.

Lgb



Re: multiline equations no longer working right either

2001-05-23 Thread Andre Poenitz

> | If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
> | (Not that I know where to find this kind of information, but
> | anyway...)
> 
> I'd rather remove that button, and just require ams for certain
> features.

Ok.. which goes back to the original question: Can we assume that everybody
has ams installed? Well, I have, even if I did not know I had...

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-23 Thread Lars Gullik Bjønnes

Andre Poenitz <[EMAIL PROTECTED]> writes:

| > | If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
| > | (Not that I know where to find this kind of information, but
| > | anyway...)
| > 
| > I'd rather remove that button, and just require ams for certain
| > features.
| 
| Ok.. which goes back to the original question: Can we assume that everybody
| has ams installed? Well, I have, even if I did not know I had...

All modern (last 5 years or so) have ams installed.

-- 
Lgb



Re: multiline equations no longer working right either

2001-05-23 Thread Jean-Marc Lasgouttes

> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

>> | If ams is selected, Ctrl-Enter splits into \align, otherwise into
>> \eqnarray | (Not that I know where to find this kind of
>> information, but | anyway...)
>> 
>> I'd rather remove that button, and just require ams for certain
>> features.

Andre> Ok.. which goes back to the original question: Can we assume
Andre> that everybody has ams installed? Well, I have, even if I did
Andre> not know I had...

If you go in the macros/latex/required directory in CTAN ans do a
'dir', you get:

total 20
drwxr-xr-x   8 289  120  512 Aug 31  2000 .
drwxr-xr-x   9 289  120  512 Apr  8  2000 ..
drwxr-xr-x   4 289  120  512 Apr  6  2000 amslatex
drwxr-xr-x   2 289  120 3072 Apr 15 06:52 babel
drwxr-xr-x   2 289  120  512 Aug 31  2000 cyrillic
drwxr-xr-x   2 289  120  512 Aug 31  2000 graphics
drwxr-xr-x   2 289  120 1024 Aug 31  2000 psnfss
drwxr-xr-x   2 289  120 1024 Aug 31  2000 tools

So we can assume all these things are present in a good distribution.

JMarc



Re: multiline equations no longer working right either

2001-05-23 Thread Herbert Voss


On 23 May 2001, Jean-Marc Lasgouttes wrote:

> total 20
> drwxr-xr-x   4 289  120  512 Apr  6  2000 amslatex
> drwxr-xr-x   2 289  120 3072 Apr 15 06:52 babel
> drwxr-xr-x   2 289  120  512 Aug 31  2000 cyrillic
> drwxr-xr-x   2 289  120  512 Aug 31  2000 graphics
> drwxr-xr-x   2 289  120 1024 Aug 31  2000 psnfss
> drwxr-xr-x   2 289  120 1024 Aug 31  2000 tools
>
> So we can assume all these things are present in a good distribution.

amslatex is not amsmath!
amsmath is in /usr/share/texmf/tex/latex/amsmath/

Herbert




Re: multiline equations no longer working right either

2001-05-23 Thread Jean-Marc Lasgouttes

> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:

Herbert> amslatex is not amsmath! amsmath is in
Herbert> /usr/share/texmf/tex/latex/amsmath/

So, what is in amslatex/math/ on CTAN? I'm not discussing teTeX
hierarchy, but CTAN.

JMarc



Re: multiline equations no longer working right either

2001-05-23 Thread dochawk

Andre admitted,

> I think in the end we can have both, getting eqnarray by  M-m t e  and
> align by M-m t a  ('t' like 'type') with entrys for both in the menus.
> But I don't know anything about the concerned religions so maybe this would
> be Wrong.


I'm an agnostic here, but I just don't see where to put my [in]equality 
type operator without a middle column . . .

:)

hawk


-- 
Prof. Richard E. Hawkins, Esq. /"\   ASCII ribbon campaign 
[EMAIL PROTECTED]  Smeal 178  (814) 375-4700 \ /   against HTML mail
These opinions will not be those of Xand postings 
Penn State until it pays my retainer.  / \ 





Re: multiline equations no longer working right either

2001-05-23 Thread Andre Poenitz

> I'm an agnostic here, but I just don't see where to put my [in]equality 
> type operator without a middle column . . .

Looks like it goes to the right column. Which looks ugly if operators in
different lines are of different size as some people pointed out.

On the other hand, if they are of the same size, \align can look nicer due
to the missing extra spacing as other people pointed out.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-23 Thread Dekel Tsur

On Wed, May 23, 2001 at 10:20:42AM +0200, Lars Gullik Bj?nnes wrote:
> Andre Poenitz <[EMAIL PROTECTED]> writes:
> 
> | > | If ams is selected, Ctrl-Enter splits into \align, otherwise into \eqnarray
> | > | (Not that I know where to find this kind of information, but
> | > | anyway...)
> | > 
> | > I'd rather remove that button, and just require ams for certain
> | > features.
> | 
> | Ok.. which goes back to the original question: Can we assume that everybody
> | has ams installed? Well, I have, even if I did not know I had...
> 
> All modern (last 5 years or so) have ams installed.

Yes, but amsmath 1.2 screws the spacing for \ldots.
This was fixed in amsmath 2.0. I don't know how common is amsmath 2.0.




Re: multiline equations no longer working right either

2001-05-22 Thread Jean-Marc Lasgouttes

 Dekel == Dekel Tsur [EMAIL PROTECTED] writes:

Dekel On Mon, May 21, 2001 at 01:41:47PM -0400, Richard E. Hawkins
Dekel wrote:
  I seem to get a 2x2 equation array (whatever that is) instead of a
 2x3 multiline equation when using ctrl-enter in an equation.
 
 Is this a side effect, or is this the way it's syupposed to be?

Dekel This is intentional: LyX now uses the align env. instead of
Dekel eqnarray. If you want eqnarray, use Edit-Math-Make eqnarray.
Dekel It is also possible to return to previous behavior by putting
Dekel bind C-Return break-line e in your bind file.

As was said before, I really think we should stick to eqnarray as
default math array. I understand that you prefer amsmath stuff, but
this is a bad move, IMO.

JMarc



Re: multiline equations no longer working right either

2001-05-22 Thread Andre Poenitz

 Dekel This is intentional: LyX now uses the align env. instead of
 Dekel eqnarray. If you want eqnarray, use Edit-Math-Make eqnarray.
 Dekel It is also possible to return to previous behavior by putting
 Dekel bind C-Return break-line e in your bind file.
 
 As was said before, I really think we should stick to eqnarray as
 default math array. I understand that you prefer amsmath stuff, but
 this is a bad move, IMO.

Maybe the both of you could work out some kind of consensus.

I think in the end we can have both, getting eqnarray by  M-m t e  and
align by M-m t a  ('t' like 'type') with entrys for both in the menus.
But I don't know anything about the concerned religions so maybe this would
be Wrong.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-22 Thread Jean-Marc Lasgouttes

 Andre == Andre Poenitz [EMAIL PROTECTED] writes:

Andre Maybe the both of you could work out some kind of consensus.

Yes, probably...

Andre I think in the end we can have both, getting eqnarray by M-m t
Andre e and align by M-m t a ('t' like 'type') with entrys for both
Andre in the menus. But I don't know anything about the concerned
Andre religions so maybe this would be Wrong.

Having explicit bindings is ceertainly the way to go. This default
thingy is related to what happens when you do a C-Return. The default
used to be eqnarray, and is now align. I'd rather keep the default
because (1) people are used to it and (2) it only uses basic latex
math. I am not sure what proportion of LaTeX users consider that using
ams stuff is really the only way maths should be done; it seems to me
that it is a personnal decision that we should not enforce on users.

JMarc



Re: multiline equations no longer working right either

2001-05-22 Thread Dekel Tsur

On Tue, May 22, 2001 at 09:02:43AM +0200, Jean-Marc Lasgouttes wrote:
  Andre == Andre Poenitz [EMAIL PROTECTED] writes:
 
 Andre Maybe the both of you could work out some kind of consensus.
 
 Yes, probably...
 
 Andre I think in the end we can have both, getting eqnarray by M-m t
 Andre e and align by M-m t a ('t' like 'type') with entrys for both
 Andre in the menus. But I don't know anything about the concerned
 Andre religions so maybe this would be Wrong.
 
 Having explicit bindings is ceertainly the way to go. This default
 thingy is related to what happens when you do a C-Return. The default
 used to be eqnarray, and is now align. I'd rather keep the default
 because (1) people are used to it and (2) it only uses basic latex
 math. I am not sure what proportion of LaTeX users consider that using
 ams stuff is really the only way maths should be done; it seems to me
 that it is a personnal decision that we should not enforce on users.

(1) We should do UI changes if they give some improvement.
After all, in 1.1.6 we redesigned the menus so the users needed to learn new
shortcuts.
I think that the improvement you gain by using align (e.g. no ugly spaces)
justifies to make it the default. In my opinion, people should use align
instead of eqnarray. If we change C-return to create an eqnarray,
most users will prefer using eqnarray just because it has shorter key binding.

(2) Most users just don't know about amsmath and what it does.
For example, in normal latex, if you have a numbered equation that is too
wide, the equation will overwrite the equation number.
However, if you include amsmath, the equation number will be moved down.
So it could be argued that amsmath should always be included by LyX when you
have a numbered equation.



Re: multiline equations no longer working right either

2001-05-22 Thread Herbert Voss

Dekel Tsur wrote:
 
 On Tue, May 22, 2001 at 09:02:43AM +0200, Jean-Marc Lasgouttes wrote:
   Andre == Andre Poenitz [EMAIL PROTECTED] writes:
 
  Andre Maybe the both of you could work out some kind of consensus.
 
  Yes, probably...
 
  Andre I think in the end we can have both, getting eqnarray by M-m t
  Andre e and align by M-m t a ('t' like 'type') with entrys for both
  Andre in the menus. But I don't know anything about the concerned
  Andre religions so maybe this would be Wrong.
 
  Having explicit bindings is ceertainly the way to go. This default
  thingy is related to what happens when you do a C-Return. The default
  used to be eqnarray, and is now align. I'd rather keep the default
  because (1) people are used to it and (2) it only uses basic latex
  math. I am not sure what proportion of LaTeX users consider that using
  ams stuff is really the only way maths should be done; it seems to me
  that it is a personnal decision that we should not enforce on users.
 
 (1) We should do UI changes if they give some improvement.
 After all, in 1.1.6 we redesigned the menus so the users needed to learn new
 shortcuts.
 I think that the improvement you gain by using align (e.g. no ugly spaces)
 justifies to make it the default. In my opinion, people should use align
 instead of eqnarray. If we change C-return to create an eqnarray,
 most users will prefer using eqnarray just because it has shorter key binding.

the alignmode makes only sense, if you have the same mathoperator
in all lines for the vertical alignment. otherwise it's a bad
layout. for example

\begin{align}
y_{12}  = a^2+x+d \\
y  \stackrel{\textrm{\scriptsize def}}{=} x^3+x^2
\end{align}

eqnarray centers the middle cell, so it looks okay!

 (2) Most users just don't know about amsmath and what it does.
 For example, in normal latex, if you have a numbered equation that is too
 wide, the equation will overwrite the equation number.
 However, if you include amsmath, the equation number will be moved down.
 So it could be argued that amsmath should always be included by LyX when you
 have a numbered equation.

this could not be the only argument for align ...
from my point of view, the user has a bad layout for the equation
when it's too long!

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: multiline equations no longer working right either

2001-05-22 Thread Dekel Tsur

On Tue, May 22, 2001 at 10:53:29AM +0200, Herbert Voss wrote:
  I think that the improvement you gain by using align (e.g. no ugly spaces)
  justifies to make it the default. In my opinion, people should use align
  instead of eqnarray. If we change C-return to create an eqnarray,
  most users will prefer using eqnarray just because it has shorter key binding.
 
 the alignmode makes only sense, if you have the same mathoperator
 in all lines for the vertical alignment. otherwise it's a bad
 layout. for example
 
 \begin{align}
 y_{12}  = a^2+x+d \\
 y  \stackrel{\textrm{\scriptsize def}}{=} x^3+x^2
 \end{align}
 
 eqnarray centers the middle cell, so it looks okay!

You can just use \stackrel{\makebox[0pt]{\textrm{\scriptsize def}}}{=}
and it will look OK with align. In fact, it will look better than an 
eqnarray...

  (2) Most users just don't know about amsmath and what it does.
  For example, in normal latex, if you have a numbered equation that is too
  wide, the equation will overwrite the equation number.
  However, if you include amsmath, the equation number will be moved down.
  So it could be argued that amsmath should always be included by LyX when you
  have a numbered equation.
 
 this could not be the only argument for align ...
 from my point of view, the user has a bad layout for the equation
 when it's too long!

This was not given as an argument for using align. It was an example that
just loading amsmath gives you benefits over standard latex.
The advantages of align are:
1. No extra spaces (eqnarray puts extra space before and after the middle
column)
2. Simpler to use
3. Works with the amsmath \tag command
4. Works with the amsthm \qedhere command



Re: multiline equations no longer working right either

2001-05-22 Thread Andre Poenitz

 (2) Most users just don't know about amsmath and what it does.  For
 example, in normal latex, if you have a numbered equation that is too
 wide, the equation will overwrite the equation number.  However, if you
 include amsmath, the equation number will be moved down.  So it could be
 argued that amsmath should always be included by LyX when you have a
 numbered equation.

Can we assume that anybody (or at least most people) have this ams stuff
already installed when they use LaTeX or is this some kind of extra package
left out of major distributions?

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-22 Thread Jean-Marc Lasgouttes

> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:

Dekel> On Mon, May 21, 2001 at 01:41:47PM -0400, Richard E. Hawkins
Dekel> wrote:
>>  I seem to get a 2x2 equation array (whatever that is) instead of a
>> 2x3 multiline equation when using ctrl-enter in an equation.
>> 
>> Is this a side effect, or is this the way it's syupposed to be?

Dekel> This is intentional: LyX now uses the align env. instead of
Dekel> eqnarray. If you want eqnarray, use Edit->Math->Make eqnarray.
Dekel> It is also possible to return to previous behavior by putting
Dekel> bind "C-Return" "break-line e" in your bind file.

As was said before, I really think we should stick to eqnarray as
default math array. I understand that you prefer amsmath stuff, but
this is a bad move, IMO.

JMarc



Re: multiline equations no longer working right either

2001-05-22 Thread Andre Poenitz

> Dekel> This is intentional: LyX now uses the align env. instead of
> Dekel> eqnarray. If you want eqnarray, use Edit->Math->Make eqnarray.
> Dekel> It is also possible to return to previous behavior by putting
> Dekel> bind "C-Return" "break-line e" in your bind file.
> 
> As was said before, I really think we should stick to eqnarray as
> default math array. I understand that you prefer amsmath stuff, but
> this is a bad move, IMO.

Maybe the both of you could work out some kind of consensus.

I think in the end we can have both, getting eqnarray by  M-m t e  and
align by M-m t a  ('t' like 'type') with entrys for both in the menus.
But I don't know anything about the concerned religions so maybe this would
be Wrong.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-22 Thread Jean-Marc Lasgouttes

> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> Maybe the both of you could work out some kind of consensus.

Yes, probably...

Andre> I think in the end we can have both, getting eqnarray by M-m t
Andre> e and align by M-m t a ('t' like 'type') with entrys for both
Andre> in the menus. But I don't know anything about the concerned
Andre> religions so maybe this would be Wrong.

Having explicit bindings is ceertainly the way to go. This default
thingy is related to what happens when you do a C-Return. The default
used to be eqnarray, and is now align. I'd rather keep the default
because (1) people are used to it and (2) it only uses basic latex
math. I am not sure what proportion of LaTeX users consider that using
ams stuff is really the only way maths should be done; it seems to me
that it is a personnal decision that we should not enforce on users.

JMarc



Re: multiline equations no longer working right either

2001-05-22 Thread Dekel Tsur

On Tue, May 22, 2001 at 09:02:43AM +0200, Jean-Marc Lasgouttes wrote:
> > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
> 
> Andre> Maybe the both of you could work out some kind of consensus.
> 
> Yes, probably...
> 
> Andre> I think in the end we can have both, getting eqnarray by M-m t
> Andre> e and align by M-m t a ('t' like 'type') with entrys for both
> Andre> in the menus. But I don't know anything about the concerned
> Andre> religions so maybe this would be Wrong.
> 
> Having explicit bindings is ceertainly the way to go. This default
> thingy is related to what happens when you do a C-Return. The default
> used to be eqnarray, and is now align. I'd rather keep the default
> because (1) people are used to it and (2) it only uses basic latex
> math. I am not sure what proportion of LaTeX users consider that using
> ams stuff is really the only way maths should be done; it seems to me
> that it is a personnal decision that we should not enforce on users.

(1) We should do UI changes if they give some improvement.
After all, in 1.1.6 we redesigned the menus so the users needed to learn new
shortcuts.
I think that the improvement you gain by using align (e.g. no ugly spaces)
justifies to make it the default. In my opinion, people should use align
instead of eqnarray. If we change C-return to create an eqnarray,
most users will prefer using eqnarray just because it has shorter key binding.

(2) Most users just don't know about amsmath and what it does.
For example, in normal latex, if you have a numbered equation that is too
wide, the equation will overwrite the equation number.
However, if you include amsmath, the equation number will be moved down.
So it could be argued that amsmath should always be included by LyX when you
have a numbered equation.



Re: multiline equations no longer working right either

2001-05-22 Thread Herbert Voss

Dekel Tsur wrote:
> 
> On Tue, May 22, 2001 at 09:02:43AM +0200, Jean-Marc Lasgouttes wrote:
> > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
> >
> > Andre> Maybe the both of you could work out some kind of consensus.
> >
> > Yes, probably...
> >
> > Andre> I think in the end we can have both, getting eqnarray by M-m t
> > Andre> e and align by M-m t a ('t' like 'type') with entrys for both
> > Andre> in the menus. But I don't know anything about the concerned
> > Andre> religions so maybe this would be Wrong.
> >
> > Having explicit bindings is ceertainly the way to go. This default
> > thingy is related to what happens when you do a C-Return. The default
> > used to be eqnarray, and is now align. I'd rather keep the default
> > because (1) people are used to it and (2) it only uses basic latex
> > math. I am not sure what proportion of LaTeX users consider that using
> > ams stuff is really the only way maths should be done; it seems to me
> > that it is a personnal decision that we should not enforce on users.
> 
> (1) We should do UI changes if they give some improvement.
> After all, in 1.1.6 we redesigned the menus so the users needed to learn new
> shortcuts.
> I think that the improvement you gain by using align (e.g. no ugly spaces)
> justifies to make it the default. In my opinion, people should use align
> instead of eqnarray. If we change C-return to create an eqnarray,
> most users will prefer using eqnarray just because it has shorter key binding.

the alignmode makes only sense, if you have the same mathoperator
in all lines for the vertical alignment. otherwise it's a bad
layout. for example

\begin{align}
y_{12} & = a^2+x+d \\
y & \stackrel{\textrm{\scriptsize def}}{=} x^3+x^2
\end{align}

eqnarray centers the middle cell, so it looks okay!

> (2) Most users just don't know about amsmath and what it does.
> For example, in normal latex, if you have a numbered equation that is too
> wide, the equation will overwrite the equation number.
> However, if you include amsmath, the equation number will be moved down.
> So it could be argued that amsmath should always be included by LyX when you
> have a numbered equation.

this could not be the only argument for align ...
from my point of view, the user has a bad layout for the equation
when it's too long!

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: multiline equations no longer working right either

2001-05-22 Thread Dekel Tsur

On Tue, May 22, 2001 at 10:53:29AM +0200, Herbert Voss wrote:
> > I think that the improvement you gain by using align (e.g. no ugly spaces)
> > justifies to make it the default. In my opinion, people should use align
> > instead of eqnarray. If we change C-return to create an eqnarray,
> > most users will prefer using eqnarray just because it has shorter key binding.
> 
> the alignmode makes only sense, if you have the same mathoperator
> in all lines for the vertical alignment. otherwise it's a bad
> layout. for example
> 
> \begin{align}
> y_{12} & = a^2+x+d \\
> y & \stackrel{\textrm{\scriptsize def}}{=} x^3+x^2
> \end{align}
> 
> eqnarray centers the middle cell, so it looks okay!

You can just use \stackrel{\makebox[0pt]{\textrm{\scriptsize def}}}{=}
and it will look OK with align. In fact, it will look better than an 
eqnarray...

> > (2) Most users just don't know about amsmath and what it does.
> > For example, in normal latex, if you have a numbered equation that is too
> > wide, the equation will overwrite the equation number.
> > However, if you include amsmath, the equation number will be moved down.
> > So it could be argued that amsmath should always be included by LyX when you
> > have a numbered equation.
> 
> this could not be the only argument for align ...
> from my point of view, the user has a bad layout for the equation
> when it's too long!

This was not given as an argument for using align. It was an example that
just loading amsmath gives you benefits over standard latex.
The advantages of align are:
1. No extra spaces (eqnarray puts extra space before and after the middle
column)
2. Simpler to use
3. Works with the amsmath \tag command
4. Works with the amsthm \qedhere command



Re: multiline equations no longer working right either

2001-05-22 Thread Andre Poenitz

> (2) Most users just don't know about amsmath and what it does.  For
> example, in normal latex, if you have a numbered equation that is too
> wide, the equation will overwrite the equation number.  However, if you
> include amsmath, the equation number will be moved down.  So it could be
> argued that amsmath should always be included by LyX when you have a
> numbered equation.

Can we assume that anybody (or at least most people) have this ams stuff
already installed when they use LaTeX or is this some kind of extra package
left out of major distributions?

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: multiline equations no longer working right either

2001-05-21 Thread Dekel Tsur

On Mon, May 21, 2001 at 01:41:47PM -0400, Richard E. Hawkins wrote:
 
 I seem to get a 2x2 equation array (whatever that is) instead of a 2x3
 multiline equation when using ctrl-enter in an equation.  
 
 Is this a side effect, or is this the way it's syupposed to be?

This is intentional: LyX now uses the align env. instead of eqnarray.
If you want eqnarray, use Edit-Math-Make eqnarray.
It is also possible to return to previous behavior by putting 
 bind C-Return break-line e  
in your bind file.

It is possible that recent changes to mathed will temporarily break
the support for align. If you use the CVS for something, then it is better
to use eqnarray.



Re: multiline equations no longer working right either

2001-05-21 Thread Dekel Tsur

On Mon, May 21, 2001 at 01:41:47PM -0400, Richard E. Hawkins wrote:
> 
> I seem to get a 2x2 equation array (whatever that is) instead of a 2x3
> multiline equation when using ctrl-enter in an equation.  
> 
> Is this a side effect, or is this the way it's syupposed to be?

This is intentional: LyX now uses the align env. instead of eqnarray.
If you want eqnarray, use Edit->Math->Make eqnarray.
It is also possible to return to previous behavior by putting 
 bind "C-Return" "break-line e"  
in your bind file.

It is possible that recent changes to mathed will temporarily break
the support for align. If you use the CVS for something, then it is better
to use eqnarray.