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

xeCJK 的 \newline 断行问题 #341

Closed
qinglee opened this issue Feb 25, 2018 · 0 comments
Closed

xeCJK 的 \newline 断行问题 #341

qinglee opened this issue Feb 25, 2018 · 0 comments
Assignees
Labels

Comments

@qinglee
Copy link
Member

qinglee commented Feb 25, 2018

原始报告:http://bbs.ctex.org/forum.php?mod=viewthread&tid=154921

TeXLive 2017 平台,刚刚更新宏包。发现更新之后,\newline 和其等价命令 \\ 的断行功能产生了变换。跟在中文(含中文标点)后面的 \\\newline 导致该行分散对齐,即做出了 \linebreak 的功能。但是英文后的后的 \\\newline 正常,依然保持该行靠左对齐。

\documentclass{ctexart}

\begin{document}
江南可采莲,\newline
莲叶何田田。a\newline
鱼戏莲叶间。\\
鱼戏莲叶东,a\\
鱼戏莲叶西,\linebreak
鱼戏莲叶南,a\linebreak
鱼戏莲叶北。{}\\
断行测试
\end{document}

应该是 v3.6.0 引入的 \xeCJK_if_last_punct:TF 实现错误造成的。

@qinglee qinglee added the bug label Feb 25, 2018
@qinglee qinglee self-assigned this Feb 25, 2018
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

1 participant