LaTeX with biblatex and biber: How to balance printbibliography in a two column IEEE trans paper?












10















(repost/moved from stackoverflow: currently no answers)



Here is my LateX question:



I'm using (PDF)LaTeX with IEEEtran documentclass and biblatex/biber as bibliography system. As mentioned in the IEEE example (two column paper), references should be balanced between columns on the last page. The presented IEEEtriggeratref{} command inserts a newpage command after the given reference to manually balance the references list. But, it's not working with biblatex -> nothing happens.



How can I balance my references with biblatex in an equivalent way?



Here are my settings:



documentclass[conference]{IEEEtran}
[...]
usepackage[backend=biber, % replace bibtex with biber (bibliography backend engine)
bibstyle=ieee, % write literature lists in IEEE style
citestyle=numeric-comp, % cite uses a numeric key
sortcites=true,
maxbibnames=3
]{biblatex}
[...]


Here is the original natbib/bibtex example:



% trigger a newpage just before the given reference
% number - used to balance the columns on the last page
% adjust value as needed - may need to be readjusted if
% the document is modified later
IEEEtriggeratref{8}









share|improve this question




















  • 1





    You don't/can't. Because conferences don't require that's first and also if needed they do it manually upon publication so you don't need to worry about it. The tools you mention are meant specifically for BibTeX and they are not precise anyway. They break the bibliography roughly. If you really need it use enlargethispage{<a negative dimension>}

    – percusse
    Jun 11 '14 at 23:24








  • 1





    @percusse a) It's recomended to do so. b) "who can read is in advantage" and c) there is a solution -> see below

    – Paebbels
    Jun 12 '14 at 8:48











  • @percusse: just re your first point — I have just submitted a paper for a conference which (a) explicitly requires balancing columns on last page, and (b) asks authors to do this ourselves, without giving instructions for how to do so. The required class file — sigplanconf.cls — provides a macro that appears to be intended for this, but it’s not documented and doesn’t seem to work. So this is a real and recurring problem in the wild.

    – Peter LeFanu Lumsdaine
    Dec 9 '16 at 14:53













  • @PeterLeFanuLumsdaine They will require it but never check it. I can guarantee you. And my point is only valid for IEEE context

    – percusse
    Dec 9 '16 at 15:04













  • @percusse: They did check it: we had initially forgotten to balance them (along with a couple of other small style infractions) and they explicitly asked us to fix it. Indeed this isn’t IEEE, though. (It’s cpp2017.mpi-sws.org, an ACM SIGPLAN conference, fwiw.)

    – Peter LeFanu Lumsdaine
    Dec 9 '16 at 15:57


















10















(repost/moved from stackoverflow: currently no answers)



Here is my LateX question:



I'm using (PDF)LaTeX with IEEEtran documentclass and biblatex/biber as bibliography system. As mentioned in the IEEE example (two column paper), references should be balanced between columns on the last page. The presented IEEEtriggeratref{} command inserts a newpage command after the given reference to manually balance the references list. But, it's not working with biblatex -> nothing happens.



How can I balance my references with biblatex in an equivalent way?



Here are my settings:



documentclass[conference]{IEEEtran}
[...]
usepackage[backend=biber, % replace bibtex with biber (bibliography backend engine)
bibstyle=ieee, % write literature lists in IEEE style
citestyle=numeric-comp, % cite uses a numeric key
sortcites=true,
maxbibnames=3
]{biblatex}
[...]


Here is the original natbib/bibtex example:



% trigger a newpage just before the given reference
% number - used to balance the columns on the last page
% adjust value as needed - may need to be readjusted if
% the document is modified later
IEEEtriggeratref{8}









