Comma after last author field in biblatex












4















Currently, my references (not citations) have no comma between the last author name, e.g.



Author, AB, CD Author 2012
Author, AB, CD Author et al. 2012


What I would like is:



Author, AB, CD Author, 2012
Author, AB, CD Author et al., 2012


As requested here are the options, I have provided to biblatex:



usepackage[bibstyle=authoryear-icomp,
citestyle=authoryear-icomp,
uniquename=false,
uniquelist=false,
firstinits=true,
maxbibnames=5,
minbibnames=5,
maxcitenames=2,
mincitenames=1,
sorting=ynt,
url=false,
isbn=false,
eprint=false,
doi=false,
dashed=false,
natbib=true,
ibidtracker=false,
backend=biber]{biblatex}

%Remove comma in (Beadle and Tautum, 1941) This applies to citation only
renewcommand*{nameyeardelim}{addspace}









share|improve this question

























  • Could you give more information, for example what options do you provide to the biblatex package, and what commands you use for that output?

    – T. Verron
    Mar 22 '13 at 16:35











  • I have updated the post to show all biblatex options.

    – cryptic0
    Mar 22 '13 at 16:49











  • And how do you produce the "references"? Your output doesn't look like anything you can find in mirrors.ibiblio.org/CTAN/macros/latex/exptl/biblatex/doc/… .

    – T. Verron
    Mar 22 '13 at 17:07
















4















Currently, my references (not citations) have no comma between the last author name, e.g.



Author, AB, CD Author 2012
Author, AB, CD Author et al. 2012


What I would like is:



Author, AB, CD Author, 2012
Author, AB, CD Author et al., 2012


As requested here are the options, I have provided to biblatex:



usepackage[bibstyle=authoryear-icomp,
citestyle=authoryear-icomp,
uniquename=false,
uniquelist=false,
firstinits=true,
maxbibnames=5,
minbibnames=5,
maxcitenames=2,
mincitenames=1,
sorting=ynt,
url=false,
isbn=false,
eprint=false,
doi=false,
dashed=false,
natbib=true,
ibidtracker=false,
backend=biber]{biblatex}

%Remove comma in (Beadle and Tautum, 1941) This applies to citation only
renewcommand*{nameyeardelim}{addspace}









share|improve this question

























  • Could you give more information, for example what options do you provide to the biblatex package, and what commands you use for that output?

    – T. Verron
    Mar 22 '13 at 16:35











  • I have updated the post to show all biblatex options.

    – cryptic0
    Mar 22 '13 at 16:49











  • And how do you produce the "references"? Your output doesn't look like anything you can find in mirrors.ibiblio.org/CTAN/macros/latex/exptl/biblatex/doc/… .

    – T. Verron
    Mar 22 '13 at 17:07














4












4








4


1






Currently, my references (not citations) have no comma between the last author name, e.g.



Author, AB, CD Author 2012
Author, AB, CD Author et al. 2012


What I would like is:



Author, AB, CD Author, 2012
Author, AB, CD Author et al., 2012


As requested here are the options, I have provided to biblatex:



usepackage[bibstyle=authoryear-icomp,
citestyle=authoryear-icomp,
uniquename=false,
uniquelist=false,
firstinits=true,
maxbibnames=5,
minbibnames=5,
maxcitenames=2,
mincitenames=1,
sorting=ynt,
url=false,
isbn=false,
eprint=false,
doi=false,
dashed=false,
natbib=true,
ibidtracker=false,
backend=biber]{biblatex}

%Remove comma in (Beadle and Tautum, 1941) This applies to citation only
renewcommand*{nameyeardelim}{addspace}









share|improve this question
















Currently, my references (not citations) have no comma between the last author name, e.g.



Author, AB, CD Author 2012
Author, AB, CD Author et al. 2012


What I would like is:



Author, AB, CD Author, 2012
Author, AB, CD Author et al., 2012


As requested here are the options, I have provided to biblatex:



usepackage[bibstyle=authoryear-icomp,
citestyle=authoryear-icomp,
uniquename=false,
uniquelist=false,
firstinits=true,
maxbibnames=5,
minbibnames=5,
maxcitenames=2,
mincitenames=1,
sorting=ynt,
url=false,
isbn=false,
eprint=false,
doi=false,
dashed=false,
natbib=true,
ibidtracker=false,
backend=biber]{biblatex}

%Remove comma in (Beadle and Tautum, 1941) This applies to citation only
renewcommand*{nameyeardelim}{addspace}






biblatex biber






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 10 at 21:10









Jonas Stein

3,17242642




3,17242642










asked Mar 22 '13 at 16:33









cryptic0cryptic0

5471614




