Forgot password
 Register account
View 3465|Reply 1

xeCJK 直接输入带圈数字

[Copy link]

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2014-4-25 01:05 |Read mode
目前 xeCJK 并没有将 ①②③④⑤⑥⑦⑧⑨⑩ 这些字符归类为 CJK 字符,所以直接输入它可能会显示不出来。
要将其归类为 CJK 字符,可以在导言区写上
\xeCJKsetcharclass{`①}{`⑩}{1}
或者
\xeCJKsetcharclass{"2460}{"2469}{1}
即可。
这样就可以直接输入 ①②③④⑤⑥⑦⑧⑨⑩ 而且能以当前中文字体正确显示。

以上方法是批量设置的。

也可以逐一设置
\XeTeXcharclass`①=1
\XeTeXcharclass`②=1
……

其他的,像 ☆★ 这些也没归到 CJK 的也同理可设……

Related threads

673

Threads

110K

Posts

218

Reputation

Show all posts

original poster kuing posted 2014-4-25 01:42
PS、如果你此前用带圈数字来重定义过脚注标号的话,用了上述方法后可能同时需更新一些相应设置。

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 10:58 GMT+8

Powered by Discuz!

Processed in 0.027254 seconds, 26 queries