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.

The document Using Imported Graphics in L A TEX and pdfL A TEX talks about the different ways to affect where a floating figure is placed [htbp]. But these arguments are optional ...

So how is the float placed if I don't enter any options? Is not entering any options equal to [htbp] or some other combination of placement demands? If so which?

share|improve this question
1  
@LaRiFaRi The one thing about floats that Frank's opus does not answer is the question asked here. –  David Carlisle Apr 22 at 9:18
1  
Just a small addition. They are optional but also restrictive. Eg if you only put [bp] then you override the default and latex is only allowed to put it in bottom or new page. Took me ages to understand the difference that it's not a preference but requirement :) –  Trefex Apr 22 at 9:23
1  
@Trefex yes which is why using [h] is such a bad idea, as it means not top, not bottom and not on a float page, which doesn't give latex many options.... –  David Carlisle Apr 22 at 9:29
    
@DavidCarlisle exactly, I always use [!htb] which fits my needs for most of the cases. –  Trefex Apr 22 at 13:00
    
@Trefex that's almost as bad:-) It's logically dubious to have a default that you don't want and then over-ride the default on every instance of a float. Better to set the defaults that you want. –  David Carlisle Apr 22 at 13:30

1 Answer 1

up vote 12 down vote accepted

It is set in the class per float type

article.cls defines

\def\fps@figure{tbp}
\def\fps@table{tbp}

so for figures and tables the default is [tbp]

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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