
我有以下文件:
\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}
這給了我:
我只是想刪除&
作者之間的姓名並代之以,
。
答案1
請注意,進行此更改後,您將失去 APA 合規性。biblatex-apa
(相當)嚴格地執行 APA 的規則。如果您必須遵循 APA,請不要更改任何內容(除非您認為biblatex-apa
不尊重 APA 風格,否則請務必通知作者);如果在很多情況下你不需要這樣做,你最好使用更容易修改的樣式(為了實現 APA 規則,biblatex-apa
需要相當長的時間並使用大量程式碼,這使得有時更難修改 - 不是但在這種情況下)。
就跟著去
\AtBeginBibliography{\renewcommand*{\finalnamedelim}{\multinamedelim}}
我們需要\AtBeginBibliography
在這裡,因為也重新定義了an 中的apa.bbx
the 。\finalnamedelim
\AtBeginBibliography
微量元素
\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}