LaTeX forum ⇒ Page LayoutChange of float placement after upgrading

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Posts: 2
Joined: Mon Mar 20, 2017 5:33 pm

Change of float placement after upgrading

Postby arneelof » Mon Mar 20, 2017 8:12 pm

After upgrading from (something like) pdfTeX using libpoppler 3.141592-1.40.3-2.2 to something like pdfTeX 3.14159265-2.6-1.40.17 I have sever problems with the placement of figures when using the bioinformatics template ( Basically figures sometimes do not appear at all (because the do not fit before the end of the last page.) and floats in the two column layout gets empty spaces in the other column etc. Below are two pages one compiled with 3.141592-1.40.3-2.2 and one with 3.14159265-2.6-1.40.17

Any ideas ?



User avatar
Site Moderator
Posts: 3324
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Mar 20, 2017 8:38 pm

Over the years, changes to the engine have been made. The specific template you are mentioning has also been changed several times.

There is nothing much to do here, but to amend your document.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Posts: 2
Joined: Mon Mar 20, 2017 5:33 pm

Postby arneelof » Mon Mar 20, 2017 9:56 pm

Any tips on how to amend ? Whatever I do when putting the figures in they do not end up ideal. It has worked for me for the last decade but the last year it caused problems and so far my only solution is to use an old version. Normally I do not care that much as the publisher can fix the formatting before printing, but now I need to use this template and produce a final pdf for submission for a conference.

The template has not changed since 2003 and is the official template from Oxford University Press, I tried to figure out what was the problem (played with the parameters below but nothing really helped). Unfortunately my tex knowledge is not good enough to try to figure out what the problem is. Thanks for any help.

  1. % The total number of floats that can be allowed on a page.
  2. \setcounter{totalnumber}{20}
  3. % The maximum number of floats at the top and bottom of a page.
  4. \setcounter{topnumber}{10}
  5. \setcounter{bottomnumber}{10}
  6. % The maximum part of the top or bottom of a text page that can be
  7. % occupied by floats. This is set so that at least four lines of text
  8. % fit on the page.
  9. \renewcommand\topfraction{.9}
  10. \renewcommand\bottomfraction{.9}
  11. % The minimum amount of a text page that must be occupied by text.
  12. % This should accomodate four lines of text.
  13. \renewcommand\textfraction{.06}
  14. % The minimum amount of a float page that must be occupied by floats.
  15. \renewcommand\floatpagefraction{.94}
Last edited by Stefan Kottwitz on Tue Mar 21, 2017 6:59 am, edited 1 time in total.
Reason: code marked

User avatar
Stefan Kottwitz
Site Admin
Posts: 8032
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany

Postby Stefan Kottwitz » Tue Mar 21, 2017 6:59 am

Hi Arne,

welcome to the forum!

Could you perhaps post a sample document, that shows the problem? A reduced example of your code with images. Or without images, using the demo option of the graphicx package, either via \usepackage[demo]{graphicx} or using demo as document class option at the beginning of the document. With a Infominimal working example we could check how the parameters work or fail here.

Site admin

Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 2 guests