0

I have several figures in my two-column environment, I am using the template of MNRAS:

https://www.sharelatex.com/templates/journals/mnras

I have found that latex never respect the ordering of the figures. The problem is that there is a quite large figure that always ends up after three smaller figures. I have seen that there is a package called afterpage, but that shouldn't work in a two column environment.

What can I do to improve the ordering?

  • can you add a working example of this – touhami Feb 12 '15 at 7:53
  • The template you mention doesn't replicate the problem. Could you include a minimal document that replicates the problem here? – Werner Feb 12 '15 at 7:53
4

This is a known bug in latex: add \RequirePackage{fixltx2e} at the start of the document.

  • ok, now the ordering is correct, but the result is horrible. There are empty columns with no text, just nearby the single column figures. Do you know how to solve this? – simona Feb 12 '15 at 10:08
  • 1
    @simona Not without a usable test example. Note that 2-column figures always go on to the next page at the earliest, unlike single column figures they can not float to the top of the current page, so sometimes you need to move the figure* earlier in the source file. – David Carlisle Feb 12 '15 at 10:17
  • OK, I removed afterpage and moved the position of figures in the code, and that made it. I didn't know that two-column figures would not float to the top of the page. – simona Feb 12 '15 at 11:02
  • 2
    @simona basically the problem is if the figure is encounted in the second column, the first column has already been saved in a full height box and the column break fixed, so there is no way to add a full column figure. (In the first column figure it would be possible but would complicate the code and latex has never attempted that) – David Carlisle Feb 12 '15 at 12:14

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.