How can I left align an AMS flalign
block in LyX?
The answers in Use flalign or alignat or align or similar environment to align to the left say that to left align a set of equations one should use
The formula is
\begin{flalign*}
a &= b+c &\\
&= 1+1 &\\
&= 2 &
\end{flalign*}
and that it is important to have an &
as the last character of the line.
The problem is that LyX will produce the following LaTeX code:
\begin{flalign*}
a & =b+c\\
& =1+1
\end{flalign*}
I see two problems here:
- there is no
&
at the end of the lines, - there is a space after the first
&
.
How can one make LyX create code that will display as a left-aligned block of equations?
&
? If so, could write&{}
instead?