Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Aligning and numbering equations in LaTeX

  1. May 13, 2010 #1
    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{split} blahbli &=0 \qquad j=1,2,\ldots, S\\
    blahbla &=0 \qquad k=1,2,\ldots, T.

    but that does not align the second equal sign and looks ugly. Any way around this? Appreciate your help!
  2. jcsd
  3. May 13, 2010 #2

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Use aligned rather than split.

    \begin{aligned} blahbli &=0 &j&=1,2,\ldots, S\\
    blahbla &=0&k&=1,2,\ldots, T.
  4. May 13, 2010 #3
    Thank you so much! I had never used the aligned command before.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Aligning numbering equations Date
Mathematica Number of extensions with Free Trial of Mathematica Nov 6, 2017
LaTeX Align at multiple points Feb 2, 2017
Latex problem with alignment character and & Oct 27, 2014
Please help Alignment of very very long equations in latex Apr 3, 2013
Latex alignment Sep 4, 2012