share|improve this question




















  • 1





    You don't/can't. Because conferences don't require that's first and also if needed they do it manually upon publication so you don't need to worry about it. The tools you mention are meant specifically for BibTeX and they are not precise anyway. They break the bibliography roughly. If you really need it use enlargethispage{<a negative dimension>}

    – percusse
    Jun 11 '14 at 23:24








  • 1





    @percusse a) It's recomended to do so. b) "who can read is in advantage" and c) there is a solution -> see below

    – Paebbels
    Jun 12 '14 at 8:48











  • @percusse: just re your first point — I have just submitted a paper for a conference which (a) explicitly requires balancing columns on last page, and (b) asks authors to do this ourselves, without giving instructions for how to do so. The required class file — sigplanconf.cls — provides a macro that appears to be intended for this, but it’s not documented and doesn’t seem to work. So this is a real and recurring problem in the wild.

    – Peter LeFanu Lumsdaine
    Dec 9 '16 at 14:53













  • @PeterLeFanuLumsdaine They will require it but never check it. I can guarantee you. And my point is only valid for IEEE context

    – percusse
    Dec 9 '16 at 15:04













  • @percusse: They did check it: we had initially forgotten to balance them (along with a couple of other small style infractions) and they explicitly asked us to fix it. Indeed this isn’t IEEE, though. (It’s cpp2017.mpi-sws.org, an ACM SIGPLAN conference, fwiw.)

    – Peter LeFanu Lumsdaine
    Dec 9 '16 at 15:57
















10












10








10


1






(repost/moved from stackoverflow: currently no answers)



Here is my LateX question:



I'm using (PDF)LaTeX with IEEEtran documentclass and biblatex/biber as bibliography system. As mentioned in the IEEE example (two column paper), references should be balanced between columns on the last page. The presented IEEEtriggeratref{} command inserts a newpage command after the given reference to manually balance the references list. But, it's not working with biblatex -> nothing happens.



How can I balance my references with biblatex in an equivalent way?



Here are my settings:



documentclass[conference]{IEEEtran}
[...]
usepackage[backend=biber, % replace bibtex with biber (bibliography backend engine)
bibstyle=ieee, % write literature lists in IEEE style
citestyle=numeric-comp, % cite uses a numeric key
sortcites=true,
maxbibnames=3
]{biblatex}
[...]


Here is the original natbib/bibtex example:



% trigger a newpage just before the given reference
% number - used to balance the columns on the last page
% adjust value as needed - may need to be readjusted if
% the document is modified later
IEEEtriggeratref{8}









share|improve this question
















(repost/moved from stackoverflow: currently no answers)



Here is my LateX question:



I'm using (PDF)LaTeX with IEEEtran documentclass and biblatex/biber as bibliography system. As mentioned in the IEEE example (two column paper), references should be balanced between columns on the last page. The presented IEEEtriggeratref{} command inserts a newpage command after the given reference to manually balance the references list. But, it's not working with biblatex -> nothing happens.



How can I balance my references with biblatex in an equivalent way?



Here are my settings:



documentclass[conference]{IEEEtran}
[...]
usepackage[backend=biber, % replace bibtex with biber (bibliography backend engine)
bibstyle=ieee, % write literature lists in IEEE style
citestyle=numeric-comp, % cite uses a numeric key
sortcites=true,
maxbibnames=3
]{biblatex}
[...]


Here is the original natbib/bibtex example:



% trigger a newpage just before the given reference
% number - used to balance the columns on the last page
% adjust value as needed - may need to be readjusted if
% the document is modified later
IEEEtriggeratref{8}






biblatex biber ieeetran






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 11 '14 at 19:51









Corentin

6,54923557




6,54923557










asked Jun 11 '14 at 19:24









PaebbelsPaebbels

84115




