Re: Splitting long eqution

2015-12-07 Thread Steve Burnham
On Mon, Dec 7, 2015 at 9:58 AM Jacob Bishop  wrote:

> On Sat, Dec 5, 2015 at 4:57 PM, Steve Burnham  wrote:
>
>>
>> In regard to the ams multiline, when I use it in the two column format my
>> equations then get rather messed up. The first half of the equation is left
>> justified while the second half is right justified. The whole equation
>> (both parts) should be centered (exactly how it looks in LyX when in math
>> mode). I have tried to set the justification to center but it appears to
>> have no effect.
>>
>
> I suggest carefully reading
> http://tex.stackexchange.com/questions/196/eqnarray-vs-align#197 and all
> the responses/links, especially
> http://www.tug.org/pracjourn/2006-4/madsen/madsen.pdf which has a
> detailed breakdown and several side-by-side examples. Once you're done with
> that, you should experiment to be sure you understand the differences,
> pros, cons, etc. Then (being informed on the issues), you should...do
> whatever you want. The LyX math manual also has a fairly accurate
> description of the different environments.
>
> My own overall opinion of all this is that the normal align environment is
> easy to use, but ugly and that the AMS environments are a pain, but if
> looks matter then it is worth the extra work. Good luck.
>
> Jacob
>


Thank you for these references. So far they are pretty helpful and after I
finish my QE I'll need them more as I move into drafting my dissertation.

-Steve


Re: Splitting long eqution

2015-12-07 Thread Jacob Bishop
On Sat, Dec 5, 2015 at 4:57 PM, Steve Burnham  wrote:

>
> In regard to the ams multiline, when I use it in the two column format my
> equations then get rather messed up. The first half of the equation is left
> justified while the second half is right justified. The whole equation
> (both parts) should be centered (exactly how it looks in LyX when in math
> mode). I have tried to set the justification to center but it appears to
> have no effect.
>

I suggest carefully reading
http://tex.stackexchange.com/questions/196/eqnarray-vs-align#197 and all
the responses/links, especially
http://www.tug.org/pracjourn/2006-4/madsen/madsen.pdf which has a detailed
breakdown and several side-by-side examples. Once you're done with that,
you should experiment to be sure you understand the differences, pros,
cons, etc. Then (being informed on the issues), you should...do whatever
you want. The LyX math manual also has a fairly accurate description of the
different environments.

My own overall opinion of all this is that the normal align environment is
easy to use, but ugly and that the AMS environments are a pain, but if
looks matter then it is worth the extra work. Good luck.

Jacob


Re: Splitting long eqution

2015-12-05 Thread Steve Burnham
On Fri, Dec 4, 2015 at 4:08 AM Anders Ekberg  wrote:

> On 04 Dec 2015, at 02:30, Jacob Bishop  wrote:
>
>
>
>
> -Steve Burnham
>
> On Wed, Dec 2, 2015 at 12:47 AM, Anders Ekberg  wrote:
>
>> see the extended minimal example attached.
>>
>
> This example is really good, and Anders' response was on the spot, but I
> thought I'd take the opportunity to point out something that took me quite
> a while to realize. When using the equation array environment (what happens
> when you push ctrl+enter), the spacing around the equal sign is different
> than what it is for a "display formula." This leads to a document that has
> inconsistent spacing, which can be seen in this example. The spacing around
> the equals sign in equation (1) is a lot less than the spacing around the
> equals signs in the other equations. The solution is to use AMS
> environments. Check the spacing produced in the attached document. I also
> used \mathrm for multi-letter subscripts, which I would recommend. Finally,
> you should check out the different reference types. I use the one with
> parentheses to do equations.
>
> I hope this helps.
>
> Jacob
>
> 
>
>
> Thanks Jacob, that was helpful!
> I like that you point out the use of \mathrm. I “preach” to all students
> and everyone else who wants to hear (and to everyone else too ;-) that
> indices that are not variables should be roman. So for those who use LyX or
> LaTeX and write equations \mathrm is one of the best commands to know…
>
> Anders
>

Thanks for the advice on \mathrm, equations look much better with it.

In regard to the ams multiline, when I use it in the two column format my
equations then get rather messed up. The first half of the equation is left
justified while the second half is right justified. The whole equation
(both parts) should be centered (exactly how it looks in LyX when in math
mode). I have tried to set the justification to center but it appears to
have no effect. See my new minimal example.

-Steve


minimal_extended-AMS.lyx
Description: Binary data


Re: Splitting long eqution

2015-12-04 Thread Anders Ekberg

