I'm trying to get a construction like
\documentclass{article}
\usepackage{amsmath,mathtools}
\begin{document}
\begin{align*}
a &= b \\
&\Downarrow \\
a &= c
\end{align*}
\end{document}
to look good. The problem is that the \Downarrow
is not horizontally centered between the =
signs. While I understand why this happens and why a \mathrel{\Downarrow}
doesn't help, I don't know how to fix it. I'm aware of the \ArrowBetweenLines[\Downarrow]
function in mathtools
, but that is for having the arrow to the left of the aligned lines. I would ideally want something that works the same way \vdotswithin{=}
does (from mathtools
). Does that exist somewhere? Or would it be difficult to manually "create a box corersponding to {}={}
and typeset a" \Downarrow
"centered inside it"?