我正在写论文。我想在每章开头的章节标题前添加“章节编号”。例如,第 1 章后面是下一行的章节标题。在目录中,它应该保持如下 MWE 中显示的样子。
% arara: pdflatex: { synctex: on }
% arara: pdflatex: { synctex: on }
\documentclass[oneside,12pt ]{scrbook}
\usepackage[hidelinks]{hyperref}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{enumerate}
\usepackage[english]{babel}
\usepackage[autostyle]{csquotes}
\usepackage{cite}
\linespread{1.5}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=blue,
urlcolor=blue
}
\AtBeginDocument{\renewcommand{\bibname}{References}}
\begin{document}
%\maketitle
\frontmatter
\tableofcontents
\listoffigures
\listoftables
%\chapter{Acknowledgements}
%\chapter{Abstract}
%A brief summary of the thesis goes here.
\mainmatter
\chapter {Introduction}
Introduction
\chapter{ Literature Review}
\backmatter
\addcontentsline{toc}{chapter}{References}
\bibliographystyle{IEEEtran}
%\bibliographystyle{unsrt}
%\bibliographystyle{plain}
\bibliography{myBib}
\end{document}