
我正在與背面的 NeurIPS 模板。從我的閱讀中,我了解到這natbib
是預設的參考包。我嘗試仔細閱讀說明,也閱讀了 Overleaf 的官方教學natbib
。
但我仍然無法使用參考通常情況下?我更喜歡將引用放在單獨的文件中,例如my_ref.bib
包含:
@inproceedings{Arora2018StrongerGB,
title={Stronger generalization bounds for deep nets via a compression approach},
author={Sanjeev Arora and Rong Ge and Behnam Neyshabur and Yi Zhang},
booktitle={International Conference on Machine Learning},
year={2018}
}
然後在 中main.tex
,我這樣做:
\section*{References}
\bibliographystyle{IEEEtran}
\bibliography{my_ref}
[編輯]我添加了該IEEEtran.bst
文件。
然後\cite{Arora2018StrongerGB}
在 中使用main.tex
。我也嘗試過citet{Arora2018StrongerGB}
。但它也不適用於此模板。
歡迎檢查該項目:https://www.overleaf.com/8778352361kqjtqqkyncyw
任何建議表示讚賞。謝謝!
這是日誌的內容output.blg
This is BibTeX, Version 0.99d (TeX Live 2022)
Capacity: max_strings=200000, hash_size=200000, hash_prime=170003
The top-level auxiliary file: output.aux
The style file: IEEEtran.bst
You've used 1 entry,
0 wiz_defined-function locations,
87 strings with 538 characters,
and the built_in function-call counts, 0 in all, are:
= -- 0
> -- 0
< -- 0
+ -- 0
- -- 0
* -- 0
:= -- 0
add.period$ -- 0
call.type$ -- 0
change.case$ -- 0
chr.to.int$ -- 0
cite$ -- 0
duplicate$ -- 0
empty$ -- 0
format.name$ -- 0
if$ -- 0
int.to.chr$ -- 0
int.to.str$ -- 0
missing$ -- 0
newline$ -- 0
num.names$ -- 0
pop$ -- 0
preamble$ -- 0
purify$ -- 0
quote$ -- 0
skip$ -- 0
stack$ -- 0
substring$ -- 0
swap$ -- 0
text.length$ -- 0
text.prefix$ -- 0
top$ -- 0
type$ -- 0
warning$ -- 0
while$ -- 0
width$ -- 0
write$ -- 0