84115








  • 1





    You don't/can't. Because conferences don't require that's first and also if needed they do it manually upon publication so you don't need to worry about it. The tools you mention are meant specifically for BibTeX and they are not precise anyway. They break the bibliography roughly. If you really need it use enlargethispage{<a negative dimension>}

    – percusse
    Jun 11 '14 at 23:24








  • 1





    @percusse a) It's recomended to do so. b) "who can read is in advantage" and c) there is a solution -> see below

    – Paebbels
    Jun 12 '14 at 8:48











  • @percusse: just re your first point — I have just submitted a paper for a conference which (a) explicitly requires balancing columns on last page, and (b) asks authors to do this ourselves, without giving instructions for how to do so. The required class file — sigplanconf.cls — provides a macro that appears to be intended for this, but it’s not documented and doesn’t seem to work. So this is a real and recurring problem in the wild.

    – Peter LeFanu Lumsdaine
    Dec 9 '16 at 14:53













  • @PeterLeFanuLumsdaine They will require it but never check it. I can guarantee you. And my point is only valid for IEEE context

    – percusse
    Dec 9 '16 at 15:04













  • @percusse: They did check it: we had initially forgotten to balance them (along with a couple of other small style infractions) and they explicitly asked us to fix it. Indeed this isn’t IEEE, though. (It’s cpp2017.mpi-sws.org, an ACM SIGPLAN conference, fwiw.)

    – Peter LeFanu Lumsdaine
    Dec 9 '16 at 15:57
















  • 1





    You don't/can't. Because conferences don't require that's first and also if needed they do it manually upon publication so you don't need to worry about it. The tools you mention are meant specifically for BibTeX and they are not precise anyway. They break the bibliography roughly. If you really need it use enlargethispage{<a negative dimension>}

    – percusse
    Jun 11 '14 at 23:24








  • 1





    @percusse a) It's recomended to do so. b) "who can read is in advantage" and c) there is a solution -> see below

    – Paebbels
    Jun 12 '14 at 8:48











  • @percusse: just re your first point — I have just submitted a paper for a conference which (a) explicitly requires balancing columns on last page, and (b) asks authors to do this ourselves, without giving instructions for how to do so. The required class file — sigplanconf.cls — provides a macro that appears to be intended for this, but it’s not documented and doesn’t seem to work. So this is a real and recurring problem in the wild.

    – Peter LeFanu Lumsdaine
    Dec 9 '16 at 14:53













  • @PeterLeFanuLumsdaine They will require it but never check it. I can guarantee you. And my point is only valid for IEEE context

    – percusse
    Dec 9 '16 at 15:04













  • @percusse: They did check it: we had initially forgotten to balance them (along with a couple of other small style infractions) and they explicitly asked us to fix it. Indeed this isn’t IEEE, though. (It’s cpp2017.mpi-sws.org, an ACM SIGPLAN conference, fwiw.)

    – Peter LeFanu Lumsdaine
    Dec 9 '16 at 15:57










1




1





You don't/can't. Because conferences don't require that's first and also if needed they do it manually upon publication so you don't need to worry about it. The tools you mention are meant specifically for BibTeX and they are not precise anyway. They break the bibliography roughly. If you really need it use enlargethispage{<a negative dimension>}

– percusse
Jun 11 '14 at 23:24







You don't/can't. Because conferences don't require that's first and also if needed they do it manually upon publication so you don't need to worry about it. The tools you mention are meant specifically for BibTeX and they are not precise anyway. They break the bibliography roughly. If you really need it use enlargethispage{<a negative dimension>}

– percusse
Jun 11 '14 at 23:24






1




1





@percusse a) It's recomended to do so. b) "who can read is in advantage" and c) there is a solution -> see below

– Paebbels
Jun 12 '14 at 8:48





@percusse a) It's recomended to do so. b) "who can read is in advantage" and c) there is a solution -> see below

– Paebbels
Jun 12 '14 at 8:48













@percusse: just re your first point — I have just submitted a paper for a conference which (a) explicitly requires balancing columns on last page, and (b) asks authors to do this ourselves, without giving instructions for how to do so. The required class file — sigplanconf.cls — provides a macro that appears to be intended for this, but it’s not documented and doesn’t seem to work. So this is a real and recurring problem in the wild.

– Peter LeFanu Lumsdaine
Dec 9 '16 at 14:53







@percusse: just re your first point — I have just submitted a paper for a conference which (a) explicitly requires balancing columns on last page, and (b) asks authors to do this ourselves, without giving instructions for how to do so. The required class file — sigplanconf.cls — provides a macro that appears to be intended for this, but it’s not documented and doesn’t seem to work. So this is a real and recurring problem in the wild.

– Peter LeFanu Lumsdaine
Dec 9 '16 at 14:53















@PeterLeFanuLumsdaine They will require it but never check it. I can guarantee you. And my point is only valid for IEEE context

– percusse
Dec 9 '16 at 15:04







@PeterLeFanuLumsdaine They will require it but never check it. I can guarantee you. And my point is only valid for IEEE context

– percusse
Dec 9 '16 at 15:04















@percusse: They did check it: we had initially forgotten to balance them (along with a couple of other small style infractions) and they explicitly asked us to fix it. Indeed this isn’t IEEE, though. (It’s cpp2017.mpi-sws.org, an ACM SIGPLAN conference, fwiw.)

