其中xeCJK.sty
有这个命令:
\clist_const:Nn \c__xeCJK_CJK_chars_clist
{
"02EA -> "02EB ,
"2E80 -> "2EFF ,
"2F00 -> "2FDF ,
"2FF0 -> "2FFF ,
"3000 -> "303F ,
"3040 -> "309F ,
"30A0 -> "30FF ,
"3100 -> "312F ,
"3130 -> "318F ,
"3190 -> "319F ,
"31A0 -> "31BF ,
"31C0 -> "31EF ,
"31F0 -> "31FF ,
"3200 -> "32FF ,
"3300 -> "33FF ,
"3400 -> "4DBF ,
"4DC0 -> "4DFF ,
"4E00 -> "9FFF ,
"A000 -> "A48F ,
"A490 -> "A4CF ,
"AC00 -> "D7AF ,
"F900 -> "FAFF ,
"FE10 -> "FE1F ,
"FE30 -> "FE4F ,
"FF00 -> "FFEF ,
"16FE0 -> "16FFF ,
"17000 -> "187FF ,
"18800 -> "18AFF ,
"18B00 -> "18CFF ,
"18D00 -> "18D7F ,
"1AFF0 -> "1AFFF ,
"1B000 -> "1B0FF ,
"1B100 -> "1B12F ,
"1B130 -> "1B16F ,
"1B170 -> "1B2FF ,
"1F200 -> "1F2FF ,
"20000 -> "2A6DF ,
"2A700 -> "2B73F ,
"2B740 -> "2B81F ,
"2B820 -> "2CEAF ,
"2CEB0 -> "2EBEF ,
"2F800 -> "2FA1F ,
"30000 -> "3134F
}
我想通过停用 FF00-FFEF 范围来更改它。当我在源代码中添加注释符号时xeCJK.sty
,如下所示:
\clist_const:Nn \c__xeCJK_CJK_chars_clist
{
"02EA -> "02EB ,
"2E80 -> "2EFF ,
"2F00 -> "2FDF ,
"2FF0 -> "2FFF ,
"3000 -> "303F ,
"3040 -> "309F ,
"30A0 -> "30FF ,
"3100 -> "312F ,
"3130 -> "318F ,
"3190 -> "319F ,
"31A0 -> "31BF ,
"31C0 -> "31EF ,
"31F0 -> "31FF ,
"3200 -> "32FF ,
"3300 -> "33FF ,
"3400 -> "4DBF ,
"4DC0 -> "4DFF ,
"4E00 -> "9FFF ,
"A000 -> "A48F ,
"A490 -> "A4CF ,
"AC00 -> "D7AF ,
"F900 -> "FAFF ,
"FE10 -> "FE1F ,
"FE30 -> "FE4F ,
% "FF00 -> "FFEF ,
"16FE0 -> "16FFF ,
"17000 -> "187FF ,
"18800 -> "18AFF ,
"18B00 -> "18CFF ,
"18D00 -> "18D7F ,
"1AFF0 -> "1AFFF ,
"1B000 -> "1B0FF ,
"1B100 -> "1B12F ,
"1B130 -> "1B16F ,
"1B170 -> "1B2FF ,
"1F200 -> "1F2FF ,
"20000 -> "2A6DF ,
"2A700 -> "2B73F ,
"2B740 -> "2B81F ,
"2B820 -> "2CEAF ,
"2CEB0 -> "2EBEF ,
"2F800 -> "2FA1F ,
"30000 -> "3134F
}
那么我就得到了我所需要的。
我的问题是:如何在不编辑源代码的情况下应用此更改xeCJK.sty
?因为我只需要对特定的 TeX 文件进行此更改,而不是一般情况下。我还想在 Overleaf 下使用修改后的 xeCJK,在那里我无法访问核心文件xeCJK.sty
。
我尝试将修改后的命令添加到我的 TeX 文件中,但没有成功。我尝试编写一个xeCJK-modification.sty
文件以在之后加载xeCJK.sty
,但没有成功。有人能帮帮我吗?