Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Set table position to top

My document (book) has text and floats. There is not enough text, so that all floats can be placed before the text finishes. Then pdfLaTeX puts the remaining float right in the middle of an otherwise empty page. This does not look good. Is there a way to position these floats at the top of the page instead in the middle? Placement specifiers are already given [t]. Also combinations of [h,t,!,H] don't help.

share|improve this question
1  
Have a look at Set table position to top, and please tell us if it helped. –  Stefan Kottwitz Sep 27 '11 at 13:44
    
That worked!!!! –  Frank Sep 27 '11 at 13:56
    
Great, so I close this question as a duplicate. –  Stefan Kottwitz Sep 27 '11 at 16:05
add comment

marked as duplicate by Stefan Kottwitz Sep 27 '11 at 16:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

write into the preamble:

\makeatletter
\renewcommand\fps@figure{!htb}
\setlength\@fptop{0pt} 
\makeatother
\renewcommand{\floatpagefraction}{.6}% before: .5 
\renewcommand{\textfraction}{.15} % before: .2 
\renewcommand{\topfraction}{.8}     % before: .7 
\renewcommand{\bottomfraction}{.5}  % before: .3 
\setcounter{topnumber}{3} % before: 2 
\setcounter{bottomnumber}{1} % before: 1 
\setcounter{totalnumber}{5} % before: 3 
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.