– Peter LeFanu Lumsdaine
Dec 9 '16 at 15:57







@percusse: They did check it: we had initially forgotten to balance them (along with a couple of other small style infractions) and they explicitly asked us to fix it. Indeed this isn’t IEEE, though. (It’s cpp2017.mpi-sws.org, an ACM SIGPLAN conference, fwiw.)

– Peter LeFanu Lumsdaine
Dec 9 '16 at 15:57












3 Answers
3






active

oldest

votes


















7














I don't use that class, so I may have misunderstood your question. But I think you should be able to do something like this, in your preamble



renewbibmacro{finentry}{%
iffieldequalstr{entrykey}{KEY}%<- key after which you want the break
{finentrynewpage}
{finentry}}


Instead of giving the reference by number, you give the key of the entrytype after which you want to insert newpage (in the place where I have KEY in the macro above). Of course, you can add anything else you want here. Basically, the code you put in place of newpage will be executed after the entry in question has been printed.






share|improve this answer
























  • Is it possible to translate the nth reference item into a bibtex key?

    – Paebbels
    Jun 12 '14 at 8:45



















6





+50









Based on Paul's answer, this is a drop-in replacement for the IEEEtriggeratref macro that works with biblatex:



usepackage{ifthen}

makeatletter
newcounter{IEEE@bibentries}
renewcommandIEEEtriggeratref[1]{%
renewbibmacro{finentry}{%
stepcounter{IEEE@bibentries}%
ifthenelse{equal{value{IEEE@bibentries}}{#1}}
{finentry@IEEEtriggercmd}
{finentry}%
}%
}
makeatother


The usage is the same as the original macro:



IEEEtriggeratref{9} % Breaks the column after the 9th entry
printbibliography





share|improve this answer
























  • I used a new counter because I don't know if biblatex already has such a counter. Maybe somebody can edit to use a builtin counter if it exists.

    – gigabytes
    Jun 23 '16 at 12:11











  • Thanks for your work. I'll test it when I write my next document.

    – Paebbels
    Jun 23 '16 at 14:30



















0














Adapting this answer to biblatex, here's an automatic version.



usepackage{balance}
usepackage{lastpage}

makeatletter
deflastreferencepage{lastpage@lastpage} % can use a hard-coded number instead
makeatother
defbalanceissued{unbalanced}% ensure balance only used once
renewbibmacro{finentry}{%
ifnumthepage=lastreferencepage%
expandafterifxexpandafterrelaxbalanceissuedrelax%
else%
balance%
gdefbalanceissued{relax}%
fi%
fi%
finentry%
}





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f184419%2flatex-with-biblatex-and-biber-how-to-balance-printbibliography-in-a-two-column%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7














    I don't use that class, so I may have misunderstood your question. But I think you should be able to do something like this, in your preamble



    renewbibmacro{finentry}{%
    iffieldequalstr{entrykey}{KEY}%<- key after which you want the break
    {finentrynewpage}
    {finentry}}


    Instead of giving the reference by number, you give the key of the entrytype after which you want to insert newpage (in the place where I have KEY in the macro above). Of course, you can add anything else you want here. Basically, the code you put in place of newpage will be executed after the entry in question has been printed.






    share|improve this answer
























    • Is it possible to translate the nth reference item into a bibtex key?

      – Paebbels
      Jun 12 '14 at 8:45
















    7














    I don't use that class, so I may have misunderstood your question. But I think you should be able to do something like this, in your preamble



    renewbibmacro{finentry}{%
    iffieldequalstr{entrykey}{KEY}%<- key after which you want the break
    {finentrynewpage}
    {finentry}}


    Instead of giving the reference by number, you give the key of the entrytype after which you want to insert newpage (in the place where I have KEY in the macro above). Of course, you can add anything else you want here. Basically, the code you put in place of newpage will be executed after the entry in question has been printed.






    share|improve this answer
























    • Is it possible to translate the nth reference item into a bibtex key?

      – Paebbels
      Jun 12 '14 at 8:45














    7












    7








    7







    I don't use that class, so I may have misunderstood your question. But I think you should be able to do something like this, in your preamble



    renewbibmacro{finentry}{%
    iffieldequalstr{entrykey}{KEY}%<- key after which you want the break
    {finentrynewpage}
    {finentry}}


    Instead of giving the reference by number, you give the key of the entrytype after which you want to insert newpage (in the place where I have KEY in the macro above). Of course, you can add anything else you want here. Basically, the code you put in place of newpage will be executed after the entry in question has been printed.






    share|improve this answer













    I don't use that class, so I may have misunderstood your question. But I think you should be able to do something like this, in your preamble



    renewbibmacro{finentry}{%
    iffieldequalstr{entrykey}{KEY}%<- key after which you want the break
    {finentrynewpage}
    {finentry}}


    Instead of giving the reference by number, you give the key of the entrytype after which you want to insert newpage (in the place where I have KEY in the macro above). Of course, you can add anything else you want here. Basically, the code you put in place of newpage will be executed after the entry in question has been printed.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 11 '14 at 22:45









    Paul StanleyPaul Stanley

    14.9k42848




    14.9k42848













    • Is it possible to translate the nth reference item into a bibtex key?

      – Paebbels
      Jun 12 '14 at 8:45



















    • Is it possible to translate the nth reference item into a bibtex key?

      – Paebbels
      Jun 12 '14 at 8:45

















    Is it possible to translate the nth reference item into a bibtex key?

    – Paebbels
    Jun 12 '14 at 8:45





    Is it possible to translate the nth reference item into a bibtex key?

    – Paebbels
    Jun 12 '14 at 8:45











    6





    +50









    Based on Paul's answer, this is a drop-in replacement for the IEEEtriggeratref macro that works with biblatex:



    usepackage{ifthen}

    makeatletter
    newcounter{IEEE@bibentries}
    renewcommandIEEEtriggeratref[1]{%
    renewbibmacro{finentry}{%
    stepcounter{IEEE@bibentries}%
    ifthenelse{equal{value{IEEE@bibentries}}{#1}}
    {finentry@IEEEtriggercmd}
    {finentry}%
    }%
    }
    makeatother


    The usage is the same as the original macro:



    IEEEtriggeratref{9} % Breaks the column after the 9th entry
    printbibliography





    share|improve this answer
























    • I used a new counter because I don't know if biblatex already has such a counter. Maybe somebody can edit to use a builtin counter if it exists.

      – gigabytes
      Jun 23 '16 at 12:11











    • Thanks for your work. I'll test it when I write my next document.

      – Paebbels
      Jun 23 '16 at 14:30
















    6





    +50









    Based on Paul's answer, this is a drop-in replacement for the IEEEtriggeratref macro that works with biblatex:



    usepackage{ifthen}

    makeatletter
    newcounter{IEEE@bibentries}
    renewcommandIEEEtriggeratref[1]{%
    renewbibmacro{finentry}{%
    stepcounter{IEEE@bibentries}%
    ifthenelse{equal{value{IEEE@bibentries}}{#1}}
    {finentry@IEEEtriggercmd}
    {finentry}%
    }%
    }
    makeatother


    The usage is the same as the original macro:



    IEEEtriggeratref{9} % Breaks the column after the 9th entry
    printbibliography





    share|improve this answer
























    • I used a new counter because I don't know if biblatex already has such a counter. Maybe somebody can edit to use a builtin counter if it exists.

      – gigabytes
      Jun 23 '16 at 12:11











    • Thanks for your work. I'll test it when I write my next document.

      – Paebbels
      Jun 23 '16 at 14:30














    6





    +50







    6





    +50



    6




    +50





    Based on Paul's answer, this is a drop-in replacement for the IEEEtriggeratref macro that works with biblatex:



    usepackage{ifthen}

    makeatletter
    newcounter{IEEE@bibentries}
    renewcommandIEEEtriggeratref[1]{%
    renewbibmacro{finentry}{%
    stepcounter{IEEE@bibentries}%
    ifthenelse{equal{value{IEEE@bibentries}}{#1}}
    {finentry@IEEEtriggercmd}
    {finentry}%
    }%
    }
    makeatother


    The usage is the same as the original macro:



    IEEEtriggeratref{9} % Breaks the column after the 9th entry
    printbibliography





    share|improve this answer













    Based on Paul's answer, this is a drop-in replacement for the IEEEtriggeratref macro that works with biblatex:



    usepackage{ifthen}

    makeatletter
    newcounter{IEEE@bibentries}
    renewcommandIEEEtriggeratref[1]{%
    renewbibmacro{finentry}{%
    stepcounter{IEEE@bibentries}%
    ifthenelse{equal{value{IEEE@bibentries}}{#1}}
    {finentry@IEEEtriggercmd}
    {finentry}%
    }%
    }
    makeatother


    The usage is the same as the original macro:



    IEEEtriggeratref{9} % Breaks the column after the 9th entry
    printbibliography






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 23 '16 at 12:10









    gigabytesgigabytes

    1,4351218




    1,4351218













    • I used a new counter because I don't know if biblatex already has such a counter. Maybe somebody can edit to use a builtin counter if it exists.

      – gigabytes
      Jun 23 '16 at 12:11











    • Thanks for your work. I'll test it when I write my next document.

      – Paebbels
      Jun 23 '16 at 14:30



















    • I used a new counter because I don't know if biblatex already has such a counter. Maybe somebody can edit to use a builtin counter if it exists.

      – gigabytes
      Jun 23 '16 at 12:11











    • Thanks for your work. I'll test it when I write my next document.

      – Paebbels
      Jun 23 '16 at 14:30

















    I used a new counter because I don't know if biblatex already has such a counter. Maybe somebody can edit to use a builtin counter if it exists.

    – gigabytes
    Jun 23 '16 at 12:11





    I used a new counter because I don't know if biblatex already has such a counter. Maybe somebody can edit to use a builtin counter if it exists.

    – gigabytes
    Jun 23 '16 at 12:11













    Thanks for your work. I'll test it when I write my next document.

    – Paebbels
    Jun 23 '16 at 14:30





    Thanks for your work. I'll test it when I write my next document.

    – Paebbels
    Jun 23 '16 at 14:30











    0














    Adapting this answer to biblatex, here's an automatic version.



    usepackage{balance}
    usepackage{lastpage}

    makeatletter
    deflastreferencepage{lastpage@lastpage} % can use a hard-coded number instead
    makeatother
    defbalanceissued{unbalanced}% ensure balance only used once
    renewbibmacro{finentry}{%
    ifnumthepage=lastreferencepage%
    expandafterifxexpandafterrelaxbalanceissuedrelax%
    else%
    balance%
    gdefbalanceissued{relax}%
    fi%
    fi%
    finentry%
    }





    share|improve this answer




























      0














      Adapting this answer to biblatex, here's an automatic version.



      usepackage{balance}
      usepackage{lastpage}

      makeatletter
      deflastreferencepage{lastpage@lastpage} % can use a hard-coded number instead
      makeatother
      defbalanceissued{unbalanced}% ensure balance only used once
      renewbibmacro{finentry}{%
      ifnumthepage=lastreferencepage%
      expandafterifxexpandafterrelaxbalanceissuedrelax%
      else%
      balance%
      gdefbalanceissued{relax}%
      fi%
      fi%
      finentry%
      }





      share|improve this answer


























        0












        0








        0







        Adapting this answer to biblatex, here's an automatic version.



        usepackage{balance}
        usepackage{lastpage}

        makeatletter
        deflastreferencepage{lastpage@lastpage} % can use a hard-coded number instead
        makeatother
        defbalanceissued{unbalanced}% ensure balance only used once
        renewbibmacro{finentry}{%
        ifnumthepage=lastreferencepage%
        expandafterifxexpandafterrelaxbalanceissuedrelax%
        else%
        balance%
        gdefbalanceissued{relax}%
        fi%
        fi%
        finentry%
        }





        share|improve this answer













        Adapting this answer to biblatex, here's an automatic version.



        usepackage{balance}
        usepackage{lastpage}

        makeatletter
        deflastreferencepage{lastpage@lastpage} % can use a hard-coded number instead
        makeatother
        defbalanceissued{unbalanced}% ensure balance only used once
        renewbibmacro{finentry}{%
        ifnumthepage=lastreferencepage%
        expandafterifxexpandafterrelaxbalanceissuedrelax%
        else%
        balance%
        gdefbalanceissued{relax}%
        fi%
        fi%
        finentry%
        }






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 52 mins ago









        golvokgolvok

        1257




        1257






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f184419%2flatex-with-biblatex-and-biber-how-to-balance-printbibliography-in-a-two-column%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)