Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need to balance the heights of the last two columns of my ACM article that is typeset using sigplanconf.cls. This class file defines the following command:

  \global\@colht = \textheight
  \global\ht\@cclv = \textheight}

However, the above \balancecolumns command didn't work for me. I also tried the solutions proposed in response to similar questions: How to balance last page of two-column layout?, Uneven text distribution with two-column layout, and Specifically, I tried the flushend, balance, and multicol pacakges. But, none of these packages could automatically balance the last two columns of my bibliography section.

I managed to manually break the list of references using the command \vfill\eject. But, this solution required manipulating the generated bbl file. I'd prefer an automatic solution that doesn't require changing a generated file.

Note that, the bibliography section is the last section of the article, but it runs over two pages.

share|improve this question

2 Answers 2

Here's an approach that seems to work. Truth be told, I've only tried it in article.cls with twocolumn and by inputing a .bbl file directly:(See edit below for verification with sigplanconf.cls).


    \def\balanceissued{unbalanced}%flag to indicate if \balance has been used

Based on @egreg's previous answer and the comments, it uses the balance package and inserts a \balance command on the last page by renewing the \bibitem command. The lastpage package is used to define \lastpage@lastpage. The \balanceissued is to prevent \balance from being called multiple times on the last page. Interestingly, it seems to work fine if this occurs (which could shorten the code a bit).

Here is without the above:

without balance

and with the above (run twice to establish the last page):

enter image description here


Assuming I am interpreting the question correctly, I have verified that the approach works with sigplanconf. Below is a test article using blindtext and enough references to get onto the next page (as the question states). Is this what you are after?


    \def\balanceissued{unbalanced}%flag to indicate if \balance has been used
