我遇到一个问题,如果作者在我的 bib 文件中有多部作品(无论年份),我的引用就会包含两个作者。
例如(Larsen, Tan, et al., 2013; Larsen, Thomassen, et al., 2014)我更喜欢(Larsen et al., 2013, 2014)
平均能量损失
\documentclass{article}
\usepackage[
backend=biber,
style=apa,
natbib = true,
doi=true,
eprint = false,
url = false,
dashed=false,
%maxnames = 99,
apamaxprtauth = 99,
citestyle=authoryear-comp
]{biblatex}
\bibliography{bib.bib}
\DeclareLanguageMapping{english}{english-apa}
\AtEveryBibitem{\clearfield{month}}
\AtEveryBibitem{\clearfield{day}}
\begin{document}
Some text \citep{Bray2018}. More text \citep{Biggs2008}, and more \citep{Larsen2013, Larsen2014}
\printbibliography
\end{document}
书目目录
@article{Biggs2008,
author = {Biggs, James and Marsh, Sarah and Johnson, Simon and Walker, Steve. and Grover, Bob and Girolami, Mark and Mike, Sean},
journal = {Magic},
month = {may},
number = {5},
pages = {1--20},
title = {{No1. paper}},
volume = {4},
year = {2008}
}
@article{Bray2018,
author = {Bray, Yaya and Ferlay, George and Soerjomataram, Chris and Simons, Rebecca L. and Torre, Ahmedin},
journal = {CA},
month = {nov},
number = {6},
pages = {394--424},
title = {{No2. paper}},
volume = {68},
year = {2018}
}
@article{Larsen2013,
author = {Larsen, Max J and Tan, Steve and L{\ae}nkholm, Martin and S{\o}rensen, Thomas V O and Ejlertsen, Mads},
journal = {PloS},
month = {jan},
number = {5},
pages = {e64268},
title = {{No3. paper}},
volume = {8},
year = {2013}
}
@article{Larsen2014,
author = {Larsen, Max J and Thomassen, Martin and Andersen, Kyle and Kruse, Tim A and James, Anne-Marie},
journal = {Medical},
number = {9},
title = {{No4. paper}},
volume = {7},
year = {2014}
}
答案1
请注意,在问题中的设置中,您首先有style=apa,
但后来用引用样式覆盖,但citestyle=authoryear-comp
实际上您没有 APA 样式引用。
如果你想要真正的 APA 风格,你的文档可能应该看起来更像这样
\documentclass{article}
\usepackage[
backend=biber,
style=apa,
apamaxprtauth=99,
]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Biggs2008,
author = {Biggs, James and Marsh, Sarah and Johnson, Simon
and Walker, Steve and Grover, Bob and Girolami, Mark
and Mike, Sean},
journal = {Magic},
number = {5},
pages = {1--20},
title = {No1. paper},
volume = {4},
date = {2008-05},
}
@article{Bray2018,
author = {Bray, Yaya and Ferlay, George and Soerjomataram, Chris
and Simons, Rebecca L. and Torre, Ahmedin},
journal = {CA},
month = nov,
number = {6},
pages = {394--424},
title = {No2. paper},
volume = {68},
year = {2018},
}
@article{Larsen2013,
author = {Larsen, Max J. and Tan, Steve and Lænkholm, Martin
and Sørensen, Thomas V. O. and Ejlertsen, Mads},
journal = {PloS},
number = {5},
pages = {e64268},
title = {No3. paper},
volume = {8},
date = {2013-01},
}
@article{Larsen2014,
author = {Larsen, Max J. and Thomassen, Martin and Andersen, Kyle
and Kruse, Tim A. and James, Anne-Marie},
journal = {Medical},
number = {9},
title = {No4. paper},
volume = {7},
year = {2014},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \parencite{Bray2018}.
More text \parencite{Biggs2008},
and more \parencite{Larsen2013, Larsen2014}
Some text \parencite{Bray2018}.
More text \parencite{Biggs2008},
and more \parencite{Larsen2013, Larsen2014}
\printbibliography
\end{document}
请注意,每部作品的第一次引用都使用了完整的作者列表(最多 6 人),但后续引用则使用“et al.” 。Indeed 的引用\parencite{Larsen2013, Larsen2014}
结果为
(Larsen 等人,2013 年;Larsen 等人,2014 年)
从第二次引用开始。
style=apa,
如果你想要坚持使用和的混合citestyle=authoryear-comp,
,并且想要摆脱歧义消除功能,你需要uniquelist=false
。参见在 biblatex 中使用“et al.”时,限制为一位作者。
\documentclass{article}
\usepackage[
backend=biber,
style=apa,
citestyle=authoryear-comp,
uniquelist=false,
labeldate=year,
apamaxprtauth=99,
]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Biggs2008,
author = {Biggs, James and Marsh, Sarah and Johnson, Simon
and Walker, Steve and Grover, Bob and Girolami, Mark
and Mike, Sean},
journal = {Magic},
number = {5},
pages = {1--20},
title = {No1. paper},
volume = {4},
date = {2008-05},
}
@article{Bray2018,
author = {Bray, Yaya and Ferlay, George and Soerjomataram, Chris
and Simons, Rebecca L. and Torre, Ahmedin},
journal = {CA},
month = nov,
number = {6},
pages = {394--424},
title = {No2. paper},
volume = {68},
year = {2018},
}
@article{Larsen2013,
author = {Larsen, Max J. and Tan, Steve and Lænkholm, Martin
and Sørensen, Thomas V. O. and Ejlertsen, Mads},
journal = {PloS},
number = {5},
pages = {e64268},
title = {No3. paper},
volume = {8},
date = {2013-01},
}
@article{Larsen2014,
author = {Larsen, Max J. and Thomassen, Martin and Andersen, Kyle
and Kruse, Tim A. and James, Anne-Marie},
journal = {Medical},
number = {9},
title = {No4. paper},
volume = {7},
year = {2014},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \parencite{Bray2018}.
More text \parencite{Biggs2008},
and more \parencite{Larsen2013, Larsen2014}
Some text \parencite{Bray2018}.
More text \parencite{Biggs2008},
and more \parencite{Larsen2013, Larsen2014}
\printbibliography
\end{document}