我正在用 LaTeX 写论文。我遇到了罗马数字的问题。页面上显示的数字是正确的,i, ii, iii,...
但目录中的排列方式不同。就像
声明................i
语言证书.....i
\pagenumbering{roman}
\addcontentsline{toc}{chapter}{Declaration}
\cleardoublepage
\chapter*{Declaration}
i am ....
\addcontentsline{toc}{chapter}{Language Correctness Certificate}
\cleardoublepage
\chapter*{Language Correctness Certificate}
i am bla bla.....
\addcontentsline{toc}{chapter}{Copyright Statement}
\cleardoublepage
\chapter*{Copyright Statement}
i am blabla....
\addcontentsline{toc}{chapter}{Acknowledgements}
\cleardoublepage
\chapter*{Acknowledgment}
i am.....
\addcontentsline{toc}{chapter}{Dedication}
\cleardoublepage
\chapter*%{Dedication}
bnn.....
\addcontentsline{toc}{chapter}{Abstract}
\cleardoublepage
\chapter*{Abstract}
....
\addcontentsline{toc}{chapter}{Table of Contents}
\cleardoublepage
\noindent
\tableofcontents
\addcontentsline{toc}{chapter}{List of Figures}
\cleardoublepage
\noindent
\listoffigures
\addcontentsline{toc}{chapter}{List of Tables}
\cleardoublepage
\noindent
\listoftables
\clearpage
答案1
答案2
\addcontentsline
之后有\chapter*
- 否则它将显示来自上一个内容的页码
\documentclass{book}
\begin{document}
\pagenumbering{roman}
\cleardoublepage
\chapter*{Declaration}
\addcontentsline{toc}{chapter}{Declaration}
i am ....
\cleardoublepage
\chapter*{Language Correctness Certificate}
\addcontentsline{toc}{chapter}{Language Correctness Certificate}
i am bla bla.....
\cleardoublepage
\noindent
\tableofcontents
\end{document}