警告 Underfull \hbox (badness 6510) in paragraph

Warning Underfull \hbox (badness 6510) in paragraph

我在参考书目中引用一篇文章时收到警告:

Warning : Underfull \hbox (badness 6510) in paragraph at lines 618--619

在我的乳胶文件中。

 \documentclass[a4paper,12pt]{report}
 \begin{document}

 \begin{thebibliography}{00}

 \bibitem{backpropagation}
  Rumelhart, D., Hinton, G. \& Williams, R. Learning representations by back-propagating errors. Nature 323,533–536 (1986). https://doi.org/10.1038/323533a0

 \end{thebibliography}
 \end{document}

我该如何解决?

问题是你的doi不换行。为避免这种情况,您可以使用 xurl 包:

 \documentclass[a4paper,12pt]{report}
 
  \usepackage{xurl}
 
 
 \begin{document}

 \begin{thebibliography}{00}


 \bibitem{backpropagation}
  Rumelhart, D., Hinton, G. \& Williams, R. Learning representations by back-propagating errors. Nature 323,533–536 (1986). \url{https://doi.org/10.1038/323533a0}

 \end{thebibliography}
 \end{document}

如果 link 中间的这个换行符过于激进,您也可以尝试 urlhyperref 包:

 \documentclass[a4paper,12pt]{report}
 
  \usepackage{url}
 
 
 \begin{document}

 \begin{thebibliography}{00}


 \bibitem{backpropagation}
  Rumelhart, D., Hinton, G. \& Williams, R. Learning representations by back-propagating errors. Nature 323,533–536 (1986). \url{https://doi.org/10.1038/323533a0}

 \end{thebibliography}
 \end{document}