I am using the align environment to create aligned numbered equations. I would like to add some regular text in between some equations (for the purpose of explaining the next step). Something like this:
f(x) = abc (1)
= def (2)
We now apply the mathematic property of foobar to achieve a new form.
= xyz (3)
I have tried the following:
\usepackage{amsmath}
\begin{align}
f(x) &= abc\\
&= def\\
\text{Using the property of logarithms that $x^{\log_x y} = y$, we can rewrite $P(w)$ to be $e^{\log P(w)}$.}\\
&= xyz
\end{align}
Which produces this output:
I would like:
- The text line to be centered (not aligned to the left of the
=sign) - The text line not to have an equation number.
Thanks for any help.


\intertextis made for that kind of thing, https://tex.stackexchange.com/questions/9577/how-can-i-break-an-align-environment-for-a-paragraph/9586#9586 – Torbjørn T. May 17 '21 at 17:57