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

修正目录中顶格标题的断行问题 #966

Merged
merged 2 commits into from
Jul 2, 2024
Merged

修正目录中顶格标题的断行问题 #966

merged 2 commits into from
Jul 2, 2024

Conversation

zepinglee
Copy link
Contributor

修复 #963

复现问题:

\documentclass[degree=doctor]{thuthesis}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{不同时间窗口下行为变量对最低绩点回归的 Wald 检验结果-高学业风险}
\chapter{不同时间窗口下行为变量对最低绩点回归的 Wald 检验结果-高学业风}
\end{document}
Screenshot 2024-07-02 at 18 35 22

@zepinglee zepinglee requested a review from Harry-Chen July 2, 2024 10:37
@zepinglee
Copy link
Contributor Author

@SaYa-t 这样的效果可以吗?

@SaYa-t
Copy link

SaYa-t commented Jul 2, 2024

@zepinglee 我替换了dtx文件后重新生成了一下,效果还是这样
image
要不你试试页码设置为三位数以上再看看能不能实现自动换行

@zepinglee
Copy link
Contributor Author

@zepinglee 我替换了dtx文件后重新生成了一下,效果还是这样 image 要不你试试页码设置为三位数以上再看看能不能实现自动换行

编译 thuthesis.ins 生成 thuthesis.cls

@zepinglee
Copy link
Contributor Author

测试了一下表格标题,也没有问题。

\documentclass[degree=doctor]{thuthesis}
\begin{document}
\frontmatter
\listoftables
\mainmatter
\setcounter{chapter}{7}
\setcounter{table}{4}
\setcounter{page}{178}
\begin{table}
  \caption{不同时间窗口下行为变量对最低绩点回归的 Wald 检验结果-高学业}
\end{table}
\begin{table}
  \caption{不同时间窗口下行为变量对最低绩点回归的 Wald 检验结果-高学业风}
\end{table}
\begin{table}
  \caption{不同时间窗口下行为变量对最低绩点回归的 Wald 检验结果-高学业风险}
\end{table}
\end{document}
Screenshot 2024-07-02 at 19 40 29

@SaYa-t
Copy link

SaYa-t commented Jul 2, 2024

编译后没有问题了

Copy link
Member

@Harry-Chen Harry-Chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Harry-Chen Harry-Chen merged commit 60661f7 into master Jul 2, 2024
10 checks passed
@Harry-Chen Harry-Chen deleted the issue#963 branch July 2, 2024 14:05
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

Successfully merging this pull request may close these issues.

3 participants