當我使用 \begin{thebibliography} 命令時,我將其作為一章獲得。我怎樣才能擺脫它?

當我使用 \begin{thebibliography} 命令時,我將其作為一章獲得。我怎樣才能擺脫它?

我想在報告末尾包含一個參考列表,但是當我使用該命令時\begin{thebibliography},我得到一個標題,上面寫著「第 1 章」。這是一個例子:

\renewcommand{\bibname}{References}
\begin{thebibliography}{10}
\bibitem{notes} John W. Dower {\em Readings compiled for History 21.479.} 1991.
\bibitem{impj}  The Japan Reader {\em Imperial Japan 1800-1945} 1973: Random House, N.Y.
\end{thebibliography}

只是\renewcommand{\bibname}{}刪除了「參考書目」標題。在頁面頂部仍然顯示“第 1 章”(因為我使用該\chapter*{chaptername}命令)。我知道報告類別將參考書目定義為章節,文章類別將其定義為節,但我依賴使用報告類別。提前致謝! 我想刪除“Kapittel 1”(“第一章”)

答案1

嘗試使用該tocbibind包。它將為參考書目部分選擇正確的章節標題樣式。

\documentclass{report}


\usepackage{tocbibind}

\begin{document}
\renewcommand{\bibname}{References}
\begin{thebibliography}{10}
\bibitem{notes} John W. Dower {\emph{Readings compiled for History 21.479.}} 1991.
\bibitem{impj}  The Japan Reader {\emph{Imperial Japan 1800-1945}} 1973: Random House, N.Y.
\end{thebibliography}

\end{document}

在此輸入影像描述

答案2

您可以暫時停用該\chapter功能,將其移植到\section透過以下方式執行的任何操作

\let\chapter\section

如果您\chapter在參考書目之後需要功能,那麼也可以恢復它:

在此輸入影像描述

\documentclass{report}

% Store \chapter functionality in \oldchapter
\let\oldchapter\chapter

\begin{document}

% Let \chapter act just like \section
\let\chapter\section
\renewcommand{\bibname}{References}
\begin{thebibliography}{10}
  \bibitem{notes} John W. Dower \emph{Readings compiled for History 21.479.} 1991.
  \bibitem{impj}  The Japan Reader \emph{Imperial Japan 1800-1945} 1973: Random House, N.Y.
\end{thebibliography}

%% Restore original \chapter functionality
%\let\chapter\oldchapter
\end{document}

相關內容