0

I have the following MWE:

\documentclass{article}    
\usepackage{amsmath}

\begin{document}


This example solves a simple equation:   

\begin{equation}
x + 2 = 6 \nonumber
\end{equation}    

\begin{equation}
\Leftrightarrow \nonumber
\end{equation}    

\begin{equation}
x = 4
\end{equation}


It would nice if the spacing between the equations was reduced!

\end{document}

Which looks like this:

enter image description here

I would like to reduce the spacing before and after the equivalence sign. I tried these options but none of them seems to work. Help!

1 Answers1

2

Since you are using the amsmath package, you should probably be using one of its grouping environment for this.

In this case, you want to display consecutive equations, centered with no special alignement. The gather environment does just that:

\begin{gather}
x + 2 = 6 \notag\\
\Leftrightarrow \notag\\
x = 4
\end{gather}

result