如果我渲染这个简约的设置:
\documentclass[pdftex,12pt,a4paper]{article}
% Sophisticated citation.
% Check out: http://merkel.zoneo.net/Latex/natbib.php
\usepackage{natbib}
\begin{document}
\citep{zhuang2006}
\bibliographystyle{apalike}
\bibliography{references}
\end{document}
使用此references.bib:
@proceedings {zhuang2006,
author = {Li Zhuang and Feng Jing and Xiao-Yan Zhu},
booktitle = {Proceedings of the ACM 15th Conference on Information and Knowledge Management},
title = {Movie review mining and summarization},
publisher = {ACM},
month = {nov},
year = {2006},
pages = {43-50},
}
然后我得到这个输出:
但我希望它更像这样,它显然只适用于article
条目而不是proceedings
references.bib 中的条目:
我怎样才能做到这一点?
答案1
你应该不是blamenatbib
是natbib
一个引文管理包。因此,它的工作与书目条目的格式化方式无关。
真正的问题在于您使用了不合适的条目类型,即 。 @proceedings
补救措施在于更改@proceedings
为@inproceedings
。然后,重新运行 BibTeX,然后再运行两次 LaTeX。
MWE(最小工作示例):
\RequirePackage{filecontents}
\begin{filecontents}{references.bib}
@inproceedings{zhuang2006,
author = "Li Zhuang and Feng Jing and Xiao-Yan Zhu",
booktitle = "Proceedings of the ACM 15th International Conference
on Information and Knowledge Management",
title = "Movie review mining and summarization",
publisher = "ACM",
month = nov,
year = 2006,
pages = "43-50",
}
\end{filecontents}
\documentclass[12pt,a4paper]{article}
\usepackage{natbib}
\bibliographystyle{apalike}
\begin{document}
\citep{zhuang2006}
\bibliography{references}
\end{document}