Re: Bug in the Math UI

2014-05-14 Thread Julio Rojas
Thanks David, I agree with you, middle alignment should be set by default.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 13, 2014 at 5:02 PM, David L. Johnson  wrote:

>  On 05/13/2014 04:48 PM, Julio Rojas wrote:
>
>
> As you can see, there is "[t]" in the array that is generating the
> problem, i.e., the array was top aligned. Are matrices in Lyx 2.1.0 set up
> by default on top alignment instead of middle aligment? I don't really
> remember changing this aligment.
>
> The popup window does seem to come up with top-alignment as the default.
> Middle would be better, I think.
>
>
>
> On Tue, May 13, 2014 at 4:41 PM, Julio Rojas  wrote:
>
>> Dear all,
>>
>>  I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the binomial
>> coefficient for a binomial distribution, so I did as I alway did, i.e.,
>> insert the parenthesis in my equation and a size 2 column vector in the
>> parenthesis.
>>
>
> I was going to respond to this part anyway.  For binomial coefficients,
> use (gee) \binom  instead.  The parentheses are tighter around the numbers,
> and it looks more like a binomial coefficient. Easier as well.
>
>
> --
>
> David L. Johnson
> Department of Mathematics
> Lehigh University
>
>


Re: Bug in the Math UI

2014-05-13 Thread David L. Johnson

On 05/13/2014 04:48 PM, Julio Rojas wrote:


As you can see, there is "[t]" in the array that is generating the 
problem, i.e., the array was top aligned. Are matrices in Lyx 2.1.0 
set up by default on top alignment instead of middle aligment? I don't 
really remember changing this aligment.
The popup window does seem to come up with top-alignment as the 
default.  Middle would be better, I think.



On Tue, May 13, 2014 at 4:41 PM, Julio Rojas > wrote:


Dear all,

I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the
binomial coefficient for a binomial distribution, so I did as I
alway did, i.e., insert the parenthesis in my equation and a size
2 column vector in the parenthesis.



I was going to respond to this part anyway.  For binomial coefficients, 
use (gee) \binom  instead.  The parentheses are tighter around the 
numbers, and it looks more like a binomial coefficient. Easier as well.



--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Bug in the Math UI

2014-05-13 Thread Julio Rojas
I have checked the source for my snippet compared to one of the "old
fashioned" that I had:

\begin{align*}

P(X\leq150) & =\left(\begin{array}{c}

n\\

k

\end{array}\right)\\

P(X\leq150) & =\left(\begin{array}[t]{c}

n\\

k

\end{array}\right)
\end{align*}

As you can see, there is "[t]" in the array that is generating the problem,
i.e., the array was top aligned. Are matrices in Lyx 2.1.0 set up by
default on top alignment instead of middle aligment? I don't really
remember changing this aligment.

Sorry for the false report. Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 13, 2014 at 4:41 PM, Julio Rojas  wrote:

> Dear all,
>
> I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the binomial
> coefficient for a binomial distribution, so I did as I alway did, i.e.,
> insert the parenthesis in my equation and a size 2 column vector in the
> parenthesis. To my surprise the vector is not centered on the parenthesis,
> but on the top element. Is doesn't mater if the vector is of even or odd
> size; the vector is being setup from the top element to the bottom one.
> This way the parenthesis are bigger than usual and the top part of their
> space is empty.
>
> I don't know if I was completely clear, so I have attached a couple of
> PNG's of the UI and a PDF showing this behavior. Again, I stress that this
> exactly the same way I have doing it for years, so this issue is related to
> the UI. Is there some new way of doing it on Lyx which I am not aware of?
>
> Thanks for your help.
> -
> Julio Rojas
> jcredbe...@gmail.com
>


Bug in the Math UI

2014-05-13 Thread Julio Rojas
Dear all,

I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the binomial
coefficient for a binomial distribution, so I did as I alway did, i.e.,
insert the parenthesis in my equation and a size 2 column vector in the
parenthesis. To my surprise the vector is not centered on the parenthesis,
but on the top element. Is doesn't mater if the vector is of even or odd
size; the vector is being setup from the top element to the bottom one.
This way the parenthesis are bigger than usual and the top part of their
space is empty.

I don't know if I was completely clear, so I have attached a couple of
PNG's of the UI and a PDF showing this behavior. Again, I stress that this
exactly the same way I have doing it for years, so this issue is related to
the UI. Is there some new way of doing it on Lyx which I am not aware of?

Thanks for your help.
-
Julio Rojas
jcredbe...@gmail.com