5471614













  • Could you give more information, for example what options do you provide to the biblatex package, and what commands you use for that output?

    – T. Verron
    Mar 22 '13 at 16:35











  • I have updated the post to show all biblatex options.

    – cryptic0
    Mar 22 '13 at 16:49











  • And how do you produce the "references"? Your output doesn't look like anything you can find in mirrors.ibiblio.org/CTAN/macros/latex/exptl/biblatex/doc/… .

    – T. Verron
    Mar 22 '13 at 17:07



















  • Could you give more information, for example what options do you provide to the biblatex package, and what commands you use for that output?

    – T. Verron
    Mar 22 '13 at 16:35











  • I have updated the post to show all biblatex options.

    – cryptic0
    Mar 22 '13 at 16:49











  • And how do you produce the "references"? Your output doesn't look like anything you can find in mirrors.ibiblio.org/CTAN/macros/latex/exptl/biblatex/doc/… .

    – T. Verron
    Mar 22 '13 at 17:07

















Could you give more information, for example what options do you provide to the biblatex package, and what commands you use for that output?

– T. Verron
Mar 22 '13 at 16:35





Could you give more information, for example what options do you provide to the biblatex package, and what commands you use for that output?

– T. Verron
Mar 22 '13 at 16:35













I have updated the post to show all biblatex options.

– cryptic0
Mar 22 '13 at 16:49





I have updated the post to show all biblatex options.

– cryptic0
Mar 22 '13 at 16:49













And how do you produce the "references"? Your output doesn't look like anything you can find in mirrors.ibiblio.org/CTAN/macros/latex/exptl/biblatex/doc/… .

– T. Verron
Mar 22 '13 at 17:07





And how do you produce the "references"? Your output doesn't look like anything you can find in mirrors.ibiblio.org/CTAN/macros/latex/exptl/biblatex/doc/… .

– T. Verron
Mar 22 '13 at 17:07










2 Answers
2






active

oldest

votes


















4














A possible solution is use the xpatch package to patch the date+extrayear bibmacro as follows:



usepackage{xpatch}
xpretobibmacro{date+extrayear}{unspaceaddcommaaddspace}{}{}


EDIT: Here is an explanation of the patch. The biblatex documentation contains a bib latex.def file with definitions of many bibmacro and other aspects, covering among other which and when bib fields are printed and formatting instructions to print them. Then biblatex include standards.blx. In this file there are the definitions of the drivers. The definition of the drivers specify the order of the various elements. The date/year does not appear directly in the main drivers, but it appears in biblatex macros. For example, for the authoryear style it appears in the macro that produce the author(s)/editor(s) (and the authoryear-icomp calls the authoryear style (for references).






share|improve this answer


























  • Guido: That does work, thanks. However, I am not quite sure how. How does the field 'date+extrayear' refer to a place between the last author's name and the year?

    – cryptic0
    Mar 27 '13 at 0:43











  • In biblatex v3.8 date+extrayear was renamed to date+extradate, so this would need to be changed in newer versions for this to work. But with biblatex 3.8 and newer I would recommend DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace} as in my answer below anyway.

    – moewe
    Feb 23 '18 at 18:18



















7














Just in case someone is still interested in this in 2018.



This is now easily possible using biblatex's context-sensitive delimiters with



DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace}





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%2f103815%2fcomma-after-last-author-field-in-biblatex%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    A possible solution is use the xpatch package to patch the date+extrayear bibmacro as follows:



    usepackage{xpatch}
    xpretobibmacro{date+extrayear}{unspaceaddcommaaddspace}{}{}


    EDIT: Here is an explanation of the patch. The biblatex documentation contains a bib latex.def file with definitions of many bibmacro and other aspects, covering among other which and when bib fields are printed and formatting instructions to print them. Then biblatex include standards.blx. In this file there are the definitions of the drivers. The definition of the drivers specify the order of the various elements. The date/year does not appear directly in the main drivers, but it appears in biblatex macros. For example, for the authoryear style it appears in the macro that produce the author(s)/editor(s) (and the authoryear-icomp calls the authoryear style (for references).






    share|improve this answer


























    • Guido: That does work, thanks. However, I am not quite sure how. How does the field 'date+extrayear' refer to a place between the last author's name and the year?

      – cryptic0
      Mar 27 '13 at 0:43











    • In biblatex v3.8 date+extrayear was renamed to date+extradate, so this would need to be changed in newer versions for this to work. But with biblatex 3.8 and newer I would recommend DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace} as in my answer below anyway.

      – moewe
      Feb 23 '18 at 18:18
















    4














    A possible solution is use the xpatch package to patch the date+extrayear bibmacro as follows:



    usepackage{xpatch}
    xpretobibmacro{date+extrayear}{unspaceaddcommaaddspace}{}{}


    EDIT: Here is an explanation of the patch. The biblatex documentation contains a bib latex.def file with definitions of many bibmacro and other aspects, covering among other which and when bib fields are printed and formatting instructions to print them. Then biblatex include standards.blx. In this file there are the definitions of the drivers. The definition of the drivers specify the order of the various elements. The date/year does not appear directly in the main drivers, but it appears in biblatex macros. For example, for the authoryear style it appears in the macro that produce the author(s)/editor(s) (and the authoryear-icomp calls the authoryear style (for references).






    share|improve this answer


























    • Guido: That does work, thanks. However, I am not quite sure how. How does the field 'date+extrayear' refer to a place between the last author's name and the year?

      – cryptic0
      Mar 27 '13 at 0:43











    • In biblatex v3.8 date+extrayear was renamed to date+extradate, so this would need to be changed in newer versions for this to work. But with biblatex 3.8 and newer I would recommend DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace} as in my answer below anyway.

      – moewe
      Feb 23 '18 at 18:18














    4












    4








    4







    A possible solution is use the xpatch package to patch the date+extrayear bibmacro as follows:



    usepackage{xpatch}
    xpretobibmacro{date+extrayear}{unspaceaddcommaaddspace}{}{}


    EDIT: Here is an explanation of the patch. The biblatex documentation contains a bib latex.def file with definitions of many bibmacro and other aspects, covering among other which and when bib fields are printed and formatting instructions to print them. Then biblatex include standards.blx. In this file there are the definitions of the drivers. The definition of the drivers specify the order of the various elements. The date/year does not appear directly in the main drivers, but it appears in biblatex macros. For example, for the authoryear style it appears in the macro that produce the author(s)/editor(s) (and the authoryear-icomp calls the authoryear style (for references).






    share|improve this answer















    A possible solution is use the xpatch package to patch the date+extrayear bibmacro as follows:



    usepackage{xpatch}
    xpretobibmacro{date+extrayear}{unspaceaddcommaaddspace}{}{}


    EDIT: Here is an explanation of the patch. The biblatex documentation contains a bib latex.def file with definitions of many bibmacro and other aspects, covering among other which and when bib fields are printed and formatting instructions to print them. Then biblatex include standards.blx. In this file there are the definitions of the drivers. The definition of the drivers specify the order of the various elements. The date/year does not appear directly in the main drivers, but it appears in biblatex macros. For example, for the authoryear style it appears in the macro that produce the author(s)/editor(s) (and the authoryear-icomp calls the authoryear style (for references).







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 27 '13 at 4:52

























    answered Mar 22 '13 at 21:19









    GuidoGuido

    24.4k55088




    24.4k55088













    • Guido: That does work, thanks. However, I am not quite sure how. How does the field 'date+extrayear' refer to a place between the last author's name and the year?

      – cryptic0
      Mar 27 '13 at 0:43











    • In biblatex v3.8 date+extrayear was renamed to date+extradate, so this would need to be changed in newer versions for this to work. But with biblatex 3.8 and newer I would recommend DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace} as in my answer below anyway.

      – moewe
      Feb 23 '18 at 18:18



















    • Guido: That does work, thanks. However, I am not quite sure how. How does the field 'date+extrayear' refer to a place between the last author's name and the year?

      – cryptic0
      Mar 27 '13 at 0:43











    • In biblatex v3.8 date+extrayear was renamed to date+extradate, so this would need to be changed in newer versions for this to work. But with biblatex 3.8 and newer I would recommend DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace} as in my answer below anyway.

      – moewe
      Feb 23 '18 at 18:18

















    Guido: That does work, thanks. However, I am not quite sure how. How does the field 'date+extrayear' refer to a place between the last author's name and the year?

    – cryptic0
    Mar 27 '13 at 0:43





    Guido: That does work, thanks. However, I am not quite sure how. How does the field 'date+extrayear' refer to a place between the last author's name and the year?

    – cryptic0
    Mar 27 '13 at 0:43













    In biblatex v3.8 date+extrayear was renamed to date+extradate, so this would need to be changed in newer versions for this to work. But with biblatex 3.8 and newer I would recommend DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace} as in my answer below anyway.

    – moewe
    Feb 23 '18 at 18:18





    In biblatex v3.8 date+extrayear was renamed to date+extradate, so this would need to be changed in newer versions for this to work. But with biblatex 3.8 and newer I would recommend DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace} as in my answer below anyway.

    – moewe
    Feb 23 '18 at 18:18











    7














    Just in case someone is still interested in this in 2018.



    This is now easily possible using biblatex's context-sensitive delimiters with



    DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace}





    share|improve this answer




























      7














      Just in case someone is still interested in this in 2018.



      This is now easily possible using biblatex's context-sensitive delimiters with



      DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace}





      share|improve this answer


























        7












        7








        7







        Just in case someone is still interested in this in 2018.



        This is now easily possible using biblatex's context-sensitive delimiters with



        DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace}





        share|improve this answer













        Just in case someone is still interested in this in 2018.



        This is now easily possible using biblatex's context-sensitive delimiters with



        DeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 22 '18 at 11:38









        moewemoewe

        91.3k10114344




        91.3k10114344






























            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%2f103815%2fcomma-after-last-author-field-in-biblatex%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

            How to send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?