-
Notifications
You must be signed in to change notification settings - Fork 97
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
公式行距应比中文小 #500
Labels
Comments
YDX-2147483647
added
🚀 enhancement
New feature or request
dependencies
Pull requests that update a dependency file
labels
May 11, 2024
我认为不应引入
\AtBeginDocument{%
\linespread{\ZhLS@bodylinespread}\selectfont
% 这将 \baselinestretch 从 1.3 改成了 1.250000263919929。
} 事实上 \newcommand*\SetMathEnvironmentSinglespace[1]{%
\def\ZhLS@mathlinespread{#1}%
}
\SetMathEnvironmentSinglespace{1}
\newcommand*\RestoreMathEnvironmentLeading[1]{%
\forcsvlist\ZhLS@restoremathenvironmentleading{#1}%
}
\def\ZhLS@restoremathenvironmentleading#1{%
\AtBeginEnvironment{#1}{%
\linespread{\ZhLS@mathlinespread}\selectfont\ignorespaces
}%
}
\RestoreMathEnvironmentLeading{array}
\RestoreMathEnvironmentLeading{matrix}
\RestoreMathEnvironmentLeading{pmatrix}
\RestoreMathEnvironmentLeading{bmatrix} |
但数学环境太多了,还有这种不规则的……还是想办法把副作用规避掉吧。 \patchcmd\start@gather
{\collect@body}
{\linespread{\ZhLS@mathlinespread}\selectfont\collect@body}
{}{} 似乎这样就可以: \usepackage[bodytextleadingratio=1.56]{zhlineskip} zhlineskip 的默认是 1.5,导致 以上只适用于中文模板。 |
YDX-2147483647
added a commit
to YDX-2147483647/BIThesis
that referenced
this issue
Jul 4, 2024
如需恢复数学行距至原先的中文水平,可在导言区将倍数从1调大至1.53: ```latex \SetMathEnvironmentSinglespace{1.53} ``` Resolves BITNP#500
Merged
YDX-2147483647
added a commit
to YDX-2147483647/BIThesis
that referenced
this issue
Jul 4, 2024
如需恢复数学行距至原先的中文水平,可在导言区将倍数从1调大至1.53: ```latex \SetMathEnvironmentSinglespace{1.53} ``` Resolves BITNP#500
github-merge-queue bot
pushed a commit
that referenced
this issue
Jul 5, 2024
如需恢复数学行距至原先的中文水平,可在导言区将倍数从1调大至1.53: ```latex \SetMathEnvironmentSinglespace{1.53} ``` Resolves #500
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
目前矩阵的行距和正文一样,显得非常散。应当和西文默认的一样。
CTeX-org/ctex-kit#549
需要新安装
xint
、poormanlog
两个宏包。Relates-to: #496
英文模板可能需进一步恢复西文间距。Relates-to: #498 不过即使设为
1
也还散,据说0.8
差不多。可能还要更新unicode-math相关文档。
The text was updated successfully, but these errors were encountered: