Hi
I am using OpenOffice 2.4 with OOoLaTeX plug-in on Ubuntu 8.10
How do I write an array of mathematical equations that align along equal sign? For example I'd like the following to have equal signs all nicely aligned such that E & F are directly below C & D and not like the way it's shown here - A + B = C + D = E + F = 3
I quickly searched online and this kind of code was suggested:
\usepackage{amsmath}
\begin{eqnarray}
q(v) & =& q(v_{1},...,v_{d-1}) \\
& = & P(Y = 1 | X^{(j)} = v_{1},...,X^{(d-1)} = v_{d-1})
\end{eqnarray}
or this
\begin{eqnarray}
q(v) & =& q(v_{1},...,v_{d-1}) \nonumber \\ & = & P(Y = 1 | X^{(j)} = v_{1},...,X^{(d-1)} = v_{d-1}) \end{eqnarray}
But ofcourse, when I pasted either of above into OOoLaTeX, it spits out lots of error and just refuse to render.
Any advices please. Thanks very much.