LaTeX How Can I Write a Multiline Equation in Latex?

  • Thread starter Thread starter Sue Laplace
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

This discussion focuses on writing multiline equations in LaTeX, specifically using the subequations and eqnarray environments. The user encountered difficulties in splitting the last of three subequations and sought guidance on additional packages or commands. The solution involves correctly utilizing the multline environment for multiline equations. The user successfully resolved the issue after exploring various commands.

PREREQUISITES
  • Familiarity with LaTeX syntax and environments
  • Understanding of mathematical notation in LaTeX
  • Knowledge of the subequations and eqnarray environments
  • Experience with LaTeX packages for enhanced formatting
NEXT STEPS
  • Learn how to use the multline environment in LaTeX
  • Explore the amsmath package for advanced mathematical typesetting
  • Research best practices for formatting multiline equations in LaTeX
  • Investigate the align environment for aligning equations
USEFUL FOR

Students, researchers, and academics who are writing complex mathematical documents in LaTeX, particularly those needing to format multiline equations effectively.

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 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K