TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a document with many floats (figures, specifically). I want to be able to change the global floats positioning policy from htbp to just h (or even H with the floats package). For my-own reasons, I don't want to do this by appending the [h] argument to each float env.

One option that I can think of is using a macro:

\newcommand{\mypos}{h} % or htbp

I also prefer not to do that - It is cumbersome.

Is there a way to set the global float positioning argument globally?

share|improve this question
If you accept an answer, it would be nice to also upvote it. (This is also true for my answer to your question abour listings and subfigure. ;-)) – lockstep Dec 3 '10 at 12:23
up vote 12 down vote accepted

Some lines in the preamble should do the trick.

share|improve this answer

You may use the floatrow package and its \floatplacement macro:








% \centering% default with "floatrow"
\caption{A figure}


enter image description here

share|improve this answer

Your Answer


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.