- #1
Sue Laplace
- 11
- 0
Hello!
I would like to write a multiline equation in latex
Actually it is the last of these three subequations that needs to be split, but I can't work it out (neither for a single equation) though I tried a thousand split, multline, &quadd, \left\right\ and whatever commands. Is there an extra package I should use?
\begin{subequations} \label{1}
\begin{eqnarray}
p(r) = \frac{Q}{2\pi T} \sum\limits_{i=1}^n \ln{\sqrt{(\frac{a}{2}-d+x)^2+(y- i b)^2}} \label{1.1}\\
p(r) = \frac{Q}{2\pi T} \sum\limits_{i=1}^n \ln{\sqrt{(\frac{a}{2}-d+x)^2+(y+ i b)^2}} \label{1.2}\\
p(r) = \frac{Q}{2\pi T} \sum\limits_{i=0}^n \ln{\sqrt{(\frac{(2i+1)a}{2}+d+(-1)^i x)^2+y^2}} + \frac{Q}{2\pi T} \sum\limits_{i=0}^n \ln{\sqrt{(\frac{(2i+1)a}{2}-d+(-1)^i x)^2+y^2}} \label{1.3}
\end{eqnarray}
\end{subequations}
Thanks in advance!
Sue
I would like to write a multiline equation in latex
Actually it is the last of these three subequations that needs to be split, but I can't work it out (neither for a single equation) though I tried a thousand split, multline, &quadd, \left\right\ and whatever commands. Is there an extra package I should use?
\begin{subequations} \label{1}
\begin{eqnarray}
p(r) = \frac{Q}{2\pi T} \sum\limits_{i=1}^n \ln{\sqrt{(\frac{a}{2}-d+x)^2+(y- i b)^2}} \label{1.1}\\
p(r) = \frac{Q}{2\pi T} \sum\limits_{i=1}^n \ln{\sqrt{(\frac{a}{2}-d+x)^2+(y+ i b)^2}} \label{1.2}\\
p(r) = \frac{Q}{2\pi T} \sum\limits_{i=0}^n \ln{\sqrt{(\frac{(2i+1)a}{2}+d+(-1)^i x)^2+y^2}} + \frac{Q}{2\pi T} \sum\limits_{i=0}^n \ln{\sqrt{(\frac{(2i+1)a}{2}-d+(-1)^i x)^2+y^2}} \label{1.3}
\end{eqnarray}
\end{subequations}
Thanks in advance!
Sue