温馨提示×

Latex中使用thebibliography环境时去除参考文献标题

小云
715
2023-08-05 18:32:16
栏目: 编程语言

使用thebibliography环境时,默认会添加一个参考文献标题。如果不想显示标题,可以手动删除或者使用\renewcommand命令来覆盖默认设置。以下是两种方法:

  1. 手动删除标题:在thebibliography环境开始之前添加\section*{参考文献}来手动添加一个无编号的标题。然后,删除thebibliography环境内的\bibliographystyle\bibliography命令,将参考文献以适当的格式直接插入环境中。例如:
\section*{参考文献}
\begin{thebibliography}{9}
\bibitem{latexcompanion}
Michel Goossens, Frank Mittelbach, and Alexander Samarin.
\textit{The \LaTeX\ Companion}.
Addison-Wesley, Reading, Massachusetts, 1993.
\bibitem{einstein}
Albert Einstein.
\textit{Zur Elektrodynamik bewegter K{\"o}rper}. (German)
[\textit{On the electrodynamics of moving bodies}].
Annalen der Physik, 322(10):891–921, 1905.
% 插入其他参考文献...
\end{thebibliography}
  1. 使用\renewcommand命令覆盖默认设置:在导言区添加以下代码即可去除参考文献标题。
\renewcommand{\refname}{}

然后,在thebibliography环境中按照适当的格式插入参考文献。例如:

\begin{thebibliography}{9}
\bibitem{latexcompanion}
Michel Goossens, Frank Mittelbach, and Alexander Samarin.
\textit{The \LaTeX\ Companion}.
Addison-Wesley, Reading, Massachusetts, 1993.
\bibitem{einstein}
Albert Einstein.
\textit{Zur Elektrodynamik bewegter K{\"o}rper}. (German)
[\textit{On the electrodynamics of moving bodies}].
Annalen der Physik, 322(10):891–921, 1905.
% 插入其他参考文献...
\end{thebibliography}

这样,在文档中将只显示参考文献条目,而不会显示标题。

0