## Multi-line Equation Problem in Latex

 Quote by Fenn Alright, I found my answer, in case anyone is looking. It's the subequations environment from the amsmath package. \begin{align} I = \begin{pmatrix} 1 & 0 \\ 0 & 1\end{pmatrix} \end{align} \begin{subequations}\begin{align} f &= ma\\ E &= mc^2\\ \pi &\text{ is exactly three!} \end{align}\end{subequations}
It is nice Fenn, thank you. I may re-consider the numbering of certain equations based on this.

Regards
 I'm now using them for clusters of similar equations, so my index numbers don't get too outrageous. \begin{subequations}\begin{align} Y_1^{+1}(\theta,\phi) &= -\sqrt{\frac{3}{8\pi}}\sin\theta e^{i\phi} \\ Y_1^0(\theta,\phi) &= \sqrt{\frac{3}{4\pi}}\cos\theta \\ Y_1^{-1}(\theta,\phi) &= \sqrt{\frac{3}{8\pi}}\sin\theta e^{-i\phi} \end{align}\end{subequations}
 Recognitions: Science Advisor \begin{subequations} \begin{align} \frac{u(x_0+\Delta x)-u(x_0)}{\Delta x} &=\frac{du}{dx} + \frac{\Delta x}{2}\frac{d^2 u}{dx^2} +\cdots \\ \frac{u(x_0)-u(x_0-\Delta x)}{\Delta x} &=\frac{du}{dx} - \frac{\Delta x}{2}\frac{d^2 u}{dx^2} +\cdots \\ \frac{u(x_0+\Delta x)-u(x_0-\Delta x)}{\Delta x} &= \frac{du}{dx} + \frac{\Delta x^2}{6}\frac{d^3 u}{dx^3}+ \cdots \end{align} \end{subequations} Nice!! big fan!
 Hi Fenn, I tried this but it didn't work. I don't know what else to do. Please help. TQ
 Hi sni, Can you be more informative about what you are trying to do, and how it is not working?
 i tried using \newln but the equation still exceeds the page.
 thank you so much! this looks so nice. does it only work to one single equation? can it be used for multiple equations e.g proof?thanks
 Fenn, I labeled the code \end{split}\label{eq:eu}\end{eqnarray} but the equation number disappears. I want it to be on the second formula.why is this so? the referencing works fine as the equation number shows

Hi Fenn, I have tried on other LONG equations that I have. Unfortunately, not all worked out fine. Some were indented to half of the page and gone missing for the second half. I realize that this happens with multi equations where for example

\begin{eqnarray}
Eq 1 (Long) = Eq 2 (Long)
Eq 3 (Long) = Eq 4 (Long)
\end{eqnarray}

Hope you can help me with this problem. I have tons of equations to adjust. TQ so much

 Hi sni, Working with equation formatting and layout in LaTeX can get very tedious if the equation is very long. I suggest you start with smaller equations and practice using the markup to do what you want. A very useful technique is to comment (%) out sections of equations while you're setting it up, and slowly removing the comment markers as you build it. When I posted my suggestion to your problem, I commented out all but the first line, checked to see what it looked like, and slowly introduced more of the equation as I became more familiar with its content, and the overall formatting use.
 yes,i 've figured that now. thanks though for your advise. i really2 appreciate it.
 Thread Tools

 Similar Threads for: Multi-line Equation Problem in Latex Thread Forum Replies Math & Science Software 1 Math & Science Software 2 Calculus & Beyond Homework 9 Precalculus Mathematics Homework 5 Precalculus Mathematics Homework 5