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

CJKunderline 不能正确处理带中文标点的参数 #338

Closed
mohuangrui opened this issue Feb 9, 2018 · 1 comment
Closed

CJKunderline 不能正确处理带中文标点的参数 #338

mohuangrui opened this issue Feb 9, 2018 · 1 comment
Assignees
Labels

Comments

@mohuangrui
Copy link

mohuangrui commented Feb 9, 2018

你们好,请问可以麻烦你们确认下如下问题吗:

\documentclass{ctexbook}
\begin{document}
    CJKunderline 似乎不能正确处理带中文标点的参数:
    
    \CJKunderline{比如:还有——都,不、行。}
\end{document}

除此之外,请问为何只在 xeCJK 对 CJKunderline 进行了拓展,比如添加了 thickness 之类的。这样一来,pdflatex 调用的 CJKunderline 与 xelatex 调用的 CJKunderline 参数不一致,同时,xeCJK无法被 lualatex 加载,最后导致在不同编译引擎下的兼容不好的问题。

谢谢你们的时间和帮助!

@Liam0205 Liam0205 self-assigned this Feb 9, 2018
@Liam0205
Copy link
Contributor

Liam0205 commented Feb 9, 2018

请认真阅读 xeCJK 宏包说明文档。

\documentclass{ctexbook}
\begin{document}
    CJKunderline 其实可以正确处理带中文标点的参数:

    \CJKunderline*{比如:还有——都,可、以。}
\end{document}

ctex 宏包只能保证在版式上的一致性,下划线由更底层的中文支持宏包给出,因此无法保证一致性。

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

No branches or pull requests

2 participants