I have the following MWE:



This example solves a simple equation:   

x + 2 = 6 \nonumber

\Leftrightarrow \nonumber

x = 4

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


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

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:

x + 2 = 6 \notag\\
\Leftrightarrow \notag\\
x = 4


| 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.