![如何在文档中引用文章(而不是参考书目)](https://linux22.com/image/271883/%E5%A6%82%E4%BD%95%E5%9C%A8%E6%96%87%E6%A1%A3%E4%B8%AD%E5%BC%95%E7%94%A8%E6%96%87%E7%AB%A0%EF%BC%88%E8%80%8C%E4%B8%8D%E6%98%AF%E5%8F%82%E8%80%83%E4%B9%A6%E7%9B%AE%EF%BC%89.png)
当我在输入中的某处使用
\cite{文章M}
命令,在输出中我得到了 ArticleM 在传记中的位置。
如果我还想在该点写上作者的名字怎么办?如果我正在使用该cite
包,我应该使用什么命令来获得该结果?
.tex
以我之前在问题中使用的 MWE为例:
\documentclass[11pt]{book}
\usepackage{cite}
\bibliographystyle{unsrt}
\begin{document}
Here is the bib entry mentioned\cite{Wolf2003}
\bibliography{C:/Users/Giovanni/Desktop/PFG/Docear/data/profiles/default/docear}
\end{document}
我希望输出的内容为:
以下是 (Wolf 等人)[1] 提到的 bib 条目
这可能吗?
谢谢。
答案1
我将使用biblatex
带有样式的包numeric
和\citeauthor*
命令:
\documentclass{article}
\usepackage[style=numeric,backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
I want to cite~(\citeauthor*{aksin})\cite{aksin}
\printbibliography
\end{document}
如果你想使用bibtex
而不是biber
将后端更改为backend=bibtex
答案2
您可以使用natbib
及其\citeauthor
命令(使用样式来维护数字样式unsrt
):
\begin{filecontents*}{zz.bib}
@article{Wolf2003,
title={The title},
author={Wolf},
journal={Journal of Articles},
year={2003}
}
\end{filecontents*}
\documentclass[11pt]{article}
\usepackage{natbib}
\bibliographystyle{unsrt}
\begin{document}
Here is the bib entry mentioned~\citeauthor{Wolf2003}\cite{Wolf2003}
\bibliography{zz}
\end{document}
另一个选择是转向强大的biblatex
打包并使用其功能。