将 pubmed id PMID 添加到 natbib 参考文献中

将 pubmed id PMID 添加到 natbib 参考文献中

我想要投稿的期刊要求在每次引用后添加 PMID,例如

Westberg EE,Miller RA。使用互联网支持初级保健信息需求的基础。J Am Med Inform Assoc 1999 年 1 月 - 2 月;6(1):6-25。PMID:9925225

我怎样才能做到这一点natbib

我的 .bib 文件中的示例条目如下所示:

@article{koenig2015sharing,
    title={Sharing clinical trial data on patient level: Opportunities and challenges},
    author={Koenig, Franz and Slattery, Jim and Groves, Trish and Lang, Thomas and Benjamini, Yoav and Day, Simon and Bauer, Peter and Posch, Martin},
    journal={Biometrical Journal},
    volume={57},
    number={1},
    pages={8--26},
    year={2015},
    publisher={Wiley Online Library}
}

理想情况下,我可以添加如下一行:pmid = {12345678}

答案1

最简单的解决方案是向参考书目条目添加注释。缺点是您需要PMID:在每个注释中输入字符串。MWE:

\documentclass{article}
\usepackage{natbib}

\begin{filecontents}{sampleref.bib}
@article{koenig2015sharing,
    title={Sharing clinical trial data on patient level: Opportunities and challenges},
    author={Koenig, Franz and Slattery, Jim and Groves, Trish and Lang, Thomas and Benjamini, Yoav and Day, Simon and Bauer, Peter and Posch, Martin},
    journal={Biometrical Journal},
    volume={57},
    number={1},
    pages={8--26},
    year={2015},
    publisher={Wiley Online Library},
    note={PMID:9925225}
}
\end{filecontents}

\begin{document}

See \citet{koenig2015sharing}.

\bibliographystyle{apalike}
\bibliography{sampleref.bib}
\end{document}

结果:

在此处输入图片描述

相关内容