我有一份使用 moderncv 制作的 CV 的以下 MWE,我需要在出版物部分显示所有作者。换句话说,我需要用 2-5 位作者替换 et al。
\documentclass{moderncv}
\usepackage[]{biblatex}
\usepackage[left=3cm, right=2cm]{geometry}
\moderncvstyle{classic}
\moderncvcolor{blue}
\addbibresource{Downey.bib}
% personal data
\firstname{John}
\familyname{Doe}
\begin{document}
\makecvtitle
\section{Education}
\cventry{start-end}{<Position Held>}{<Name of employer>}{<Place>}{<Country>}{<Description>} % arguments 3 to 6 are optional
\nocite{bib_key}
\printbibliography[title={Peer-Reviewed Journal articles}]
\end{document}
这是示例 bibtex 文件。
@Article{bib_key,
author = {\textbf{Author 1} and Author 2 and Author 3 and Author 4 and Author 5},
title = {Research paper},
journal = {Journal of science},
year = {2017},
volume = {26},
number = {6},
pages = {065008},
month = {may},
doi = {10.1088/1361-665x/aa6b66},
publisher = {{IOP} Publishing},
url = {https://doi.org/10.1088%2F1361-665x%2Faa6b66},
}
答案1
添加简单选项maxnames=99
至biblatex
:
\usepackage[maxnames=99]{biblatex} % <==================================
这意味着您的所有作者(最多 99 位)都将打印在您的参考书目中。
拥有完整的 MWE
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{bib_key,
author = {\textbf{Author 1} and Author 2 and Author 3 and Author 4 and Author 5},
title = {Research paper},
journal = {Journal of science},
year = {2017},
volume = {26},
number = {6},
pages = {065008},
month = {may},
doi = {10.1088/1361-665x/aa6b66},
publisher = {{IOP} Publishing},
url = {https://doi.org/10.1088%2F1361-665x%2Faa6b66},
}
\end{filecontents}
\documentclass{moderncv}
\usepackage[maxnames=99]{biblatex} % <==================================
\addbibresource{\jobname.bib}
\usepackage[left=3cm, right=2cm]{geometry}
\moderncvstyle{classic}
\moderncvcolor{blue}
% personal data
\firstname{John}
\familyname{Doe}
\begin{document}
\makecvtitle
\section{Education}
\cventry{start-end}{<Position Held>}{<Name of employer>}{<Place>}{<Country>}{<Description>} % arguments 3 to 6 are optional
\nocite{bib_key}
\printbibliography[title={Peer-Reviewed Journal articles}]
\end{document}
你得到了想要的结果: