为何插入目录后,目录和正文页码都是1?

2019-09-27 10:34发布

插入目录后,使用xelatex编译,结果目录和正文的页码都是1,该如何让目录页码变为其他? \documentclass{ctexrep} \usepackage{cleveref} \title{...

插入目录后,使用xelatex编译,结果目录和正文的页码都是1,该如何让目录页码变为其他? \documentclass{ctexrep} \usepackage{cleveref} \title{Poisson's equation in 1D} \author{William} \date{\today} \begin{document} \maketitle \tableofcontents \begin{abstract} In this lecture, we consider the numerical method to the Poisson's equation using FDM and FEM. \end{abstract} \chapter{Finite Difference Method (FDM)} Consider the Poisson's equation in 1 dimension as follows: \end{document}
3条回答
```tex \documentclass{report} \usepackage{cleveref} \title{Poisson’s equation in 1D} \author{William} \date{\today} \begin{document} \maketitle \setcounter{page}{1} \renewcommand{\thepage}{\Roman{page}} \tableofcontents \begin{abstract} In this lecture, we consider the numerical method to the Poisson’s equation using FDM and FEM. \end{abstract} \setcounter{page}{1} \renewcommand{\thepage}{\arabic{page}} \chapter{Finite Difference Method (FDM)} Consider the Poisson’s equation in 1 dimension as follows: \end{document} ```

一周热门 更多>

相关问答