
Eu tenho o seguinte arquivo:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber, style=apa,natbib=true]{biblatex}
\usepackage[english]{babel}
\DeclareLanguageMapping{english}{english-apa}
\usepackage{hyperref}
\bibliography{\jobname.bib}
\ExecuteBibliographyOptions{doi=false,url=false, isbn=false}
\newbibmacro{string+doi}[1]{%
\iffieldundef{doi}{#1}{\href{http://dx.doi.org/\thefield{doi}}{#1}}}
\DeclareFieldFormat{title}{\usebibmacro{string+doi}{\mkbibemph{#1}}}
\DeclareFieldFormat[article]{title}{\usebibmacro{string+doi}{#1}}
\DeclareFieldFormat{yearorunkyear}{%
\ifthenelse{\iffieldequalstr{doubtfuldate}{true}}
{\mkbibbrackets{ca\adddot\addspace#1}}
{#1}}
\DeclareFieldFormat
[article]
{journaltitle}{{#1}}
\DeclareFieldFormat
[article]
{volume}{{(#1)}}
\begin{filecontents}{\jobname.bib}
@article{Yang2014,
annote = {The paper showed the importance of MIDAS or Mixed data sampling in studying the sentiment effect.},
author = {Yang, Chunpeng and Zhang, Rengui},
doi = {10.1080/00036846.2013.864041},
file = {:Users/Ahmed/Library/Application Support/Mendeley Desktop/Downloaded/Yang, Zhang - 2014 - Does mixed-frequency investor sentiment impact stock returns Based on the empirical study of MIDAS regression model.pdf:pdf},
issn = {0003-6846},
journal = {Applied Economics},
keywords = {M,investor sentiment,midas regression model,panel data model},
mendeley-tags = {M},
month = mar,
number = {9},
pages = {966--972},
title = {{Does mixed-frequency investor sentiment impact stock returns? Based on the empirical study of MIDAS regression model}},
url = {http://www.tandfonline.com/doi/abs/10.1080/00036846.2013.864041},
volume = {46},
year = {2014}
}
\end{filecontents}
\begin{document}
A reference to \cite{Yang2014}
\printbibliography
\end{document}
O que me dá:
Eu simplesmente quero remover os &
nomes entre os autores e colocá ,
-los.
Responder1
Observe que com esta alteração você perderá a conformidade com a APA. biblatex-apa
implementa as regras da APA com (bastante) rigor. Se você tiver que seguir a APA, não mude nada (a menos que você ache que biblatex-apa
não respeita o estilo da APA, não deixe de avisar o autor sobre isso então); se você não precisar, em muitos casos, é melhor usar um estilo que seja mais fácil de modificar (para implementar regras APA, biblatex-apa
passe por alguns comprimentos e use muito código, o que às vezes torna mais difícil modificar - não neste caso, no entanto).
Basta ir com
\AtBeginBibliography{\renewcommand*{\finalnamedelim}{\multinamedelim}}
Precisamos \AtBeginBibliography
aqui, porque apa.bbx
redefine o \finalnamedelim
in an \AtBeginBibliography
também.
MWE
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber, style=apa,natbib=true]{biblatex}
\usepackage[english]{babel}
\DeclareLanguageMapping{english}{english-apa}
\usepackage{hyperref}
\ExecuteBibliographyOptions{doi=false,url=false, isbn=false}
\newbibmacro{string+doi}[1]{%
\iffieldundef{doi}{#1}{\href{http://dx.doi.org/\thefield{doi}}{#1}}}
\DeclareFieldFormat{title}{\usebibmacro{string+doi}{\mkbibemph{#1}}}
\DeclareFieldFormat[article]{title}{\usebibmacro{string+doi}{#1}}
\DeclareFieldFormat{yearorunkyear}{%
\ifthenelse{\iffieldequalstr{doubtfuldate}{true}}
{\mkbibbrackets{ca\adddot\addspace#1}}
{#1}}
\DeclareFieldFormat
[article]
{journaltitle}{#1}
\DeclareFieldFormat
[article]
{volume}{\mkbibparens{#1}}
\begin{filecontents}{\jobname.bib}
@article{Yang2014,
annote = {The paper showed the importance of MIDAS or Mixed data sampling in studying the sentiment effect.},
author = {Yang, Chunpeng and Zhang, Rengui},
doi = {10.1080/00036846.2013.864041},
file = {:Users/Ahmed/Library/Application Support/Mendeley Desktop/Downloaded/Yang, Zhang - 2014 - Does mixed-frequency investor sentiment impact stock returns Based on the empirical study of MIDAS regression model.pdf:pdf},
issn = {0003-6846},
journal = {Applied Economics},
keywords = {M,investor sentiment,midas regression model,panel data model},
mendeley-tags = {M},
month = mar,
number = {9},
pages = {966--972},
title = {{Does mixed-frequency investor sentiment impact stock returns? Based on the empirical study of MIDAS regression model}},
url = {http://www.tandfonline.com/doi/abs/10.1080/00036846.2013.864041},
volume = {46},
year = {2014}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\AtBeginBibliography{\renewcommand*{\finalnamedelim}{\multinamedelim}}
\begin{document}
A reference to \cite{Yang2014}
\printbibliography
\end{document}