summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/termes-math.lfg
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/fonts/mkiv/termes-math.lfg')
-rw-r--r--tex/context/fonts/mkiv/termes-math.lfg34
1 files changed, 20 insertions, 14 deletions
diff --git a/tex/context/fonts/mkiv/termes-math.lfg b/tex/context/fonts/mkiv/termes-math.lfg
index c74228179..7dfc73207 100644
--- a/tex/context/fonts/mkiv/termes-math.lfg
+++ b/tex/context/fonts/mkiv/termes-math.lfg
@@ -99,15 +99,15 @@ return {
},
-- First we set the dimensions of the initial accent which started out as zero but we want
-- a proper width.
- {
- tweak = "dimensions",
- list = {
- [0x00302] = { width = 1.4, anchor = 1.20, xoffset = .10 }, -- widehat
- [0x00303] = { width = 1.4, anchor = 1.20, xoffset = .10 }, -- widetilde
- [0x00306] = { width = 1.4, anchor = 1.20, xoffset = .10 }, -- widebreve
- [0x0030C] = { width = 1.4, anchor = 1.20, xoffset = .10 }, -- widecheck
- },
- },
+ -- {
+ -- tweak = "dimensions",
+ -- list = {
+ -- [0x00302] = { width = 1.4, anchor = 1.20, xoffset = .10 }, -- widehat
+ -- [0x00303] = { width = 1.4, anchor = 1.20, xoffset = .10 }, -- widetilde
+ -- [0x00306] = { width = 1.4, anchor = 1.20, xoffset = .10 }, -- widebreve
+ -- [0x0030C] = { width = 1.4, anchor = 1.20, xoffset = .10 }, -- widecheck
+ -- },
+ -- },
-- Then we deal with all offsets and heights in one go. So we treat the initial accent
-- as well as the variants here. Not in termes.
-- We now copy these to the not wide slots so that we can set these to stretch as well,
@@ -130,11 +130,17 @@ return {
},
{
tweak = "replacerules",
- -- minus = true, -- we have an extensible
- fraction = { height = .2, yoffset = .8 },
- radical = { height = .2, yoffset = .8 },
- stacker = { height = .2, yoffset = .8 },
- },
+ fraction = { height = .2, xleftoffset = .115, xrightoffset = .115, yoffset = .81 },
+ radical = { height = .2, leftoffset = .115, rightoffset = .115, yoffset = .81 },
+ stacker = { height = .2, xleftoffset = .115, xrightoffset = .115, yoffset = .81 },
+ },
+ -- {
+ -- tweak = "replacerules",
+ -- -- minus = true, -- we have an extensible
+ -- fraction = { height = .2, yoffset = .8 },
+ -- radical = { height = .2, yoffset = .8 },
+ -- stacker = { height = .2, yoffset = .8 },
+ -- },
{
tweak = "addbars",
advance = 0.3,