Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How to reduce or make the space equal of linespacing before and after the $$ something $$ ?
The use of $$...$$ is depricated in LaTeX. Instead you should use \[...\].
You can change the spacing before an after by doing something along the following lines: