我正在撰写我的硕士论文,我希望参考书目采用以下风格:
\documentclass[11pt, oneside]{book}
\usepackage[round]{natbib}
\usepackage{hyperref}
\hypersetup{urlcolor=blue, colorlinks=true}
\begin{document}
Write something
\citep{bib2} and something other \citep{bib1}
\bibliographystyle{unsrtnat}
\bibliography{Bibliography}
\end{document}
以及 Bibliography.bib 文件:
![@misc{bib1,
Author = {Author},
Title = {{title1}},
URL={http://www.google.com},
Year = {2015}}
@misc{bib2,
Author = {XAuthor},
Title = {{title2}},
URL={http://www.googleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.com},
Year = {2015}}][1]
它看起来像这样:
但我想按字母顺序对参考书目进行排序。当我尝试使用 apalike 作为参考书目样式时,URL 无法识别为站点,结果如下:
\documentclass[11pt, oneside]{book}
\usepackage[round]{natbib}
\usepackage{hyperref}
\hypersetup{urlcolor=blue, colorlinks=true}
\begin{document}
Write something
\citep{{bib2}} and something other \citep{bib1}
\bibliographystyle{apalike}
\bibliography{Bibliography}
\end{document}
Bibliography.bib 文件是:
@misc{bib1,
Author = {Author},
Title = {{title1}},
howpublished={http://www.google.com},
Year = {2015}}
@misc{bib2,
Author = {XAuthor},
Title = {{title2}},
howpublished={http://www.googleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.com},
Year = {2015}}
但参考书目如下所示:
有什么解决方案可以保留 unstrnat 的样式但保持字母顺序或在 url 中使用 apalike 样式的 hyperref?
谢谢你!