> On 04 Dec 2015, at 02:30, Jacob Bishop  wrote:
> 
> 
> On Wed, Dec 2, 2015 at 12:47 AM, Anders Ekberg  > wrote:
> see the extended minimal example attached.
>  
> This example is really good, and Anders' response was on the spot, but I 
> thought I'd take the opportunity to point out something that took me quite a 
> while to realize. When using the equation array environment (what happens 
> when you push ctrl+enter), the spacing around the equal sign is different 
> than what it is for a "display formula." This leads to a document that has 
> inconsistent spacing, which can be seen in this example. The spacing around 
> the equals sign in equation (1) is a lot less than the spacing around the 
> equals signs in the other equations. The solution is to use AMS environments. 
> Check the spacing produced in the attached document. I also used \mathrm for 
> multi-letter subscripts, which I would recommend. Finally, you should check 
> out the different reference types. I use the one with parentheses to do 
> equations.
> 
> I hope this helps.
> 
> Jacob
> 

Thanks Jacob, that was helpful! 
I like that you point out the use of \mathrm. I “preach” to all students and 
everyone else who wants to hear (and to everyone else too ;-) that indices that 
are not variables should be roman. So for those who use LyX or LaTeX and write 
equations \mathrm is one of the best commands to know…

Anders 

Re: Splitting long eqution

2015-12-03 Thread Jacob Bishop
On Wed, Dec 2, 2015 at 12:47 AM, Anders Ekberg  wrote:

> see the extended minimal example attached.
>

This example is really good, and Anders' response was on the spot, but I
thought I'd take the opportunity to point out something that took me quite
a while to realize. When using the equation array environment (what happens
when you push ctrl+enter), the spacing around the equal sign is different
than what it is for a "display formula." This leads to a document that has
inconsistent spacing, which can be seen in this example. The spacing around
the equals sign in equation (1) is a lot less than the spacing around the
equals signs in the other equations. The solution is to use AMS
environments. Check the spacing produced in the attached document. I also
used \mathrm for multi-letter subscripts, which I would recommend. Finally,
you should check out the different reference types. I use the one with
parentheses to do equations.

I hope this helps.

Jacob


minimal_extended-AMS.lyx
Description: application/lyx


Re: Splitting long eqution

2015-12-02 Thread Steve Burnham
On Wed, Dec 2, 2015 at 12:47 AM Anders Ekberg  wrote:

> On 01 Dec 2015, at 00:16, Steve Burnham  wrote:
>
> I have a long numbered formula that I am trying to split into two lines. I
> am using 2.1.4 on OSX 10.11. Following the instructions in the wiki (
> http://wiki.lyx.org/Examples/FormulaOnMultipleLines) I should be able to
> hit control+enter to begin a multiline equation, move the cursor to where I
> want a new line and hit control+enter again. This command appears to be
> disabled for some reason. I have found however that if I type Command+enter
> a new line is inserted and I can type the remaining portion of the
> equation. The problem is that this new line also gets a new equation number
> when it should all be part of the same equation. See attached minimal
> working example. Thanks,
>
>
> -Steve
>
> 
>
>
> Steve, that will depend on where you insert your label, see the extended
> minimal example attached.
>
> All the best!
> Anders
>

Thanks for the reply Anders. I didn't realize that I could Insert>display
formula and as soon as I attach a label it then becomes numbered. I had
always just done insert>numbered equation in the past.  It all works now!


Re: Splitting long eqution

2015-12-01 Thread Anders Ekberg
On 01 Dec 2015, at 00:16, Steve Burnham  wrote:I have a long numbered formula that I am trying to split into two lines. I am using 2.1.4 on OSX 10.11. Following the instructions in the wiki (http://wiki.lyx.org/Examples/FormulaOnMultipleLines) I should be able to hit control+enter to begin a multiline equation, move the cursor to where I want a new line and hit control+enter again. This command appears to be disabled for some reason. I have found however that if I type Command+enter a new line is inserted and I can type the remaining portion of the equation. The problem is that this new line also gets a new equation number when it should all be part of the same equation. See attached minimal working example. Thanks,-Steve
Steve, that will depend on where you insert your label, see the extended minimal example attached.All the best!Anders

minimal_extended.lyx
Description: Binary data


Splitting long eqution

2015-12-01 Thread Steve Burnham
I have a long numbered formula that I am trying to split into two lines. I
am using 2.1.4 on OSX 10.11. Following the instructions in the wiki (
http://wiki.lyx.org/Examples/FormulaOnMultipleLines) I should be able to
hit control+enter to begin a multiline equation, move the cursor to where I
want a new line and hit control+enter again. This command appears to be
disabled for some reason. I have found however that if I type Command+enter
a new line is inserted and I can type the remaining portion of the
equation. The problem is that this new line also gets a new equation number
when it should all be part of the same equation. See attached minimal
working example. Thanks,


-Steve


minimal.lyx
Description: Binary data