Using LyX 2.0.1, using the book (KOMA-script) class with the "Number Equations by Section" module, I have a long equation (in an equation array) that is overlapped by the equation number:
Is there a way in LyX to specify the equation number be moved down to not overlap? If not, what are some commands that I can play with to fix this using the pre-amble. I would like to avoid using in-line latex code (i.e. ERT in LyX).
The equation in question is:
\begin{eqnarray}
\tau_{0}^{-} & = & \frac{m_{x}+m_{y}-\sqrt{1-r_{H}}\left|m_{x}-m_{y}\right|}{2e^{2}n_{s}\rho_{\text{xx}}}\\
\tau_{vv}^{-} & = & \frac{24\tau_{0}^{-}\sqrt{1-r_{H}}m_{x}m_{y}\left(m_{x}+m_{y}\right)\left|m_{x}-m_{y}\right|}{\left(10m_{x}m_{y}+3m_{x}^{2}+3m_{y}^{2}\right)\left(m_{x}^{2}-2m_{x}m_{y}+m_{y}^{2}-\left|m_{x}-m_{y}\right|\sqrt{1-r_{H}}\left(m_{x}+m_{y}\right)\right)}.
\end{eqnarray}
Best Answer
Instead of using
eqnarray
you should usealign
or some other environment provided byamsmath
(the reasons can be found in Avoid eqnarray!); to reduce the length of your formula and increase readability, I would suggest you to use some abbreviation in the equation and then give its meaning; for example, sincem_{x} + m_{y}
appears several times, you could abbreviate it using\sigma_{xy}
(or some other name), and similarly for\lvert m_{x} - m_{y}\rvert
(for which I used\delta_{xy}
); your equation now becomes: