LaTeX How Can I Write a Multiline Equation in Latex?

  • Thread starter Thread starter Sue Laplace
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The discussion focuses on writing multiline equations in LaTeX, specifically addressing difficulties in splitting a particular subequation. The user seeks guidance on using commands like split, multline, and others, and inquires about the necessity of additional packages for proper formatting. After some interaction, the user confirms that they have resolved the issue and expresses a desire to remove the post.
Sue Laplace
Messages
10
Reaction score
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
 
Physics news on Phys.org
Ok I've got it :)

Can I remove this post?
 

Similar threads

Replies
1
Views
3K
Replies
7
Views
3K
Replies
2
Views
2K
Replies
2
Views
1K
Replies
3
Views
2K
Replies
3
Views
2K
Back
Top