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

Multiple alignment points in LaTeX

  1. Feb 16, 2012 #1

    Fredrik

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    If I have two strings of equalities within the same align or alignat environment, and the first one is long enough to need two lines, I would want the result to look like
    Code (Text):
    A+B+C=D=E
         =F=G=H
    I=J
    rather than
    Code (Text):
    A+B+C=D=E
         =F=G=H
        I=J
    Is there a way to do this? I suppose it can be done with an array, but I thought either align or alignat would be able to handle this. I get garbage results like these:

    \begin{alignat}{3}
    &F_k &=(f\chi_E)^{-1}(v_k)=\{x\in X|f(x)\chi_E(x)=v_k\}=\{x\in X|f(x)=v_k\}\cap E\\
    &&=f^{-1}(v_k)\cap E=E_k\cap E\in\Sigma,\\
    &\mu\big(F_k)=\mu(E_k\cap E)\leq\mu(E_k)<\infty.
    \end{alignat}

    \begin{alignat}{4}
    &F_k && =(f\chi_E)^{-1}(v_k) =\{x\in X|f(x)\chi_E(x)=v_k\}=\{x\in X|f(x)=v_k\}\cap E\\
    &&&=f^{-1}(v_k)\cap E=E_k\cap E\in\Sigma,\\
    &\mu\big(F_k)=\mu(E_k\cap E)\leq\mu(E_k)<\infty.
    \end{alignat}
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: Multiple alignment points in LaTeX
  1. Latex alignment (Replies: 2)

Loading...