我正在尝试在 overleaf 项目中引用作者。我希望采用以下格式:
然而,我得到了这个:
这是我的背面代码:
\documentclass[pdftex,10pt,b5paper,twoside]{book}
\usepackage[utf8]{inputenc}
\usepackage{natbib}
\def\biblio{\bibliographystyle{unsrt}\bibliography{references}}
\begin{document}
\def\biblio{references} % For making bibliography working with subfiles, prints at end of each subfile
% \maketitle
Trying to cite this author \citeauthor{fossen2011} \\
How about this \citet{fossen2011} \\
Alternative workaround method: \cite[Fossen (2011)]{fossen2011}
\bibliographystyle{unsrt}
% \bibliographystyle{elsarticle-harv}
\bibliography{references}
\end{document}
还有我的reference.bib文件:
<bibtex>
@book{fossen2011,
author = {Fossen, T. I.},
title = {Handbook of Marine Craft Hydrodynamics and Motion Control},
publisher = {John Wiley \& Sons, Ltd},
year = {2011},
address = {West Sussex, United Kingdom}
}
有人知道如何获得正确的引用吗?感谢任何帮助!
答案1
在我看来,这与纳特比布和
\bibliographystyle{unsrt}
您可以使用
\bibliographystyle{plainnat}
即纳特比布自己的普通版本。