裡面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
,但沒有成功。有人可以幫我嗎?