我正在写一份beamer
演示文稿,我想在正文中出现引文,例如“Doe et al., Journal of Latex Greatness, 2007”。如果我只使用命令\cite{}
(与参考书目样式一起使用),结果却不是这样。我只能得到作者和日期 [Doe et al., 2007]。您有什么想法吗?我使用一个存储所有相关信息的apalike
大文件。bibtex
答案1
这很容易获得biblatex
:
\documentclass{beamer}
\usepackage[style=authoryear, natbib=true]{biblatex}
\addbibresource{test.bib}
\begin{document}
\begin{frame}
Two nice articles are
\citetitle{ZINC} \citep{ZINC} and
\citetitle{Jorgensen} by \citeauthor{Jorgensen}
in \citeyear {Jorgensen}.
\end{frame}
\begin{frame}
\printbibliography
\end{frame}
\end{document}
该文件test.bib
是:
@article{ZINC,
author = {Irwin, John J and Shoichet, Brian K},
title = {{ZINC--a free database of commercially available compounds for virtual screening.}},
journal = {Journal of Chemical Information and Modeling},
year = {2005},
volume = {45},
number = {1},
pages = {177--182},
}
@article{Jorgensen,
author = {Jorgensen, WL},
title = {{The many roles of computation in drug discovery}},
journal = {Science},
year = {2004},
volume = {303},
number = {5665},
pages = {1813--1818},
}
(参考资料来自使用具体样式在 Beamer 中引用参考书目)