I really don't understand the array environment.
Now, I need to present four centered equations, with an aligned arrow between two of them, like this (currently, the arrows aren't aligned) :
Code: Select all
\documentclass[12pt,letterpaper]{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
\begin{equation*}
\begin{array}{c@{\qquad}c}
A = B + C
\qquad\Rightarrow
& D = E - F, \\ \\
G = H
\qquad\Rightarrow
& K = P + Q + M.
\end{array}
\end{equation*}
\end{document}
Here's a preview :

- array.jpg (9.17 KiB) Viewed 55501 times
As you can see, the equations are centered as they should. However, the arrows aren't aligned in the middle.
How can I edit this code to align the arrows in the middle, while keeping the equations centered ?