Say I have a set of equations:
(1)
\begin{align}
wx&=u\\
wy&=v\\
w&=10
\end{align}
(2)
\begin{align}
x&=u/w\\
y&=v/w\\
\end{align}
How can I do the following: put (1) and (2) in the same line but in two separate columns,
and add a \leftrightarrow
between them? i.e., something like
I tried putting (1) (2) and arrow in three minipage
environments, but the width of minipage
is hard to tune when (1) (2) have different width and looks quite ugly as above.
Best Answer
Try the
aligned
environment from the amsmath package.