Placing float (table or figure) at the top of the page in otherwise empty page in LaTeX
In latex if a table is going to any empty page (page with only that table and no other text), the table is always aligned vertically centre. And that does not look good always. Even the float place holder like [t] or [ht] or [t!] kind of things does not work. But there is a work around, just paste the following code at the preamble of the document (before \begin{document}
);
\makeatletter
\setlength\@fptop{0\p@}
\makeatother
Hope this will solve the problem.Cheers
APaul
didn't work for me :\
ReplyDeleteWorked for me! Thanks :)
ReplyDelete