diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2012-05-14 17:38:55 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2012-05-14 17:38:55 +0000 |
commit | 15995e10bfc68edf79970c4ea4fbb6678566c46e (patch) | |
tree | 2de7ca2a83f2d37ef043ad7429a5cb945bb79ddb /Master/texmf-dist/tex/context/fonts/asana-math.lfg | |
parent | c9a39f716f1e5ec820ed3aab2c9aef25c5a9d730 (diff) |
ConTeXt 2012.05.14 16:00
git-svn-id: svn://tug.org/texlive/trunk@26371 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/fonts/asana-math.lfg')
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/asana-math.lfg | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/context/fonts/asana-math.lfg b/Master/texmf-dist/tex/context/fonts/asana-math.lfg index f845ca4dee1..2c13600c198 100644 --- a/Master/texmf-dist/tex/context/fonts/asana-math.lfg +++ b/Master/texmf-dist/tex/context/fonts/asana-math.lfg @@ -14,9 +14,22 @@ local function patch(data,filename,threshold) end end -patches.register("after","check math parameters","asana",function(data,filename) patch(data,filename,1350) end) +patches.register("after","analyze math","asana",function(data,filename) patch(data,filename,1350) end) + +local function less(value,target,original) + -- officially we should check the original + return 0.25 * value +end + +local function more(value,target,original) + local o = original.mathparameters.DisplayOperatorMinHeight + if o < 2800 then + return 2800 * target.parameters.factor + else + return value -- already scaled + end +end -local function less(value,target,original) return 0.25 * value end return { name = "asana-math", @@ -26,6 +39,7 @@ return { copyright = "ConTeXt development team", mathematics = { parameters = { + DisplayOperatorMinHeight = more, -- StackBottomDisplayStyleShiftDown = 0, -- StackBottomShiftDown = 0, -- StackDisplayStyleGapMin = 0, |