\documentclass[12pt,notitlepage]{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=1.0in]{geometry}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage[edges]{forest}
\usepackage[backend=bibtex]{biblatex}
\bibliography{databasebr.bib}
\usepackage{mathtools}
\usepackage[showframe]{geometry}
\usepackage{amsmath, nccmath}
\DeclareMathOperator{\E}{E}
\usepackage[style=numeric]{biblatex}
\addbibresource{databasebr.bib}
\DeclareNameAlias{default}{last-first}
In this paper, I try to extend the paper named "Frustration and Anger in Games" of Pierpaolo Battigalli, Martin Dufwenberg and Alec Smith\cite{battigalli}
\printbibliography
\end{document}
我写databasebr.bib
了
@article{battigalli,
title={Battigalli, P., A. Di Tillio, and D. Samet},
author={Strategies and Interactive
Beliefs in Dynamic Games},
journal={Advances in
Economics and Econometrics: Theory and Applications, Tenth World Congress},
volume={1},
pages={391-422},
year={2013},
publisher={Cambridge: Cambridge
University Press},
}
PDF 中仍然没有显示参考书目。有人能告诉我错误吗?谢谢
答案1
您的代码中存在一些错误,bib 条目中存在两个错误。
请在您的号码布条目中更正此行
title={Battigalli, P., A. Di Tillio, and D. Samet},
到
title={Battigalli, P. and A. Di Tillio and D. Samet},
请看一下,我把错误的第一个逗号改正为正确的单词and
,并删除了第二个错误的逗号Tillio
......
在您的tex
代码中,您调用了biblatex
两次,结果是第一次调用和使用的选项被忽略。BibLaTeX 改用\addbibresource
...\bibliography
您也调用geometry
了amsmath
两次。
请参阅以下 MWE 及其包中包含的参考书目filecontents
:
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{battigalli,
title={Battigalli, P. and A. Di Tillio, and D. Samet},
author={Strategies and Interactive
Beliefs in Dynamic Games},
journal={Advances in
Economics and Econometrics: Theory and Applications,
Tenth World Congress},
volume={1},
pages={391-422},
year={2013},
publisher={Cambridge: Cambridge University Press},
}
\end{filecontents*}
\documentclass[12pt,notitlepage]{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=1.0in,showframe]{geometry} % <=======================
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage[edges]{forest}
\usepackage{nccmath} % <================================================
\DeclareMathOperator{\E}{E}
\usepackage[style=numeric,backend=bibtex]{biblatex} % <=================
\addbibresource{\jobname.bib} % databasebr.bib
\DeclareNameAlias{default}{last-first}
\begin{document}
In this paper, I try to extend the paper named "Frustration and Anger in
Games" of Pierpaolo Battigalli, Martin Dufwenberg and
Alec Smith\cite{battigalli}.
\printbibliography
\end{document}
并查看其生成的 pdf: