我在参考文献中发现了不需要的空格。
我正在使用这些包来编写我的参考书目
\usepackage[round, sort, numbers]{natbib}
\usepackage[numbib]{tocbibind}
\renewcommand{\bibname}{References}
这是我创建书目的几行
\bibliographystyle{plainnat}
\bibliography{references}
我的 .bib 条目如下
@booklet{NaveDP,
author = {Nave},
title = {Law of Dulong and Petit},
year = {2014},
howpublished = {url},
}
@booklet{NaveDB,
author = {Nave},
title = {Debye's Contribution to Specific Heat Theory},
year = {2014},
howpublished = {url},
}
@booklet{Brown,
author = {Robert G. Brown},
title = {First Law of Thermodynamics Summary},
year = {2004},
howpublished = {url},
}
答案1
url
正如 bombcar 所说,您几乎不需要该软件包的帮助。
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{mybib.bib}
@booklet{NaveDP,
author = {Nave},
title = {{Law of Dulong and Petit}}, %% note extra pair of braces
year = {2014},
howpublished = {\url{http://hyperphysics.phy-astr.gsu.edu/hbase/thermo/dulong.html}},
}
@booklet{NaveDB,
author = {Nave},
title = {Debye's Contribution to Specific Heat Theory},
year = {2014},
howpublished = {\url{http://hyperphysics.phy-astr.gsu.edu/hbase/thermo/debye.html}},
}
@booklet{Brown,
author = {Robert G. Brown},
title = {First Law of Thermodynamics Summary},
year = {2004},
howpublished = {\url{http://phy.duke.edu/rgb/Class/phy51/phy51/node59.html}},
}
\end{filecontents*}
\usepackage[round, sort, numbers]{natbib}
\usepackage[numbib]{tocbibind}
\renewcommand{\bibname}{References}
\usepackage{url}
\begin{document}
\nocite{*}
\bibliographystyle{plainnat}
\bibliography{mybib}
\end{document}
我做了什么:
我把howpublished
数据字段写为
howpublished = {\url{http://hyperphysics.phy-astr.gsu.edu/hbase/thermo/dulong.html}},
\url
加载包后使用命令url
。应对所有 URL 执行此操作。
为了防止 bibtex 转换Dulong and Petit
为小写,使用了一对额外的括号(感谢 Mico 的发现)。
{{Law of Dulong and Petit}}