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

开发版cls模板下公式中的字母间距各有不同 #929

Closed
QWERT1104 opened this issue Mar 4, 2024 · 2 comments
Closed

开发版cls模板下公式中的字母间距各有不同 #929

QWERT1104 opened this issue Mar 4, 2024 · 2 comments

Comments

@QWERT1104
Copy link

编译环境

编译的系统:Windows 11@VS code & TeXstudio
TeX 发行版:TeX Live 2023
模板版本:2024.3.3编译的开发版
模板类型:master

描述问题

在模板中使用equation或者align命令输入公式,公式中的字母间距不同,字母A-Z顺序键入效果如下图,可以看到字母之间的间距有比较明显的不同。

截图:
image

复现上述问题的代码:

\begin{equation}
	\textit{Sensitivity} = \textit{SNR}_{req} + \textit{N}_0 + \textit{NF} + 10 \text{log} \textit{BW}
\end{equation}
\begin{equation}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\end{equation}
\begin{equation}
	Sensitivity = SNR_{req} + N_0 + NF + 10 \text{log} BW
\end{equation}

麻烦作者排查一下问题,万分感谢!

@zepinglee
Copy link
Contributor

这是 feature 不是 bug。LaTeX 数学模式直接输入 SNR 表示 S, N, R 三个变量,而 \textit{SNR} 表示 SNR 单词。两者使用的是不同 kerning。谁有合适介绍资料不妨评论一下。

另外单词 \text{log} 和算符 \log 前后的 kerning 也不同。

@QWERT1104
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