Since I got such a speedy answer (which worked!) on my last question, I have 
another.

I wish to write the following latex code in lyx:


$$
y=f(y\_in)=\left\{
                \begin{array}{ll}
                 1             & \mathrm{if}\ y\_in > \theta ,  \\
                 0             & \mathrm{if}\ -\theta \leq y\_in \leq
\theta,  
+\\
                 -1            & \mathrm{if}\ y\_in < -\theta.
                \end {array}
        \right .
$$


I can get the left hand side, the one sided bracket and the 3x1 dimensional 
array.  The problem is that when I write the above elements in the array 
positions I don't get any spacing between what comes before "if" and after.
In other words, I don't know how to control the spacing.  I want the three 
"if's" to line up on top of each other.

Also, I was telling someone at work about Lyx and they mentioned that there is
a program called "Textures" that sounded similar.  Do you have any response on 
how I can say that this a different (better?) program?

Thanks,

Anna

Reply via email to