How do we add aligned equations in lyx . (For IEEE Transaction document)?
There is no option for insert -> math -> numbered equations. Moreover how do align the equation just like we do in latex using '&'
Currently I'm writing the equations in Latex and then adding it to Lyx using Tex Mode. is there a better way to do this?
Edit : I actually need something like this
\begin{equation}
\begin{aligned}a & =5 \\ = 7-2 \end{aligned}
\end{equation}
But the latex source of LyX gives me something like this:
\begin{equation}
\begin{aligned}a & =5\end{aligned}
\begin{aligned} & =6-1\end{aligned}
\end{equation}
How can I correct this? Should I use multiline AMS? I couldn't find an option to add row. can you please tell the exact steps.