所有作者的书目

所有作者的书目

我希望制作一个参考书目,其中每个出版物列出所有作者姓名,但不使用“et al.”

我搜索了 stack exchange 并尝试了许多不同的方法。大多数帖子都推荐biblatex设置maxnamesminnames但我发现这不起作用。以下代码如下:

\documentclass[12pt,a4paper,english]{scrartcl}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\usepackage{geometry}
\geometry{a4paper,tmargin=25mm,bmargin=25mm,lmargin=30mm,rmargin=30mm}

\usepackage{txfonts} %Schriftart Times New Roman

\usepackage[
  bibstyle=authortitle,
  citestyle=authoryear,
  maxnames=1000,
  minnames=100,
  backend=biber
  ]{biblatex}

\addbibresource{refs.bib}

\begin{document}

\nocite{*}

\printbibliography

\end{document}

给出编译后的输出:

Banos、Daniel Trejo、Daniel L McCartney、Tom Battram、Gibran Hemani、Rosie M Walker、Stewart W Morris、Qian Zhang、David J Porteous、Allan F McRae、Naomi R Wray 等人。“复杂性状表观遗传结构的贝叶斯重新评估”。收录于:bioRxiv(2018),第 450288 页。

所以仍然有一个“et al”。我想我必须以某种方式修改样式文件,但我也无法解决这个问题,并希望得到正确方向的指引。提前致谢。

答案1

使用bibtex\bibliographystyle{plain}您可以在参考文献中列出所有作者姓名。这是您修改后的代码

\documentclass[12pt,a4paper,english]{scrartcl}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\usepackage{geometry}
\geometry{a4paper,tmargin=25mm,bmargin=25mm,lmargin=30mm,rmargin=30mm}

\usepackage{txfonts} %Schriftart Times New Roman

% \usepackage[
%   bibstyle=authortitle,
%   citestyle=authoryear,
%   maxnames=1000,
%   minnames=100,
%   backend=biber
%   ]{biblatex}

% \addbibresource{sample.bib}

\begin{document}


\nocite{*}

%---------added---------------
\bibliographystyle{plain} 
\bibliography{bayesian}

% \printbibliography

\end{document} 

以下是书目文件的内容bayesian.bib

@article {Banos450288,
    author = {Banos, Daniel Trejo and McCartney, Daniel L. and Battram, Tom and Hemani, Gibran and Walker, Rosie M. and Morris, Stewart W. and Zhang, Qian and Porteous, David J. and McRae, Allan F. and Wray, Naomi R. and Visscher, Peter M. and Haley, Chris S. and Evans, Kathryn L. and Deary, Ian J. and McIntosh, Andrew M. and Marioni, Riccardo E. and Robinson, Matthew R.},
    title = {Bayesian reassessment of the epigenetic architecture of complex traits},
    elocation-id = {450288},
    year = {2018},
    doi = {10.1101/450288},
    publisher = {Cold Spring Harbor Laboratory},
    URL = {https://www.biorxiv.org/content/early/2018/10/22/450288},
    eprint = {https://www.biorxiv.org/content/early/2018/10/22/450288.full.pdf},
    journal = {bioRxiv}
}

使用 编译文件LaTeX + BibTex (x2) + LaTeX。代码输出如下所示列出所有作者姓名

答案2

(评论太长,因此作为答案发布)

如果我使用出版商​​提供的 bib 条目,我无法复制您所说的遇到的问题(https://www.biorxiv.org/content/10.1101/450288v1):

在此处输入图片描述

从上面给出的链接中可以获得的 bib 条目实际上并不完全正确:它使用条目类型,@article尽管引用的文章更像是预印本而不是期刊文章。(它发表于自然通讯今年早些时候。)因此,我将条目类型从 更改为@article@misc删除了该journal字段,并将该字段的名称更改publisherorganization

\documentclass[12pt,a4paper,english]{scrartcl}
\begin{filecontents}[overwrite]{refs.bib}
@misc{Banos450288,
    author = {Banos, Daniel Trejo and McCartney, Daniel L. and Battram, Tom and Hemani, Gibran and Walker, Rosie M. and Morris, Stewart W. and Zhang, Qian and Porteous, David J. and McRae, Allan F. and Wray, Naomi R. and Visscher, Peter M. and Haley, Chris S. and Evans, Kathryn L. and Deary, Ian J. and McIntosh, Andrew M. and Marioni, Riccardo E. and Robinson, Matthew R.},
    title = {Bayesian reassessment of the epigenetic architecture of complex traits},
    elocation-id = {450288},
    year = {2018},
    organization = {Cold Spring Harbor Laboratory},
    URL = {https://www.biorxiv.org/content/early/2018/10/22/450288},
}
\end{filecontents}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{xurl}
\usepackage{geometry}
\geometry{a4paper,vmargin=25mm,hmargin=30mm}

\usepackage{newtxtext,newtxmath} % 'txfonts' is obsolete

\usepackage[
          bibstyle=authortitle,
          citestyle=authoryear,
          maxnames=1000,
          backend=biber
          ]{biblatex}
\addbibresource{refs.bib}

\begin{document}
\noindent
\cite{Banos450288}
\printbibliography
\end{document}

相关内容