The following code doesn't give the expected result.
\documentclass{standalone}
\usepackage{witharrows}
\begin{document}
$\begin{WithArrows}
A & = (a+1)^2 \Arrow[tikz=thick]{we expand} \\
& = a^2 + 2a + 1
\end{WithArrows}$
\end{document}
In the output, the arrow is missing. This surely comes from the different compilations needed to add the arrow.
Is there an "automatic" way to fix that?
DispWithArrows*
, but in this case the result is a whole line. I see nothing in the manual that can solve your problem.varwidth
andDispWithArrows*
one gets an output where the arrow isn't missing. That result can be cropped by an external tool.