I have couple of lines (text) followed by table. I want both the text and table to appear in same page, now text appears in one page and table in next page. How to change it? I have tried using \vspace{-5cm}but of no use, is there a better way?
Example:
\chapter{bbbb : aaaa}
\label{cccc}
\begin{footnotesize}
\sf
\section{eeee}
\label{fffff}
\#Print Out Time: 3/15/2010 2:06:07 PM
\\
\#Ref: xyz
..............
\begin{tabular}{lllrl}
........
\end{tabular}
\nopagebreakbetween yourtabularand the text? – Werner Aug 24 '11 at 19:51samepageenvironment, or if that fails, in aminipageenvironment. – Aditya Aug 24 '11 at 21:46placinspackage provides the\FloatBarriercommand, which could be useful – cmhughes Aug 25 '11 at 07:33