Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

目录里第几章的「章」和本章名称重叠 #218

Closed
XiangyunHuang opened this issue Sep 2, 2022 · 3 comments
Closed

目录里第几章的「章」和本章名称重叠 #218

XiangyunHuang opened this issue Sep 2, 2022 · 3 comments

Comments

@XiangyunHuang
Copy link

XiangyunHuang commented Sep 2, 2022

最初接到用户在统计之都论坛反馈

问题描述

当章节数量超过 10 就会出现目录里第几章的「章」和本章名称重叠。

问题复现

只需将模版里的

\documentclass[lang=cn,10pt,newtx]{elegantbook}

替换为

\documentclass[lang=cn,10pt,newtx,scheme=chinese]{elegantbook}

然后在后文内容上,添加一些空白章节

\chapter{ElegantBook 写作示例}
\chapter{ElegantBook 写作示例}
\chapter{ElegantBook 写作示例}
\chapter{ElegantBook 写作示例}
\chapter{ElegantBook 写作示例}
\chapter{ElegantBook 写作示例}

编译出来后,在目录里,就可以看到问题了,见下图。

截屏2022-09-02 20 38 20

@EthanDeng
Copy link
Member

这个是因为目录里面宽度设定为固定宽度导致的,确定是模板的问题,我周末看下。

@EthanDeng
Copy link
Member

根据这个帖子改动,模板在仓库的最新版更新了目录的设定。

@XiangyunHuang
Copy link
Author

谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants