进一步的测试表明,关闭 XeTeXuseglyphmetrics 导致了预期功能的混乱。我认为这是一个 bug,不幸的是,人们可能已经习惯了这种情况,因为 python 代码通常会将 XeTeXuseglyphmetrics 关闭。在修复该问题时,我也修复了部分实现的“负值 = 绝对位置”功能。
预期的默认值:\def\UnderlineLower{0.2em}
旧的、有 bug 的行为 \def\UnderlineLower{0.2em}
新的绝对位置:\def\UnderlineLower{-0.2em)}
设置为零:
设置为 -0.1:
我对提示文本的建议:
这设置了下划线相对于文本的位置(以 em 为单位)
以及它是相对于什么计算的。如果为正数或零,
它是相对于任何下延部分底部的距离。
如果为负数,它是相对于基线的距离。
(现在)没有方法可以使用下划线来划掉文本。
Further testing has shown that the intended functioning was getting confused by switching off XeTeXuseglyphmetrics. I’m considering this a bug, and unfortunately people are probably used to it, since XeTeXuseglyphmetrics was normally turned off by the python code. In fixing that, I’ve also fixed the partly implemented negative value = absolute position.
Intended default value:\def\UnderlineLower{0.2em}
Old, buggy behaviour \def\UnderlineLower{0.2em}
New absolute position: \def\UnderlineLower{-0.2em)
Set to zero:
Set to -0.1:
My suggestion for a tooltip:
This sets how far (in ems) underline is below the text
and what it is relative to. If positive or zero, it is the distance
below the bottom of any descenders. If negative,
it is the distance below the baseline. There is (now) no way
to use underlining to cross out text.
机器翻译自 English 显示原文