How to note several transformations at once like 2x-4=0 | +4; :2

16 Views Asked by At

I have a long equation in a TeX document and want to show help the reader to see clearly the transformations. On the other hand I do not want to repeat the equation for every little perhaps trivial step. Is there a common way to typeset a list of operations?

Minimal working example: Should I write \begin{align} 2x-4&=0 \quad | +4;\, :2\\ \Leftrightarrow \quad\quad\quad x&=2 \end{align}

or better

\begin{align} 2x-4&=0 \quad | +4\, |\, :2\\ \Leftrightarrow \quad\quad\quad x&=2 \end{align}

or something different? Is it obvious to read this from left to right?