正如您在参考资料中看到的,作者姓名和 URL 部分都有很大的空格。这是我使用的。
@misc{griffith_nowakowski,
title={Powering Medical Ultrasound Imaging},
url={https://www.mouser.ca/applications/medical-ultrasound-power-supply/},
editor={Mouser Electronics Canada - Electronic Components Distributor},
author={Griffith, Chris and Nowakowski, Rich}
}
答案1
看起来间距问题是由于您未能加载知道如何以灵活方式拆分长 URL 字符串的包而导致的。
我建议您加载该xurl
包,它允许在任意位置(即所有可能的点)对较长的 URL 字符串进行换行。如果您的文档恰好也加载了该包,请确保在 之前hyperref
加载。xurl
hyperref
\documentclass{article}
\begin{filecontents}[overwrite]{mybib.bib}
\@misc{griffith_nowakowski,
title={Powering Medical Ultrasound Imaging},
url={https://www.mouser.ca/applications/medical-ultrasound-power-supply/},
editor={Mouser Electronics Canada--Electronic Components Distributor},
author={Griffith, Chris and Nowakowski, Rich}
}
\end{filecontents}
\usepackage[numbers]{natbib}
\bibliographystyle{IEEEtran} % or some other suitable bib style
\usepackage{xurl} % must load 'xurl' before 'hyperref'
\usepackage[colorlinks,allcolors=blue]{hyperref} % optional
\begin{document}
\cite{griffith_nowakowski}
\bibliography{mybib}
\end{document}