0

I have some texts before and after two floats. The order is:

Text A....
Float B
Another float C
Text D....

If A and B can not be placed on one page, B and C will be put on next place. In this case D will be inserted between B and C and the order will be:

Page 1
  Text A....
  A portion of text D....

Page 2
  Float B
  A portion of text D....
  Another float C

But I want to get the following order:

Page 1
  Text A....
  A portion of text D....

Page 2
  Float B
  Another float C
  A portion of text D....

When I use 'h', 'ht', or 'htb' option for the floats, I cann't get the desired result. How can I achieve this?

Note: B and C are two seperate floats and I don't want to bind them together, because I allow B and C be splitted on two pages.

4
  • Put B an C in the same figure environment.
    – Johannes_B
    Commented Nov 20, 2019 at 7:38
  • Having a float at the bottom is common, an what floating means. Don't bother about the positioning. LaTeX already does.
    – Johannes_B
    Commented Nov 20, 2019 at 7:38
  • What about use t only in the second float, without h? It could be that it is allowed only one top float per page in your unknown document class or preamble, but that is not the default a standard document class.
    – Fran
    Commented Nov 20, 2019 at 8:53
  • saying that you have text before and after a float is already a sign of a problem. The only reason to mark anything with a float environment such as figure or table is to take it out of the document flow and specify that it may be inserted at some place convenient for page breaking so you have specified Text A and Text D follow each other in the main document flow, and separately specified to floating insertions that may be inserted at some point close, depending on page breaking requirements. Commented Nov 20, 2019 at 9:28

1 Answer 1

1

You can use \FloatBarrier from the placeins package to prevent floats (figures) pass some point such as start of the text that follows.

See also: [How to control the position of floating images?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .