3

I want to have a figure placed inside its designated section, so I read about it here: Link

But, the problem with using \usepackage[section]{placeins} is that it will cause all other sections to be restricted to its command, while I only need one section applying this package and figures in other sections unrestricted. How can I achieve this? Thanks in advance.

Hans
  • 573

1 Answers1

3

Just don't use the [section] argument so by default nothing happens, then put \FloatBarrier at the point that you want to stop the float.

David Carlisle
  • 757,742
  • @Hans I can not understand your comment at all. This answer does exactly what you ask. The effect of [section] is to add \FloatBarrier to every section, and you asked that it just affected one section, and this does exactly that. As your question has no example not really sure what else anyone could offer as an answer? – David Carlisle Oct 16 '15 at 15:56
  • Thanks for the straightforward tip David. This is also a relevant post you have contributed to : strange figure floats – Hans Oct 16 '15 at 16:36