Skip to content

目录页中的计数器问题 #349

Description

@SnakeKai

检查清单

  • 我已在 issues 中进行搜索(包括已关闭的问题)

操作系统

Windows 10

TeX 发行版

CTEX套装3.0.215.2

描述问题

在ctexrep文档类下,想采用\pagenumbering命令实现在ctexbook文档类下的前言、正文、后记结构的划分命令,使得目录页的页码计数样式都是罗马数字,正文部分的页码计数样式为阿拉伯数字,但是排在前言部分最后位置的目录的页码计数总是会变成阿拉伯数字,我通过移动\pagenumbering的插入位置,更改文档类为ctexbook

Image

等等方式都无法解决该问题,很困惑这个问题是出在哪里,望解答

最小工作示例(MWE)

\documentclass{ctexrep}

\begin{document}
\pagenumbering{Roman}
\tableofcontents \addcontentsline{toc}{chapter}{目录}
\listoftables \addcontentsline{toc}{chapter}{表格列表}
\listoffigures \addcontentsline{toc}{chapter}{图片列表}

\pagenumbering{arabic}
\part{\LaTeX 的简介}
巴拉巴拉

\part{\LaTeX 的使用}
巴拉巴拉

\end{document}

链接

  • TeX.SX:
  • GitHub:

其他信息

No response

附件

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions