Comma after last author field in biblatex
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
add a comment |
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
Could you give more information, for example what options do you provide to thebiblatexpackage, 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
add a comment |
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
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
biblatex biber
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 thebiblatexpackage, 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
add a comment |
Could you give more information, for example what options do you provide to thebiblatexpackage, 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
add a comment |
2 Answers
2
active
oldest
votes
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).
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
Inbiblatexv3.8date+extrayearwas renamed todate+extradate, so this would need to be changed in newer versions for this to work. But withbiblatex3.8 and newer I would recommendDeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace}as in my answer below anyway.
– moewe
Feb 23 '18 at 18:18
add a comment |
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}
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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).
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
Inbiblatexv3.8date+extrayearwas renamed todate+extradate, so this would need to be changed in newer versions for this to work. But withbiblatex3.8 and newer I would recommendDeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace}as in my answer below anyway.
– moewe
Feb 23 '18 at 18:18
add a comment |
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).
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
Inbiblatexv3.8date+extrayearwas renamed todate+extradate, so this would need to be changed in newer versions for this to work. But withbiblatex3.8 and newer I would recommendDeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace}as in my answer below anyway.
– moewe
Feb 23 '18 at 18:18
add a comment |
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).
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).
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
Inbiblatexv3.8date+extrayearwas renamed todate+extradate, so this would need to be changed in newer versions for this to work. But withbiblatex3.8 and newer I would recommendDeclareDelimFormat[bib,biblist]{nameyeardelim}{addcommaspace}as in my answer below anyway.
– moewe
Feb 23 '18 at 18:18
add a comment |
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
Inbiblatexv3.8date+extrayearwas renamed todate+extradate, so this would need to be changed in newer versions for this to work. But withbiblatex3.8 and newer I would recommendDeclareDelimFormat[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
add a comment |
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}
add a comment |
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}
add a comment |
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}
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}
answered Feb 22 '18 at 11:38
moewemoewe
91.3k10114344
91.3k10114344
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Could you give more information, for example what options do you provide to the
biblatexpackage, 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