我不完全确定 python 代码具体做了什么,但(假设引号在传递到 XeTeX 部分时被识别为引号)如果它们之间没有空格等字符,那么它会在它们之间添加 \quotekernamount 的间距。我不完全确定原因,但当前代码显示为 \quotekernamount=0pt。如果是 0pt,那么字符之间唯一的字距调整就取决于字体内置的字距调整。
另外,目前我在 PTXprint 的用户界面上看不到任何相关控制项,即使在 TeXpert hacks 页面也没有。哎呀。
当然,您可以转到高级选项卡,

确保勾选/选中“应用自定义设置”,
点击“编辑”,然后添加一行类似以下内容:
\quotekernamount=0.3ex
(其中 1ex 是字体中 x 的高度,当然您也可以使用绝对尺寸,如 pt 或 mm 等)
当前应用此规则的引号列表如下:
U+201C 左双引号
U+2018 左单引号
U+201D 右双引号
U+2019 右单引号
理想情况下,它也应该对低位引号应用相同的逻辑,但我推测它不应该对高低位引号的混合使用应用此规则。
I’m not entirely sure what the python does, but (assuming that the quotes as they get through to the XeTeX portion of things are recognised as quotation marks) with no spaces, etc. between them, then it will add \quotekernamount of space between them. I’m not entirely sure why, but the code currently says \quotekernamount=0pt. If it is 0pt, then the only kerning between the characters depends on the font’s in-built kerning.
Also, I can’t see any control in PTXprint’s user interface at the moment, not even on the TeXpert hacks page. Oops.
You can of course go to the advanced tab,

Ensure that there’s a tick / check on apply customised settings,
click on “Edit”, and then add a line something like:
\quotekernamount=0.3ex
(where 1ex is the height of an x in the font, you can of course use an absolute dimension, like pt or mm, etc)
The current list of quotes for which this apply are:
U+201C LEFT DOUBLE QUOTATION MARK
U+2018 LEFT SINGLE QUOTATION MARK
U+201D RIGHT DOUBLE QUOTATION MARK
U+2019 RIGHT SINGLE QUOTATION MARK
Ideally, it would also apply the same logic to low quotes, but I presume it should not apply it to mixtures of high and low quote marks.
机器翻译自 English