I have an equation like so:
\begin{equation}
\label{eq:helper_params}
\tilde{B} = \begin{bmatrix} CB\\B \end{bmatrix}, \tilde{I} = \begin{bmatrix} I_p\\0 \end{bmatrix},
\tilde{Q} = \begin{bmatrix} Q_e & 0\\0 & Q_x \end{bmatrix}, \tilde{A} = \begin{bmatrix} \tilde{I}\quad \tilde{F} \end{bmatrix}
\end{equation}
which produces this:
I would like to automatically expand the space between each matrix such that the whole equation fills the textwidth (or linewidth or any other predefined similar constant). I want to achieve something similar to this:
Are there any mechanisms for this goal?
Best Answer
You can abuse the
flalign
environment; here are two realizations, in the first one I don't use the whole available space by adding two empty blocks at either end.However, my advice is to use just
\quad
or\qquad
between the items, so as to ensure uniform spacing across the document. So I provide also the version with\qquad
. In my opinion there's no battle.