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!

  • never leave a blank line before a display math environment or put one after another, – David Carlisle Jul 5 '17 at 11:38
  • cool I did not know that! thanks. can you give that as an answer so I can mark it correct for future reference? – user131526 Jul 5 '17 at 11:42
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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.