簡單的參考書目錯誤

簡單的參考書目錯誤

我使用這段程式碼,當我總是引用包含 _ 的網頁時,會出現錯誤,它說我缺少插入的 $ 。我怎麼才能取消這個問題?

\begin{thebibliography}{9}

\bibitem{Introduction to CFT} 
Blumenhagen, R., Plauschinn, E., Introduction to Conformal Field Theory: With Applications
to String Theory, Lect. Notes Phys. 779 (Springer, Berlin Heidelberg 2009), DOI 10.1007
978-3-642-00450-6
\\\texttt{http://stringworld.ru/files/Blumenhagen_R._Plauschinn_E._Introduction_to_conformal_field_theory_with_applications_to_string_theory.pdf}`

\end{thebibliography}

答案1

您不應將 URL 包含在\texttt指令中。相反,請務必加載網址打包,可能帶有選項hyphens,然後寫入\url{<long url string here>}.

在此輸入影像描述

\documentclass{article}      

\usepackage{url}

\begin{document}
\begin{thebibliography}{9}

\bibitem{Introduction to CFT} 
Blumenhagen, R., Plauschinn, E., Introduction to Conformal Field Theory: 
With Applications to String Theory, Lect.\ Notes Phys.\ 779 (Springer, 
Berlin and Heidelberg 2009), DOI 10.1007, ISBN 978-3-642-00450-6\linebreak 
\url{http://stringworld.ru/files/Blumenhagen_R._Plauschinn_E._Introduction_to_conformal_field_theory_with_applications_to_string_theory.pdf}

\end{thebibliography}
\end{document}

相關內容