For figures there is posible to add placement spesifer like the following:


Where [H] is the placement specifier that places the figure "here" relative to the text. How can I decide this of an entire document, is there any usepackages, etc?

  • you can specify the default placement specifiers, eg make ht the default or whatever you need, but H is rather special it makes the figure a non-float, so it may not be set by the usual default mechanism – David Carlisle May 19 at 17:19
  • How would i specify the default placement specifier @DavidCarlisle? – Niklas May 19 at 17:21
  • \renewcommand\fps@figure{ht} (in a package or after \makeatletter) – David Carlisle May 19 at 17:23
  • 1
    the only reason to use figure is to specify the content as a float, so [H] (which just redefines it to be a non-float) is a very odd construct really and not normally recommended (I say that as it was my idea:-) – David Carlisle May 19 at 17:25
  • @DavidCarlisle yes you are right, looked in to it and it does make more sense with ht instead if H. \renewcommand\fps@figure{ht} worked fine, thanks for the reply! – Niklas May 19 at 17:30

So as David suggested this can be done with the following command:

% Make all figure use 'ht' position by default:

As he said it´s generally not recommended to use the H, instead use ht.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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