I am writing an article with the ACM Sigplan class and want to balance the two columns on the last page of my text (before the bibliography section, which is on a separate page).

I usually use the balance package and the \balance command on the last page, but in this case it sometimes messes up the vertical space between two lines in the second column, as you can see here:

snippet of text with too less distance between paragraphs

The balancing itself is correct. Without balancing, the space at this position is correct. There is nothing special at this position in the source code (just text).

Whether the problem happens, depends on a lot of other things, for example the content of previous pages. It is also not always between the same two lines, the position also varies depending on other document content.

Here is the smallest example where I could reproduce the problem (yes it has three pages, but if you remove any of the first two, the problem goes away):


\blindtext \blindtext \blindtext \blindtext


\blindtext \blindtext



\blindtext \blindtext




In this example, the problem occurs between the 6th and 7th line in the right column of the last page (compiled PDF).

I use pdflatex (version 3.1415926-1.40.10 TeX Live 2009/Debian), and several PDF viewers show the problem (at least evince and acroread).

I also tried the flushend package, with no effect at all, and the \balancecolumns command provided by the document class, which produces completely wrong layout.

I have it working with a manual column break at the right position in the text (using \vfill\pagebreak\noindent), but I'm wondering if there is an automatic solution, of if I can fix the problem with the balance package.

I cannot change the provided class file or use the multicol package instead of \twocolumn.

  • 1
    Here, your MWE show no problem (with TeXLive 2012 or with TeXLive 2009)! Jul 17, 2012 at 14:53
  • 1
    See also How to balance last page of two-column layout? Jul 17, 2012 at 14:55
  • @PolGab Strange, it happens on my machine and on that of a colleague. Here is PDF which shows the outcome of my MWE: filehost.ws/l7penk0t4fd6 Jul 17, 2012 at 15:15
  • @PhilippWendler: With your PDF file (main.pdf), I measure the distances between baseline of words match and Hello (first paragraph of last column) and between baseline of words length and Hello (second paragraph). These two distances are equal! Jul 17, 2012 at 15:38
  • 1
    @PhilippWendler: I think that it is a bug from sig-alternate.cls. This class is a series of corrections applied to a patchwork of old codes. Maybe you can write to Gerry Murray (murray at hq.acm.org)... Jul 17, 2012 at 22:18


Browse other questions tagged .