
thebibliography
テキストの参考文献を作成するために使用しています。
私が書いた内容は次のとおりです。
\begin{thebibliography}{99}
\addcontentsline{toc}{section}{Bibliografia}
\bibitem{uno}...
\end{thebibliography}
この問題があります。参考文献が新しいページから始まっていますが、本文の最後に置きたいのです。どうすればいいでしょうか? ご協力ありがとうございます!
答え1
MWE が指定されていないため、簡単に推測すると、newpage の原因となるコマンドは、環境\chapter*{\bibname}
の定義内の ですthebibliography
(おそらくbook
またはクラスが使用されています)。このコマンドは、クラス オプションに応じてまたは をreport
発行します。\clearpage
\cleardoublepage
使用 直前にthebibliography
緩和することでコマンドを修正しました。\clearpage
\chapter*
\documentclass{book}
\usepackage[italian]{babel}
\usepackage{blindtext}%
\usepackage{etoolbox}%
\patchcmd{\thebibliography}{\chapter*}{\par\let\clearpage\relax\chapter*}{\typeout{success}}{\typeout{failure}}
\begin{document}
\tableofcontents
\chapter{First}%
\blindtext[10]
\begin{thebibliography}{99}
\addcontentsline{toc}{section}{\bibname}
\bibitem{uno}...
\end{thebibliography}
\end{document}