I am new latex and in the learning phase. I making a document on it, but the problem is that its formatting is incorrect as i compile the source code of the latex. like i am making a table and it inserted in between the item list and i am making it after the list. i don't know why it is doing this. Secondly if I remove some of the item list, the table goes on the next page but in the end of the page leaving the above potion blank. I searched a lot but can't find the suitable answer.
this is code
\documentclass{report}
\begin{document}
\include{criterion1}
\end{document}
in criterion chapter I have
\begin{itemize}
\item 4 items here
\begin{itemize}
\item 8 item here
\end{itemize}
\end{itemize}
if I put table after this
\begin{table}
\centering
\caption{correlation between objectives and features of the program}
\begin{longtable}{|c|p{3in}|}
\end{longtable}
\end{table}
It went wrong in a seance that it comes either in between the 2nd nested item list or goes on the next page but in the middle of it leaving the whole page blank
\documentclass{...}and ending with\end{document}. – Jubobs Mar 7 at 9:41