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

Comments

Post a Comment

Please dont forget to tell me if this post helped you or not...

Popular posts from this blog

Changing caption width in latex

Subtitle in latex

Send in Email in Background in Thunderbird