引用中的 URL 超出了列宽,我想知道该如何换行?
\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
\title{my title}
\maketitle
\section{Section 1}
Paper~\cite{Nsight18} shows
\begin{thebibliography}{00}
\bibitem{Nsight18} NVIDIA Nsight Visual Studio Edition, https://docs.nvidia.com/gameworks/content/developertools/desktop/analysis/report/cudaexperiments/kernellevel/achievedflops.htm [online], 2018.
\end{thebibliography}
\vspace{12pt}
\end{document}
查看输出
答案1
如果您的 TeX 发行版具有该xurl
包,那么您应该使用它。
\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
\usepackage{xurl}
\title{my title}
\begin{document}
\maketitle
\section{Section 1}
Paper~\cite{Nsight18} shows \dots
\begin{thebibliography}{00}
\bibitem{Nsight18} NVIDIA Nsight Visual Studio Edition,
\url{https://docs.nvidia.com/gameworks/content/developertools/desktop/analysis/report/cudaexperiments/kernellevel/achievedflops.htm}
[online], 2018.
\end{thebibliography}
\end{document}