Re: Setting align as the default environment for multiline formulas

2008-04-09 Thread Guy Rutenberg
Hi,

Uwe Stöhr [EMAIL PROTECTED] writes:


 This can be done by redefining the eqnarray environment to be the align
environment, you should find 
   how this is done in the archive of this list.
 
 regards Uwe
 
 

Thanks very much for your reply. I tried searching the archive and google but
couldn't find anything useful.

Using \renewenvironment didn't work (LyX still treats it as an eqnarray and adds
an extra ).

Could you give me more detailed pointers to where I may find a solution?

Regards,

Guy



Re: Setting align as the default environment for multiline formulas

2008-04-09 Thread Uwe Stöhr

Guy Rutenberg schrieb:


Using \renewenvironment didn't work (LyX still treats it as an eqnarray and adds
an extra ).


Sorry my fault, this is of course not possible because align has 2 columns, 
eqnarray 3 columns.

So the easiest way is to define a keyboard shortcut that inserts an align equation. How to define 
such a shortcut is explained in the Customization manual. (The next major LyX release has a dilaog 
where you can define them much more easier.)

For existing formulas, use the menu Edit - Math - Change formula type 
(shortcut Alt-m t a).

regards Uwe


Re: Setting align as the default environment for multiline formulas

2008-04-09 Thread Guy Rutenberg
Hi,

Uwe Stöhr [EMAIL PROTECTED] writes:


 This can be done by redefining the eqnarray environment to be the align
environment, you should find 
   how this is done in the archive of this list.
 
 regards Uwe
 
 

Thanks very much for your reply. I tried searching the archive and google but
couldn't find anything useful.

Using \renewenvironment didn't work (LyX still treats it as an eqnarray and adds
an extra ).

Could you give me more detailed pointers to where I may find a solution?

Regards,

Guy



Re: Setting align as the default environment for multiline formulas

2008-04-09 Thread Uwe Stöhr

Guy Rutenberg schrieb:


Using \renewenvironment didn't work (LyX still treats it as an eqnarray and adds
an extra ).


Sorry my fault, this is of course not possible because align has 2 columns, 
eqnarray 3 columns.

So the easiest way is to define a keyboard shortcut that inserts an align equation. How to define 
such a shortcut is explained in the Customization manual. (The next major LyX release has a dilaog 
where you can define them much more easier.)

For existing formulas, use the menu Edit - Math - Change formula type 
(shortcut Alt-m t a).

regards Uwe


Re: Setting align as the default environment for multiline formulas

2008-04-09 Thread Guy Rutenberg
Hi,

Uwe Stöhr <[EMAIL PROTECTED]> writes:


> This can be done by redefining the eqnarray environment to be the align
environment, you should find 
>   how this is done in the archive of this list.
> 
> regards Uwe
> 
> 

Thanks very much for your reply. I tried searching the archive and google but
couldn't find anything useful.

Using \renewenvironment didn't work (LyX still treats it as an eqnarray and adds
an extra &).

Could you give me more detailed pointers to where I may find a solution?

Regards,

Guy



Re: Setting align as the default environment for multiline formulas

2008-04-09 Thread Uwe Stöhr

Guy Rutenberg schrieb:


Using \renewenvironment didn't work (LyX still treats it as an eqnarray and adds
an extra &).


Sorry my fault, this is of course not possible because align has 2 columns, 
eqnarray 3 columns.

So the easiest way is to define a keyboard shortcut that inserts an align equation. How to define 
such a shortcut is explained in the Customization manual. (The next major LyX release has a dilaog 
where you can define them much more easier.)

For existing formulas, use the menu Edit -> Math -> Change formula type 
(shortcut Alt-m t a).

regards Uwe


Setting align as the default environment for multiline formulas

2008-04-07 Thread Guy Rutenberg
Hi,

I'm looking for a way to set the align environment as the default one in LyX for
multiline formulas. E.g. when in display mode and I press Ctrl+Enter I want the
formula to use the align environment instead of the eqnarray one.

Is it possible? If so, how can I do it?

Thanks,

Guy



Re: Setting align as the default environment for multiline formulas

2008-04-07 Thread Uwe Stöhr

Guy Rutenberg schrieb:


I'm looking for a way to set the align environment as the default one in LyX for
multiline formulas. E.g. when in display mode and I press Ctrl+Enter I want the
formula to use the align environment instead of the eqnarray one.


This can be done by redefining the eqnarray environment to be the align environment, you should find 
 how this is done in the archive of this list.


regards Uwe


Setting align as the default environment for multiline formulas

2008-04-07 Thread Guy Rutenberg
Hi,

I'm looking for a way to set the align environment as the default one in LyX for
multiline formulas. E.g. when in display mode and I press Ctrl+Enter I want the
formula to use the align environment instead of the eqnarray one.

Is it possible? If so, how can I do it?

Thanks,

Guy



Re: Setting align as the default environment for multiline formulas

2008-04-07 Thread Uwe Stöhr

Guy Rutenberg schrieb:


I'm looking for a way to set the align environment as the default one in LyX for
multiline formulas. E.g. when in display mode and I press Ctrl+Enter I want the
formula to use the align environment instead of the eqnarray one.


This can be done by redefining the eqnarray environment to be the align environment, you should find 
 how this is done in the archive of this list.


regards Uwe


Setting align as the default environment for multiline formulas

2008-04-07 Thread Guy Rutenberg
Hi,

I'm looking for a way to set the align environment as the default one in LyX for
multiline formulas. E.g. when in display mode and I press Ctrl+Enter I want the
formula to use the align environment instead of the eqnarray one.

Is it possible? If so, how can I do it?

Thanks,

Guy



Re: Setting align as the default environment for multiline formulas

2008-04-07 Thread Uwe Stöhr

Guy Rutenberg schrieb:


I'm looking for a way to set the align environment as the default one in LyX for
multiline formulas. E.g. when in display mode and I press Ctrl+Enter I want the
formula to use the align environment instead of the eqnarray one.


This can be done by redefining the eqnarray environment to be the align environment, you should find 
 how this is done in the archive of this list.


regards Uwe