進一步測試顯示,關閉 XeTeXuseglyphmetrics 導致預期的功能出現混亂。我將此視為一個錯誤,不幸的是,由於 python 程式碼通常會關閉 XeTeXuseglyphmetrics,人們可能已經習慣了這種行為。在修復這個問題時,我也修復了部分實現的負值 = 絕對位置的功能。
預設值:\def\UnderlineLower{0.2em}

舊的、有錯誤的行為 \def\UnderlineLower{0.2em}

新的絕對位置:\def\UnderlineLower{-0.2em)

設為零:

設為 -0.1:

我對工具提示的建議:
這設定下劃線在文字下方的距離(以 em 為單位)
以及它是相對於什麼。如果是正值或零,
它是低於任何下延部分(descenders)底部的距離。如果是負值,
它是低於基線(baseline)的距離。(現在)沒有方法
使用下劃線來劃掉文字。
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