I have a little problem with unwanted line breaks. I usually leave a free line before using \begin{} for graphics, align, table, etc. to gain a clearer structure in my script. The problem is, that latex converts that free line into a free line in the pdf, without any specific reason. I can get rid of them when not using any free lines in the script, but that leads to pretty chaotic looking script.
It is pretty much the opposite of what latex should do and I am really surprised it does so. Just in case it is problem with one of the packages I am using, here they are:
\usepackage [latin1]{inputenc}
\usepackage [english]{babel}
\usepackage {amssymb}
\usepackage {amsmath}
\usepackage {amsthm}
\usepackage {setspace}
\usepackage {hyperref}
\usepackage {graphicx}
\usepackage {pdfpages}
\usepackage [a4paper,left=3cm,right=2.5cm,bottom=3cm,top=3cm]{geometry}
\usepackage {caption}
\usepackage {float}
\usepackage {tabularx}
\usepackage {multirow}
\usepackage {subfigure}
\usepackage [sort,square,super,nonamebreak]{natbib}
\usepackage {wrapfig}
\usepackage {listings}
\usepackage {xcolor,soul}
\usepackage {color}
\usepackage {braket}
\usepackage {acronym}
\usepackage {array}
\usepackage {longtable}
\usepackage [titletoc, title]{appendix}
\usepackage [percent]{overpic}
\usepackage {wasysym}
Anyone had this problem before and knows how to solve it?