LaTeX Multiple alignment points in LaTeX

Click For Summary
The discussion revolves around formatting multiline equations in LaTeX using the align or alignat environments. The goal is to align two strings of equalities such that the second string starts directly beneath the equal sign of the first, rather than being misaligned. Users express frustration with the results they are getting, which do not meet their expectations. Suggestions include the possibility of using separate align environments to achieve the desired formatting, as it may not be feasible to accomplish this alignment within a single environment. The conversation highlights the limitations of align and alignat for specific formatting needs in mathematical typesetting.
Fredrik
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Gold Member
Messages
10,876
Reaction score
423
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:
A+B+C=D=E
     =F=G=H
I=J
rather than
Code:
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}
 
Physics news on Phys.org
Have you tried using two separate \begin{align}...\end{align} environments? What you are trying to achieve, might not be possible within one environment.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K