0

I want to use the flalign so I can have left aligned text in-between equations. For example

\begin{flalign}
    && f &= ma&\\
    \text{Which we may express as} \\
    && f &= m \frac{dv}{dt}
\end{flalign}

However this gives an equation number for every line, including the \text{...}.

How can I have one equation number that appears centered for the rendered result, as with any other equation number.

Mico
  • 506,678
user27119
  • 389

1 Answers1

3
\documentclass{article}
\usepackage{amsmath} 

\begin{document}
\begin{flalign}
    && f &= ma&             \notag  \\
\text{Which we may express as}      \\
    && f &= m \frac{dv}{dt} \notag
\end{flalign}

\bigskip\noindent%
You may consider the following solution:
\begin{subequations}\label{eq:sys}
    \begin{align}
f &= ma                             \\
\intertext{Which we may express as}
f &= m \frac{dv}{dt}         
\end{align}
\end{subequations}
\end{document}

enter image description here

Zarko
  • 296,517
  • Nice solution, is there a way to keep the equation centred on the page, while keeping the in-equation text left justified? – user27119 Aug 24 '20 at 20:05
  • 1
    @Q.P., the second example provide this, Yes, it hasn't common equation number on the vertical middle, however it is replaced by two (to my opinion) more meaningful equation sub numbering. – Zarko Aug 24 '20 at 20:26