为了编写参考书目,我使用以下代码:
\begin{thebibliography}
\bibitem{name} Authors, {\em Name of the article}.
\end{thebibliography}
完整代码如下:
\documentclass[12pt,a4paper]{report}
\usepackage[english]{babel}
\usepackage{newlfont}
\usepackage{color}
\usepackage[autopunct=true]{csquotes}
%\usepackage{quotchap} for different chapters titles layout
\usepackage{epigraph}
\usepackage{tocloft} %to personalize table of contents
\usepackage{hyperref} %hyperlinks
\usepackage{graphicx} %figures
\usepackage{amsmath} %math
\usepackage{amsfonts} %to do the bold W
%\usepackage[toc,page]{appendix}
\usepackage[titletoc,title]{appendix}
\usepackage{float} %to force position of figures
\usepackage{mathtools}
\usepackage{unicode-math}
%\usepackage[notindex]{tocbibind} you will no longer need to provide the instruction \addcontentsline{toc}
\usepackage[nottoc,numbib]{tocbibind}%to remove contents from table of contents and to add bibliography to it.
%\usepackage[nottoc]{tocbibind} To add sections in the table of contents
\begin{document}
\begin{center}
{\LARGE{\bf Abstract}}\\
\vspace{9mm}
I hope it will be an important thesis.
\end{center}
\thispagestyle{empty}
\clearpage
\pagenumbering{arabic}
%to reset the page number.
\newpage
\tableofcontents
\newpage
\chapter{Introduction}\epigraph{``Frase''}{Autore}
Hello
\chapter{Argument 1}
Hello
\chapter{An other argument}
Hello
%\addcontentsline{toc}{chapter}{Acknowledgments}
\chapter*{Acknowledgments}
\addcontentsline{toc}{chapter}{Acknowledgments}
\begin{thebibliography}{bibliography}
\bibitem{Article} Authors {\em Paper} .
\end{thebibliography}
%\addcontentsline{toc}{chapter}{Bibliography}
\end{document}
但这样一来,书目看起来就像章节因为在这个页面中有例如“第 4 章”,那么参考书目并在目录中添加章节编号,如4 参考书目...页数总结一下,目录是这样的:
由于参考书目实际上是在一个章节中:
我尝试\usepackage[nottoc,numbib]{tocbibind}
在不同的地方使用建议的方法,但没有效果。我正在使用 Kile。
提前致谢。