diff options
-rw-r--r-- | luaotfload.dtx | 3 | ||||
-rw-r--r-- | tests/math.tex | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx index b9cf7eb..7e6283b 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -672,6 +672,9 @@ local function def_font(...) fontdata.MathConstants[k] = v / units * size end end + -- for \overwithdelims + fontdata.MathConstants["FractionDelimiterSize"] = 1.01 * size + fontdata.MathConstants["FractionDelimiterDisplayStyleSize"] = 2.39 * size end end diff --git a/tests/math.tex b/tests/math.tex index 7f62896..0e07b2c 100644 --- a/tests/math.tex +++ b/tests/math.tex @@ -27,5 +27,12 @@ A \mathrel{\Uoverdelimiter "4 "2192 {a+b}} B \mathrel{\Uunderdelimiter "4 "2192 {a+b}} $$ +$$ +a \overwithdelims() b +$$ + + +\centerline{$ a \overwithdelims() b $} + \bye |