我必须提交这篇文章,其中我需要引用
Smith [2012]
而不是
[Smith, 2012]
简单。natbib
我只需使用\citet
。只是我刚刚意识到出版商不想要natbib
我的 LaTeX 文件。
除了手写“Smith [2012]”之外,还有其他选择吗?
答案1
biblatex
目前尚不清楚解决方案中是否允许使用。但是,如果biblatex
确实允许,我建议使用biblatex
(\textcite
以及\citeauthor
和\citeyear
),并进行以下调整:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{mybiblio.bib}
@Book{Batchelor:2000,
address = {Cambridge, UK},
author = {Batchelor, G.{\,}K.},
title = {An Introduction to Fluid Dynamics},
publisher = {Cambridge University Press},
year = {2000},
}
\end{filecontents*}
\usepackage[style=authoryear]{biblatex}
\renewcommand*\bibopenparen{[}
\renewcommand*\bibcloseparen{]}
\addbibresource{mybiblio}
\begin{document}
\noindent
All of this is discussed in \textcite{Batchelor:2000}.\\
\citeauthor{Batchelor:2000}'s book was published in \citeyear{Batchelor:2000}.
\printbibliography
\end{document}
答案2
使用 biblatex 和命令\citeyear
。