I'm trying to format a list of steps to solve a quadratic equation. I have it so that it is aligning correctly for each of the math steps, but now I want to add some headings. This is what I have so far:
\begin{aligned}
x^2-4x+3&=&0\\\\
\noalign{\noindent some text in the middle.}\\\\
(x - 1)(x - 3)&=&0\\\\
\noalign{\noindent Solve Factor 1}\\\\
x - 1&=&0\\\\
+1& &+1\\\\
x&=&1\\\\
\noalign{\noindent Solve Factor 2}\\\\
x - 3&=&0\\\\
+3& &+3\\\\
x&=&3\\\\
\end{aligned}
The problems that I still have are: the noalign steps are still showing a lot of space around them. Also, is there a way to center the \noalign sections? Thanks!