\title{Using \texttt{\textbackslash{}balance} to equalize the last two columns of references in a \texttt{sigplanconf} conference paper}
\authorinfo{John Doe}{Bogus University}{}
\toappear{To appear somewhere}
\section{Materials and Methods}
\section{Results and Discussion}

    Daniel Aguado, Tatiana Montoya, Jos{\'e} Ferrer, and Aurora Seco.
    \newblock Relating ions concentration variations to conductivity variations in
      a sequencing batch reactor operated for enhanced biological phosphorus
    \newblock {\em Environmental Modelling \& Software}, 21(6):845--851, 2006.

    Johwan Ahn, Sarah Schroeder, Michael Beer, Simon McIlroy, Ronald~C. Bayly,
      John~W. May, George Vasiliadis, and Robert~J. Seviour.
    \newblock Ecology of the microbial community removing phosphate from wastewater
      under continuously aerobic conditions in a sequencing batch reactor.
    \newblock {\em Applied and Environmental Microbiology}, 73(7):2257--2270, 2007.

    T.~Aiso, H.~Yoshida, A.~Wada, and R.~Ohki.
    \newblock Modulation of {mRNA} stability participates in
      stationary-phase-specific expression of ribosome modulation factor.
    \newblock {\em Journal of Bacteriology}, 187(6):1951--1958, 2005.

    Michael~D. Aitken, Mark~D. Sobsey, Nicole~A. Van~Abel, Kimberly~E. Blauth,
      David~R. Singleton, Phillip~L. Crunk, Cora Nichols, Glenn~W. Walters, and
      Maria Schneider.
    \newblock Inactivation of \textit{Escherichia coli} {O157:H7} during
      thermophilic anaerobic digestion of manure from dairy cattle.
    \newblock {\em Water Research}, 41(8):1659--1666, 2007.

    M.~Akiyama, T.~Tsuge, and Y.~Doi.
    \newblock Environmental life cycle comparison of polyhydroxyalkanoates produced
      from renewable carbon resources by bacterial fermentation.
    \newblock {\em Polymer Degradation and Stability}, 80(1):183--194, 2003.

    Muamar~M. Al-Najjar, Erik~R. Coats, and Frank~J. Loge.
    \newblock The role of the microbial stringent response in excess intracellular
      accumulation of phosphorous in mixed consortia fed synthetic wastewater.
    \newblock {\em Water Research}, 45(16):5038--5046, 2011.

    A.~Alban, S.~O. David, L.~Bjorkesten, C.~Andersson, E.~Sloge, S.~Lewis, and
    \newblock A novel experimental design for comparative two-dimensional gel
      analysis: Two-dimensional difference gel electrophoresis incorporating a
      pooled internal standard.
    \newblock {\em Proteomics}, 3(1):36--44, 2003.

    M.~G.~E. Albuquerque, G.~Carvalho, C.~Kragelund, A.~F. Silva, M.~T.~B. Crespo,
      M.~A.~M. Reis, and P.~H. Nielsen.
    \newblock Link between microbial composition and carbon substrate-uptake
      preferences in a {PHA}-storing community.
    \newblock {\em {ISME} Journal}, 7(1):1--12, 2013.

    M.~G.~E. Albuquerque, S.~Concas, S.~Bengtsson, and M.~A.~M. Reis.
    \newblock Mixed culture polyhydroxyalkanoates production from sugar molasses:
      The use of a 2-stage {CSTR} system for culture selection.
    \newblock {\em Bioresource Technology}, 101(18):7112--7122, 2010.

    M.~G.~E. Albuquerque, M.~Eiroa, C.~Torres, B.~R. Nunes, and M.~A.~M. Reis.
    \newblock Strategies for the development of a side stream process for
      polyhydroxyalkanoate {(PHA)} production from sugar cane molasses.
    \newblock {\em Journal of Biotechnology}, 130(4):411--421, 2007.

    M.~G.~E. Albuquerque, V.~Martino, E.~Pollet, L.~Av{\'e}rous, and M.~A.~M. Reis.
    \newblock Mixed culture polyhydroxyalkanoate {(PHA)} production from volatile
      fatty acid {(VFA)}-rich streams: Effect of substrate composition and feeding
      regime on {PHA} productivity, composition and properties.
    \newblock {\em Journal of Biotechnology}, 151(1):66--76, 2011.

    M.~G.~E. Albuquerque, C.~A.~V. Torres, and M.~A.~M. Reis.
    \newblock Polyhydroxyalkanoate {(PHA)} production by a mixed microbial culture
      using sugar molasses: Effect of the influent substrate concentration on
      culture selection.
    \newblock {\em Water Research}, 44(11):3419--3433, 2010.

    James~E. Alleman and Robert~L. Irvine.
    \newblock Storage-induced denitrification using sequencing batch reactor
    \newblock {\em Water Research}, 14(10):1483--1488, 1980.

    G.~Andreottola, G.~Bortone, and A.~Tilche.
    \newblock Experimental validation of a simulation and design model for nitrogen
      removal in sequencing batch reactors.
    \newblock {\em Water Science and Technology}, 35(1):113--120, 1997.

    Simon Anterrieu, Luca Quadri, Bert Geurkink, Inez Dinkla, Simon Bengtsson,
      Monica Arcos-Hernandez, Tomas Alexandersson, Fernando Morgan-Sagastume, Anton
      Karlsson, Markus Hjort, Lamija Karabegovic, Per Magnusson, Peter Johansson,
      Magnus Christensson, and Alan Werker.
    \newblock Integration of biopolymer production with process water treatment at
      a sugar factory.
    \newblock {\em New Biotechnology}, 31(4):308--323, 2014.

    Felicity~J. Appel.
    \newblock Advancing a post-anoxic biological nutrient removal process selecting
      for nitritation.
    \newblock Master's thesis, University of Idaho, 2015.

    Lise Appels, Jan Baeyens, Jan Degr{\`e}ve, and Raf Dewil.
    \newblock Principles and potential of the anaerobic digestion of
      waste-activated sludge.
    \newblock {\em Progress in Energy and Combustion Science}, 34(6):755--781,

    M.~V. Arcos-Hernandez, B.~Laycock, S.~Pratt, B.~C. Donose, M.~A.~L. Nikolic,
      P.~Luckman, A.~Werker, and P.~A. Lant.
    \newblock Biodegradation in a soil environment of activated sludge derived
      polyhydroxyalkanoate {(PHBV)}.
    \newblock {\em Polymer Degradation and Stability}, 97(11):2301--2312, 2012.

    M{\'o}nica~V. Arcos-Hern{\'a}ndez, Bronwyn Laycock, Bogdan~C. Donose, Steven
      Pratt, Peter Halley, Salah Al-Luaibi, Alan Werker, and Paul~A. Lant.
    \newblock Physicochemical and mechanical properties of mixed culture
      polyhydroxyalkanoate {(PHBV)}.
    \newblock {\em European Polymer Journal}, 49(4, SI):904--913, 2013.

    M{\'o}nica~Vanessa Arcos~Hern{\'a}ndez.
    \newblock {\em Production and Characterization of Mixed Culture
    \newblock Doctoral thesis, The University of Queensland, 2012.

    Edward Ardern and William~T. Lockett.
    \newblock Experiments on the oxidation of sewage without the aid of filters.
    \newblock {\em Journal of the Society of Chemical Industry}, 33(10):523--539,

    Madan~L. Arora, Edwin~F. Barth, and Margaret~B. Umphres.
    \newblock Technology evaluation of sequencing batch reactors.
    \newblock {\em Journal Water Pollution Control Federation}, 57(8):867--875,

    N.~Artan, D.~Orhon, and R.~Tasli.
    \newblock Design of {SBR} systems for nutrient removal from wastewaters subject
      to seasonal fluctuations.
    \newblock {\em Water Science and Technology}, 46(8):91--98, 2002.


Second to last page: secondtolast page

Last page balanced with \balance automatically inserted: balanced last page

share|improve this answer
Thanks for the detailed answer. I am actually using this with IEEEtrans which is not the same class as in the original question. And your solution works without problem. I gave you the bounty but OP should come back after four years and accept your solution :) – Aydin Oct 16 at 13:56

With the balance package the output is correct.

One must issue \balance between two paragraphs that fall in the first column of the final page. This might need to insert it manually in the .bbl file, if the last page consists only of bibliography items.

share|improve this answer
Thanks for the tip. I didn't try the \balance in the bbl file. Anyways, I'd rather not to modify the bbl file. So, I still wonder if there is a cleaner solution that doesn't require manipulating the bbl file. – reprogrammer Dec 15 '11 at 22:39
Assuming the etoolbox package is available, would \AtBeginEnvironment{thebibliography}{\balance} do the trick? – Mike Renfro Dec 16 '11 at 0:53
@MikeRenfro No, looking at the documentation of balance: the \balance command should be put between two paragraphs in the first column of the last page. – egreg Dec 16 '11 at 11:24
If the start of the bibliography wound up in that position, would it work? Or would a literal paragraph break need to be present? – Mike Renfro Dec 16 '11 at 13:00
@MikeRenfro It would probably work, I believe. – egreg Dec 16 '11 at 13:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.