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

大标题与正文以及小标题之间的行间距太大了,请问该怎么修改 #68

Closed
ginkgotyranny opened this issue Feb 10, 2022 · 2 comments
Labels
good first issue Good for newcomers

Comments

@ginkgotyranny
Copy link

大标题与正文以及小标题之间的行间距太大了,请问该怎么修改
GO`47C}6 L M%~GLPRX8JOE
在标题中添加\vspace{-2cm}可以更改,但是也会将页眉以及目录的格式更改,使得发生错误
8T8%(DY4{TO {_6XID 2(@O

@atxy-blip
Copy link
Member

ctex 宏集提供的设置即可,手册在 http://mirrors.ctan.org/language/chinese/ctex/ctex.pdf

image


下面例子中的 0pt 可以改成任何合法的长度值。

\documentclass{njuthesis}

\ctexset{
  chapter/afterskip = 0pt
}

\begin{document}
\mainmatter
\chapter{标题}
\section{标题}
几里哇啦
\end{document}

@atxy-blip atxy-blip added the good first issue Good for newcomers label Feb 10, 2022
@ginkgotyranny
Copy link
Author

ginkgotyranny commented Feb 10, 2022 via email

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

No branches or pull requests

2 participants