I want to force a table and a figure to appear in a page with nothing except them. I've tried \clearpage but it makes lots of extra spaces in the document. Also some of the figs appear in the end of the document although I have placed them in the middle of the document.
This is the code I'm using :
\begin{figure*}[ht]
{\includegraphics[width=\linewidth]{pic1}}\caption{example_fig}
\label{fig1}
\end{figure*}
\begin{table*}[ht]
\begin{tabularx}{\linewidth}{@{}>{\hsize=0.8\hsize}X *2{>{\hsize=1.1\hsize}X}@{}}
a & b & c \\[0.7ex]
\end{tabularx}
\caption{example}
\label{tab:template}
\end{table*}
So if anyone could please assist me.
pplacement option, which is for a page with floats only:\begin{figure*}[pth]. Personally, I would never usehbut use the default:pth. – May 01 '13 at 13:17[!p]to make it less fussy but (as has been said before) it is hard to give exact advice without a working example that shows the problem. – David Carlisle May 01 '13 at 13:23