LaTeX Aligning and numbering equations in LaTeX

  • Thread starter Thread starter shomuban
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

The discussion focuses on aligning and numbering equations in LaTeX, specifically using the aligned environment to achieve vertical alignment of equal signs across multiple equations. The user initially attempted to use the split environment but found it unsatisfactory for alignment. The solution provided involves using \begin{aligned} to properly align the equations while assigning a single equation number to the pair. This method effectively resolves the alignment issue while maintaining a clean presentation.

PREREQUISITES
  • Familiarity with LaTeX typesetting
  • Understanding of the equation environment in LaTeX
  • Knowledge of the aligned environment in LaTeX
  • Basic mathematical notation in LaTeX
NEXT STEPS
  • Explore advanced LaTeX environments for multi-line equations
  • Learn about the gathered environment for centered equations
  • Research the use of align for multiple equations with separate numbering
  • Investigate LaTeX packages that enhance equation formatting, such as amsmath
USEFUL FOR

Mathematicians, researchers, and students who need to format complex equations in LaTeX, particularly those requiring precise alignment and numbering of multiple equations.

shomuban
Messages
3
Reaction score
0
I have not been able to find any help for the following problem. I have two equations of the type


blahbli=0 j=1,2,..., S
blahbla=0 k=1,2,..., T

where I want the first and second equal signs on each line to line up vertically with the corresponding equal signs on the second line AND I want to assign a single equation number to the pair of equations. I tried

\begin{equation}
\begin{split} blahbli &=0 \qquad j=1,2,\ldots, S\\
blahbla &=0 \qquad k=1,2,\ldots, T.
\end{split}
\end{equation}

but that does not align the second equal sign and looks ugly. Any way around this? Appreciate your help!
 
Physics news on Phys.org
Use aligned rather than split.

<br /> \begin{aligned} blahbli &amp;=0 &amp;j&amp;=1,2,\ldots, S\\<br /> blahbla &amp;=0&amp;k&amp;=1,2,\ldots, T.<br /> \end{aligned}<br />
 
Thank you so much! I had never used the aligned command before.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
8K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K