Cite in text with slashes between authors in author-year style
I am trying to cite my reference with the following structure
author a/author b/author c, year
with slashes and without spaces between the authors in the author year style. You can find a MWE below. As a precaution, I have included all commands related to my bibliography in case there might be somecomplications with the already existing changes.
documentclass[article, bibtotocnumbered,liststotoc,12pt]{scrartcl}
usepackage[T1]{fontenc}
usepackage[latin1]{inputenc}
usepackage[ngerman]{babel}
usepackage[paper=a4paper,left=50mm,right=20mm,top=20mm,bottom=20mm]{geometry} %define margins..
geometry{a4paper}
usepackage{lmodern}
usepackage{filecontents}
%Bibliotheken
usepackage
[style=ext-authoryear,labelnumber, useprefix=true,
sorting=nyt,maxbibnames=9,maxcitenames=3,uniquelist=false, backend=biber,
doi=false,isbn=false,url=false,
uniquename=false,bibencoding=utf8, date=year, giveninits=true, terseinits=false, dashed=false]
{biblatex}
%Remove Dot after volume
renewbibmacro*{volume+number+eid}{%
printfield{volume}%
% setunit*{adddot}% DELETED
% setunit*{addnbspace}% NEW (optional); there's also addnbthinspace
printfield{number}%
setunit{addcommaspace}%
printfield{eid}}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
% Number of articles in parentheses
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
%Dot after journal title
DeclareFieldFormat{journaltitle}{{#1}isdot}
renewbibmacro*{journal+issuetitle}{%
usebibmacro{journal}%
setunit*{addcommaspace}%
iffieldundef{series}
{}
{newunit
printfield{series}%
setunit{addspace}}%
usebibmacro{volume+number+eid}%
setunit{addspace}%
usebibmacro{issue+date}%
setunit{addcolonspace}%
usebibmacro{issue}%
newunit}
%Dort und Sorting Last-First
DeclareNameAlias{sortname}{first-last-bold}
DeclareNameFormat{first-last-bold}{mkbibbold{%
ifgiveninits
{usebibmacro{name:last-first}{namepartfamily}{namepartgiveni}{namepartprefix}{namepartsuffix}}
{usebibmacro{name:last-first}{namepartfamily}{namepartgiven}{namepartprefix}{namepartsuffix}}%
usebibmacro{name:andothers}}}
begin{filecontents}{jobname2.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}
end{filecontents}
addbibresource{jobname2.bib}
begin{document}
textcite{Hansen2011}
printbibliography
end{document}
biblatex bibliographies citing
add a comment |
I am trying to cite my reference with the following structure
author a/author b/author c, year
with slashes and without spaces between the authors in the author year style. You can find a MWE below. As a precaution, I have included all commands related to my bibliography in case there might be somecomplications with the already existing changes.
documentclass[article, bibtotocnumbered,liststotoc,12pt]{scrartcl}
usepackage[T1]{fontenc}
usepackage[latin1]{inputenc}
usepackage[ngerman]{babel}
usepackage[paper=a4paper,left=50mm,right=20mm,top=20mm,bottom=20mm]{geometry} %define margins..
geometry{a4paper}
usepackage{lmodern}
usepackage{filecontents}
%Bibliotheken
usepackage
[style=ext-authoryear,labelnumber, useprefix=true,
sorting=nyt,maxbibnames=9,maxcitenames=3,uniquelist=false, backend=biber,
doi=false,isbn=false,url=false,
uniquename=false,bibencoding=utf8, date=year, giveninits=true, terseinits=false, dashed=false]
{biblatex}
%Remove Dot after volume
renewbibmacro*{volume+number+eid}{%
printfield{volume}%
% setunit*{adddot}% DELETED
% setunit*{addnbspace}% NEW (optional); there's also addnbthinspace
printfield{number}%
setunit{addcommaspace}%
printfield{eid}}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
% Number of articles in parentheses
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
%Dot after journal title
DeclareFieldFormat{journaltitle}{{#1}isdot}
renewbibmacro*{journal+issuetitle}{%
usebibmacro{journal}%
setunit*{addcommaspace}%
iffieldundef{series}
{}
{newunit
printfield{series}%
setunit{addspace}}%
usebibmacro{volume+number+eid}%
setunit{addspace}%
usebibmacro{issue+date}%
setunit{addcolonspace}%
usebibmacro{issue}%
newunit}
%Dort und Sorting Last-First
DeclareNameAlias{sortname}{first-last-bold}
DeclareNameFormat{first-last-bold}{mkbibbold{%
ifgiveninits
{usebibmacro{name:last-first}{namepartfamily}{namepartgiveni}{namepartprefix}{namepartsuffix}}
{usebibmacro{name:last-first}{namepartfamily}{namepartgiven}{namepartprefix}{namepartsuffix}}%
usebibmacro{name:andothers}}}
begin{filecontents}{jobname2.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}
end{filecontents}
addbibresource{jobname2.bib}
begin{document}
textcite{Hansen2011}
printbibliography
end{document}
biblatex bibliographies citing
add a comment |
I am trying to cite my reference with the following structure
author a/author b/author c, year
with slashes and without spaces between the authors in the author year style. You can find a MWE below. As a precaution, I have included all commands related to my bibliography in case there might be somecomplications with the already existing changes.
documentclass[article, bibtotocnumbered,liststotoc,12pt]{scrartcl}
usepackage[T1]{fontenc}
usepackage[latin1]{inputenc}
usepackage[ngerman]{babel}
usepackage[paper=a4paper,left=50mm,right=20mm,top=20mm,bottom=20mm]{geometry} %define margins..
geometry{a4paper}
usepackage{lmodern}
usepackage{filecontents}
%Bibliotheken
usepackage
[style=ext-authoryear,labelnumber, useprefix=true,
sorting=nyt,maxbibnames=9,maxcitenames=3,uniquelist=false, backend=biber,
doi=false,isbn=false,url=false,
uniquename=false,bibencoding=utf8, date=year, giveninits=true, terseinits=false, dashed=false]
{biblatex}
%Remove Dot after volume
renewbibmacro*{volume+number+eid}{%
printfield{volume}%
% setunit*{adddot}% DELETED
% setunit*{addnbspace}% NEW (optional); there's also addnbthinspace
printfield{number}%
setunit{addcommaspace}%
printfield{eid}}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
% Number of articles in parentheses
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
%Dot after journal title
DeclareFieldFormat{journaltitle}{{#1}isdot}
renewbibmacro*{journal+issuetitle}{%
usebibmacro{journal}%
setunit*{addcommaspace}%
iffieldundef{series}
{}
{newunit
printfield{series}%
setunit{addspace}}%
usebibmacro{volume+number+eid}%
setunit{addspace}%
usebibmacro{issue+date}%
setunit{addcolonspace}%
usebibmacro{issue}%
newunit}
%Dort und Sorting Last-First
DeclareNameAlias{sortname}{first-last-bold}
DeclareNameFormat{first-last-bold}{mkbibbold{%
ifgiveninits
{usebibmacro{name:last-first}{namepartfamily}{namepartgiveni}{namepartprefix}{namepartsuffix}}
{usebibmacro{name:last-first}{namepartfamily}{namepartgiven}{namepartprefix}{namepartsuffix}}%
usebibmacro{name:andothers}}}
begin{filecontents}{jobname2.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}
end{filecontents}
addbibresource{jobname2.bib}
begin{document}
textcite{Hansen2011}
printbibliography
end{document}
biblatex bibliographies citing
I am trying to cite my reference with the following structure
author a/author b/author c, year
with slashes and without spaces between the authors in the author year style. You can find a MWE below. As a precaution, I have included all commands related to my bibliography in case there might be somecomplications with the already existing changes.
documentclass[article, bibtotocnumbered,liststotoc,12pt]{scrartcl}
usepackage[T1]{fontenc}
usepackage[latin1]{inputenc}
usepackage[ngerman]{babel}
usepackage[paper=a4paper,left=50mm,right=20mm,top=20mm,bottom=20mm]{geometry} %define margins..
geometry{a4paper}
usepackage{lmodern}
usepackage{filecontents}
%Bibliotheken
usepackage
[style=ext-authoryear,labelnumber, useprefix=true,
sorting=nyt,maxbibnames=9,maxcitenames=3,uniquelist=false, backend=biber,
doi=false,isbn=false,url=false,
uniquename=false,bibencoding=utf8, date=year, giveninits=true, terseinits=false, dashed=false]
{biblatex}
%Remove Dot after volume
renewbibmacro*{volume+number+eid}{%
printfield{volume}%
% setunit*{adddot}% DELETED
% setunit*{addnbspace}% NEW (optional); there's also addnbthinspace
printfield{number}%
setunit{addcommaspace}%
printfield{eid}}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
% Number of articles in parentheses
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
%Dot after journal title
DeclareFieldFormat{journaltitle}{{#1}isdot}
renewbibmacro*{journal+issuetitle}{%
usebibmacro{journal}%
setunit*{addcommaspace}%
iffieldundef{series}
{}
{newunit
printfield{series}%
setunit{addspace}}%
usebibmacro{volume+number+eid}%
setunit{addspace}%
usebibmacro{issue+date}%
setunit{addcolonspace}%
usebibmacro{issue}%
newunit}
%Dort und Sorting Last-First
DeclareNameAlias{sortname}{first-last-bold}
DeclareNameFormat{first-last-bold}{mkbibbold{%
ifgiveninits
{usebibmacro{name:last-first}{namepartfamily}{namepartgiveni}{namepartprefix}{namepartsuffix}}
{usebibmacro{name:last-first}{namepartfamily}{namepartgiven}{namepartprefix}{namepartsuffix}}%
usebibmacro{name:andothers}}}
begin{filecontents}{jobname2.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}
end{filecontents}
addbibresource{jobname2.bib}
begin{document}
textcite{Hansen2011}
printbibliography
end{document}
biblatex bibliographies citing
biblatex bibliographies citing
edited Dec 24 '18 at 21:58
Bernard
175k778208
175k778208
asked Dec 24 '18 at 21:58
ValaVala
1636
1636
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
With
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
you turn the delimiters to slashes in all contexts. With
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
you get back commas and "and" in the bibliography.
Here is a modernised version of your MWE that makes use of biblatex-ext
features (volnumdelim
and jourvoldelim
) as well as features new to biblatex
3.12 (DeclareNameWrapperFormat
) to achieve the same output more elegantly.
documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}% UTF-8 is the usual encoding in modern editors,
% it's even the default for modern LaTeX versions
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}
usepackage[backend=biber, style=ext-authoryear,
maxbibnames=9, maxcitenames=3, uniquelist=false, uniquename=false,
useprefix=true, giveninits=true, dashed=false
doi=false,isbn=false,url=false,
date=year]{biblatex}
DeclareNameAlias{sortname}{family-given}
DeclareNameWrapperFormat{sortname}{mkbibbold{#1}}
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
DeclareFieldFormat{journaltitle}{#1isdot}
renewcommand*{volnumdelim}{}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
renewcommand*{jourvoldelim}{addcommaspace}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
textcite{Hansen2011}
printbibliography
end{document}
Works perfectly thanks. Merry Christmas !
– Vala
Dec 24 '18 at 22:04
@Vala And merry Christmas to you, too.
– moewe
Dec 24 '18 at 22:16
@moewe Great reply, hats off....
– MadyYuvi
Jan 4 at 11:36
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%2f467240%2fcite-in-text-with-slashes-between-authors-in-author-year-style%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
With
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
you turn the delimiters to slashes in all contexts. With
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
you get back commas and "and" in the bibliography.
Here is a modernised version of your MWE that makes use of biblatex-ext
features (volnumdelim
and jourvoldelim
) as well as features new to biblatex
3.12 (DeclareNameWrapperFormat
) to achieve the same output more elegantly.
documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}% UTF-8 is the usual encoding in modern editors,
% it's even the default for modern LaTeX versions
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}
usepackage[backend=biber, style=ext-authoryear,
maxbibnames=9, maxcitenames=3, uniquelist=false, uniquename=false,
useprefix=true, giveninits=true, dashed=false
doi=false,isbn=false,url=false,
date=year]{biblatex}
DeclareNameAlias{sortname}{family-given}
DeclareNameWrapperFormat{sortname}{mkbibbold{#1}}
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
DeclareFieldFormat{journaltitle}{#1isdot}
renewcommand*{volnumdelim}{}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
renewcommand*{jourvoldelim}{addcommaspace}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
textcite{Hansen2011}
printbibliography
end{document}
Works perfectly thanks. Merry Christmas !
– Vala
Dec 24 '18 at 22:04
@Vala And merry Christmas to you, too.
– moewe
Dec 24 '18 at 22:16
@moewe Great reply, hats off....
– MadyYuvi
Jan 4 at 11:36
add a comment |
With
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
you turn the delimiters to slashes in all contexts. With
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
you get back commas and "and" in the bibliography.
Here is a modernised version of your MWE that makes use of biblatex-ext
features (volnumdelim
and jourvoldelim
) as well as features new to biblatex
3.12 (DeclareNameWrapperFormat
) to achieve the same output more elegantly.
documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}% UTF-8 is the usual encoding in modern editors,
% it's even the default for modern LaTeX versions
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}
usepackage[backend=biber, style=ext-authoryear,
maxbibnames=9, maxcitenames=3, uniquelist=false, uniquename=false,
useprefix=true, giveninits=true, dashed=false
doi=false,isbn=false,url=false,
date=year]{biblatex}
DeclareNameAlias{sortname}{family-given}
DeclareNameWrapperFormat{sortname}{mkbibbold{#1}}
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
DeclareFieldFormat{journaltitle}{#1isdot}
renewcommand*{volnumdelim}{}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
renewcommand*{jourvoldelim}{addcommaspace}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
textcite{Hansen2011}
printbibliography
end{document}
Works perfectly thanks. Merry Christmas !
– Vala
Dec 24 '18 at 22:04
@Vala And merry Christmas to you, too.
– moewe
Dec 24 '18 at 22:16
@moewe Great reply, hats off....
– MadyYuvi
Jan 4 at 11:36
add a comment |
With
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
you turn the delimiters to slashes in all contexts. With
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
you get back commas and "and" in the bibliography.
Here is a modernised version of your MWE that makes use of biblatex-ext
features (volnumdelim
and jourvoldelim
) as well as features new to biblatex
3.12 (DeclareNameWrapperFormat
) to achieve the same output more elegantly.
documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}% UTF-8 is the usual encoding in modern editors,
% it's even the default for modern LaTeX versions
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}
usepackage[backend=biber, style=ext-authoryear,
maxbibnames=9, maxcitenames=3, uniquelist=false, uniquename=false,
useprefix=true, giveninits=true, dashed=false
doi=false,isbn=false,url=false,
date=year]{biblatex}
DeclareNameAlias{sortname}{family-given}
DeclareNameWrapperFormat{sortname}{mkbibbold{#1}}
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
DeclareFieldFormat{journaltitle}{#1isdot}
renewcommand*{volnumdelim}{}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
renewcommand*{jourvoldelim}{addcommaspace}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
textcite{Hansen2011}
printbibliography
end{document}
With
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
you turn the delimiters to slashes in all contexts. With
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
you get back commas and "and" in the bibliography.
Here is a modernised version of your MWE that makes use of biblatex-ext
features (volnumdelim
and jourvoldelim
) as well as features new to biblatex
3.12 (DeclareNameWrapperFormat
) to achieve the same output more elegantly.
documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}% UTF-8 is the usual encoding in modern editors,
% it's even the default for modern LaTeX versions
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}
usepackage[backend=biber, style=ext-authoryear,
maxbibnames=9, maxcitenames=3, uniquelist=false, uniquename=false,
useprefix=true, giveninits=true, dashed=false
doi=false,isbn=false,url=false,
date=year]{biblatex}
DeclareNameAlias{sortname}{family-given}
DeclareNameWrapperFormat{sortname}{mkbibbold{#1}}
DeclareDelimFormat{multinamedelim}{addslash}
DeclareDelimAlias{finalnamedelim}{multinamedelim}
DeclareDelimFormat[bib,biblist]{multinamedelim}{addcommaspace}
DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
DeclareFieldFormat{journaltitle}{#1isdot}
renewcommand*{volnumdelim}{}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}
renewcommand*{jourvoldelim}{addcommaspace}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
textcite{Hansen2011}
printbibliography
end{document}
edited Jan 4 at 11:32
answered Dec 24 '18 at 22:00
moewemoewe
96.2k10117361
96.2k10117361
Works perfectly thanks. Merry Christmas !
– Vala
Dec 24 '18 at 22:04
@Vala And merry Christmas to you, too.
– moewe
Dec 24 '18 at 22:16
@moewe Great reply, hats off....
– MadyYuvi
Jan 4 at 11:36
add a comment |
Works perfectly thanks. Merry Christmas !
– Vala
Dec 24 '18 at 22:04
@Vala And merry Christmas to you, too.
– moewe
Dec 24 '18 at 22:16
@moewe Great reply, hats off....
– MadyYuvi
Jan 4 at 11:36
Works perfectly thanks. Merry Christmas !
– Vala
Dec 24 '18 at 22:04
Works perfectly thanks. Merry Christmas !
– Vala
Dec 24 '18 at 22:04
@Vala And merry Christmas to you, too.
– moewe
Dec 24 '18 at 22:16
@Vala And merry Christmas to you, too.
– moewe
Dec 24 '18 at 22:16
@moewe Great reply, hats off....
– MadyYuvi
Jan 4 at 11:36
@moewe Great reply, hats off....
– MadyYuvi
Jan 4 at 11:36
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%2f467240%2fcite-in-text-with-slashes-between-authors-in-author-year-style%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