In my MWE below, I included an \mbox in my \align environment. I wanted the text line to be flush left, but when I inclued the text line as a separate line, all the equations got shifted to the right. How can I bascially include the \mbox in one line, then continue with the rest of the formula in the align environment?
Here is my code:
\documentclass{article}
\usepackage{amsmath,fourier,physics}
\begin{document}
\begin{align}
\mbox{Now ~} \dfrac{1}{z!} = & (z!)^{-1} \\
\ln p(z) = & z\ln\lambda - \lambda - \ln z! \nonumber \\
\mbox{Differentiating with respect to $\lambda$, we have}\nonumber \\
\pdv{\ln p(z)}{\lambda} = & \dfrac{z}{\lambda} - 1
\end{align}
\end{document}

mathtoolsrather thanamsmath. Use\text{..}rather than\mbox{..}in usual places. And, in case you want one whole line (or paragraph) in between math use\intertext{..}or\shortintertext{..}. – Manuel Oct 09 '15 at 21:50&should be before the=sign. – Bernard Oct 09 '15 at 21:54