
Tengo el siguiente archivo:
\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}
Lo que me da:
Simplemente quiero eliminar los &
nombres entre autores y ponerlos ,
en su lugar.
Respuesta1
Tenga en cuenta que con este cambio perderá el cumplimiento de la APA. biblatex-apa
implementa las reglas de la APA (bastante) rigurosamente. Si tienes que seguir la APA, no cambies nada (a menos que creas que biblatex-apa
no respeta el estilo APA, asegúrate de notificarlo al autor); si no es necesario, en muchos casos es mejor que utilices un estilo que sea más fácil de modificar (para implementar las reglas APA, biblatex-apa
es bastante extenso y utiliza mucho código, lo que a veces hace que sea más difícil de modificar, no aunque en este caso).
solo ve con
\AtBeginBibliography{\renewcommand*{\finalnamedelim}{\multinamedelim}}
Necesitamos \AtBeginBibliography
aquí, porque apa.bbx
redefine el \finalnamedelim
también \AtBeginBibliography
.
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}