I have some troubles with spacing before and after tabular boxes. When my table have only one row, everything is okay.
\documentclass{article}
\usepackage{setspace}
\begin{document}
\doublespacing
Some text.
\begin{tabular}{|l|}
\hline
Some text.\\
\hline
\end{tabular}
Some text.
\end{document}

But when I add new row, spacing before and after table disappears!
\begin{tabular}{|l|}
\hline
Some text.\\ \hline
Some text.\\
\hline
\end{tabular}

What should I do to fix this?

centerorflushleftenvironments, which would add some space – David Carlisle Apr 25 '17 at 21:59\doublespaceis the culprit here which leaves enough space when there's a single row in thetabular. With multiple rows (2+), thetabularstill acts like a singular item (like a character) on the line it's put, but it's taller than the expected line height, and is therefore just squeezed in... leaving no vertical space above/below. – Werner Apr 25 '17 at 22:01centerandflushleftenvironments add to much space. – noxwell Apr 25 '17 at 23:19