I'm trying to align the = of the third line with the second = of the second line. I've tried several combinations with no pleasing result. There are numerous 'alignment' questions and answers but none seem to fit this (trivial?) situation.
MWE:
\documentclass[12pt,a4paper]{article}
\usepackage[fleqn]{amsmath}
\begin{document}
\begin{alignat*}{2}
\text{Then } x &= a_0y \text{ for some } y \in D\\
&= a_0uy = a_0yu\\
&= xu
\end{alignat*}
\end{document}




doublealignment! Thx! Btw, can you briefly say what the{alignedat}[t]{1}does ? – Athena Widget Apr 18 '17 at 14:50alignedatdoes the same asalignat, except that it is not a display environment but creates a table liketabularandarray, which can be used anywhere in math mode. The[t]option does the same as fortabularandarray: It alignsalignedatwith its first line (top). – gernot Apr 18 '17 at 14:53arrayapproach suggested by Zarko? i.e the{alignedat}[t]{1}does the table creation for us? (Sorry I'm still a bit green;) – Athena Widget Apr 18 '17 at 14:57alignedat{1}and an ordinaryalignedwith a single&? – Bernard Apr 18 '17 at 15:10aligned… – Bernard Apr 18 '17 at 15:26arrayandalignedat/alignedis the spacing of the columns and rows. If you writex&=ayorx&=&ayin an array environment, it will be spaced unevenly or too wide; with extra tweaking you can use it as well. – gernot Apr 18 '17 at 15:27Then, for some $y\in D$, we have $x=a_0y=...=xu$. Or:Since $x=a_0y$ for some $y\in D$, we have $x=...$`. The best choice depends on where the argument is heading. – gernot Apr 18 '17 at 15:34for someetc appears after the introduction,x=a_0y. Thx! – Athena Widget Apr 18 '17 at 16:29