我使用“chicago.bst”作为参考文献的“\bibliographystyle”,并使用 \citet{jon90} 进行文本引用,如 Jones et al. (1990)。
\documentclass[a4paper,12pt]{article}
\usepackage{natbib,hyperref}
\begin{document}
This comes from \citet{goncalves2020physics}.
\bibliographystyle{chicago}
\bibliography{References}
\end{document}
和references.bib
:
@article{goncalves2020physics,
title={A physics-based high-resolution BIPV model for building performance simulations},
author={Goncalves, Juliana E and van Hooff, Twan and Saelens, Dirk},
journal={Solar Energy},
volume={204},
pages={585--599},
year={2020},
publisher={Elsevier}
}
给出下一个输出。
我需要在作者姓名后、年份前添加脚注。我不知道如何自动执行此操作,但接下来我手动执行了此操作,但这不是我最喜欢的,因为它与参考文献没有关联。如何使用在作者姓名和年份之间添加脚注\citet
?谢谢
\documentclass[a4paper,12pt]{article}
\usepackage{natbib,hyperref}
\begin{document}
This comes from Goncalves et al.\footnote{This work $\cdots$} (2020).
\bibliographystyle{chicago}
\bibliography{References}
\end{document}
答案1
natbib
\citet
和宏\citep
用于创建“完整”作者年份样式的引文标注。该包还提供了名为 和 的宏,\citeauthor
用于citeyear
仅输出“完整”作者年份样式的引文标注的author
和组件。year
\documentclass[a4paper,12pt]{article}
\begin{filecontents}[overwrite]{references.bib}
@article{goncalves2020physics,
title ={A physics-based high-resolution {BIPV} model
for building performance simulations},
author ={Goncalves, Juliana E. and van Hooff, Twan
and Saelens, Dirk},
journal={Solar Energy},
volume ={204},
pages ={585--599},
year ={2020},
publisher={Elsevier}
}
\end{filecontents}
\usepackage{natbib}
\bibliographystyle{chicago}
\usepackage[colorlinks,allcolors=magenta,citecolor=blue]{hyperref}
\setlength\textheight{2.25in}
\begin{document}
This comes from \citet{goncalves2020physics}.
This comes from \citeauthor{goncalves2020physics}\footnote{This work \dots}
(\citeyear{goncalves2020physics}).
\bibliography{References}
\end{document}