# Balance package messes up vertical space between lines in second column [closed]

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:

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):

\documentclass{sig-alternate}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{balance}
\begin{document}

\begin{figure*}[t]
\blindtext \blindtext \blindtext \blindtext
\end{figure*}

foo
\clearpage

\blindtext \blindtext

\balance

\blindtext \blindtext

\blindtext

\blindtext

\end{document}


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.

-

## closed as too localized by Martin Schröder, Werner, Kurt, Stefan Kottwitz♦Jan 5 '13 at 23:01

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Here, your MWE show no problem (with TeXLive 2012 or with TeXLive 2009)! –  Paul Gaborit Jul 17 '12 at 14:53
–  Hendrik Vogt Jul 17 '12 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 –  Philipp Wendler Jul 17 '12 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! –  Paul Gaborit Jul 17 '12 at 15:38
@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)... –  Paul Gaborit Jul 17 '12 at 22:18
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8503860831260681, "perplexity": 1429.3278153184394}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2015-18/segments/1429246640001.64/warc/CC-MAIN-20150417045720-00111-ip-10-235-10-82.ec2.internal.warc.gz"}