我曾尝试通过以下方式将参考书目标题中单词的首字母大写,title = {Taniyama-{S}himura {C}onjecture}
到目前为止这种方法对我有效。但是,在我的最后一个参考文献(即参考文献)中\nocite{}
,这种方法却行不通。我最后一个参考文献(问题出在)是:title = {Wiles's {P}roof of {F}ermat's {L}ast {T}heorem}
,我不明白为什么这次这种方法不起作用。
我的完整 BiBTeX 文件如下,其名称为 References:
@misc{Polygonal-Number,
author = {Weisstein, Eric W.},
title = {Polygonal {N}umber},
year = {2017},
url = {http://mathworld.wolfram.com/PolygonalNumber.html},
}
@misc{Epsilon-Conjecture,
author = {Weisstein, Eric W.},
title = {Epsilon {C}onjecture},
year = {2017},
url = {http://mathworld.wolfram.com/EpsilonConjecture.html},
}
@misc{Modularity-Theorem,
author = {Weisstein, Eric W.},
title = {Taniyama-{S}himura {C}onjecture},
year = {2017},
url = {http://mathworld.wolfram.com/Taniyama-ShimuraConjecture.html},
}
@misc{Wiles'-Proof-of-Fermat's-Last-Theorem,
author = {K. Rubin and A. Silverberg},
title = "Wiles{'}s {P}roof of {F}ermat's {L}ast {T}heorem",
year = {2018},
url = {https://en.wikipedia.org/w/index.php?title=Wiles%27s_proof_of_Fermat%27s_Last_Theorem&oldid=830454832},
}
答案1
我稍微清理了.bib
一下,但即使没有改变,只要你包含了url
包,它就可以正常工作。
\documentclass{article}
\usepackage{natbib}
\usepackage{url}
% filecontents is only for this example, you don't need it.
\usepackage{filecontents}
\begin{filecontents}{references.bib}
@misc{Polygonal-Number,
author = {Weisstein, Eric W.},
title = {{Polygonal Number}},
year = 2017,
url = {http://mathworld.wolfram.com/PolygonalNumber.html},
}
@misc{Epsilon-Conjecture,
author = {Weisstein, Eric W.},
title = {{Epsilon Conjecture}},
year = 2017,
url = {http://mathworld.wolfram.com/EpsilonConjecture.html},
}
@misc{Modularity-Theorem,
author = {Weisstein, Eric W.},
title = {{Taniyama--Shimura Conjecture}},
year = 2017,
url = {http://mathworld.wolfram.com/Taniyama-ShimuraConjecture.html},
}
@misc{Wiles'-Proof-of-Fermat's-Last-Theorem,
author = {K. Rubin and A. Silverberg},
title = {{Wiles's Proof of Fermat's Last Theorem}},
year = 2018,
url = {https://en.wikipedia.org/w/index.php?title=Wiles%27s_proof_of_Fermat%27s_Last_Theorem&oldid=830454832},
}
\end{filecontents}
\begin{document}
\cite{*}
\bibliographystyle{unsrtnat}
\bibliography{references}
\end{document}
我.bib
对
- 我在你的标题周围添加了括号,这样它们就和你写的完全一样了。(这是否是你想要的,取决于你正在编写的文档的格式要求。我通常只在专有名词周围添加括号,其余
.bst
单词则使用小写。) - 我摘掉了你岁月周围不必要的牙套。
- 我认为你想要在谷山和志村之间添加一个破折号,所以我添加了它。