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

xeCJKfntef: 下划线中公式会引发错误 #530

Open
stone-zeng opened this issue Jul 14, 2020 · 1 comment
Open

xeCJKfntef: 下划线中公式会引发错误 #530

stone-zeng opened this issue Jul 14, 2020 · 1 comment

Comments

@stone-zeng
Copy link
Member

\documentclass{article}
\usepackage{xeCJKfntef}
\begin{document}
\CJKunderline{张量$A$的维度}
\end{document}

报错为:

! Too many }'s.
\UL@stop ... \UL@putbox \fi \else \egroup \egroup 
                                                  \UL@putbox \fi \ifnum \UL@...
l.4 \CJKunderline{张量$A$的维度}
                        
?

如果加上空格,即改为 \CJKunderline{张量 $A$ 的维度},则不报错,但公式前间距消失:

image

@BurgessX
Copy link

我也遇到了同样的问题(Texlive2021),但看了这个issue才知道能通过加空格解决。

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

No branches or pull requests

2 participants