As can be seen in the screenshot below, there is no spacing between the table and the text that follows. What is the reason for this and what is the best solution?
Here is my latex:
\documentclass{report}
% \usepackage[dvips]{graphicx}
\usepackage{multirow}
\usepackage{tabularx}
\begin{document}
\begin{tabular}{ |p{3cm}||p{2cm}|p{2cm}|p{2cm}|}
\hline
\multicolumn{1}{|c||}{} & \multicolumn{3}{c|}{\textbf{Performance}} \
\multicolumn{1}{|c||}{\textbf{Method}} & \multicolumn{1}{c}{Excellent} & \multicolumn{1}{c}{Suboptimal} & \multicolumn{1}{c|}{Poor} \
\cline{2-4}
Title Search & 22 & 15 & 14 \
Newline Freq. & 44 & 3 & 4 \
\hline
\end{tabular}
As the change point detection algorithm performs quite well on these 50 samples and is much better than the title search method, we use it to trim our entire dataset.
\end{document}
----------------------------EDIT------------------------------
When I attempt to use the solution posted by Karlo in my full latex document, my table appears inbetween two items in my enumerated list. Here is a screenshot:
I was able to get a similar (and most likely related) issue as the screenshot above with the following code:
\documentclass{report}
% \usepackage[dvips]{graphicx}
\usepackage{multirow}
\usepackage{tabularx}
\begin{document}
\begin{enumerate}
\item \textbf{Excellent}: The trimming occurred exactly where desired.
\item \textbf{Suboptimal}: The trimming occurred within a couple sentences of where desired.
\item \textbf{Poor}: A good chunk (more than a 3-4 sentences) of the book was erroneously trimmed or a significant amount of the noise was kept.
\end{enumerate}
\begin{table}
\begin{tabular}{ |p{3cm}||p{2cm}|p{2cm}|p{2cm}|}
\hline
\multicolumn{1}{|c||}{} & \multicolumn{3}{c|}{\textbf{Performance}} \
\multicolumn{1}{|c||}{\textbf{Method}} & \multicolumn{1}{c}{Excellent} & \multicolumn{1}{c}{Suboptimal} & \multicolumn{1}{c|}{Poor} \
\cline{2-4}
Title Search & 22 & 15 & 14 \
Newline Freq. & 44 & 3 & 4 \
\hline
\end{tabular}
\end{table}
As the change point detection algorithm performs quite well on these 50 samples and is much better than the title search method, we use it to trim our entire dataset.
\end{document}
With the code above, the table gets outputted completely before the list even though it comes after the enumerated list in the code.





