diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-01-05 16:47:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-01-05 16:47:00 +0100 |
commit | f43952a7dc197eb796722c4ca4a5ccb5638b5165 (patch) | |
tree | b114a500a9f796a869b32c10a7ca9bf4fdec1343 /tex/context/base/math-dim.lua | |
parent | 20c4037f15e32fe45d05807514f75249d7d416e8 (diff) | |
download | context-f43952a7dc197eb796722c4ca4a5ccb5638b5165.tar.gz |
beta 2010.01.05 16:47
Diffstat (limited to 'tex/context/base/math-dim.lua')
-rw-r--r-- | tex/context/base/math-dim.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/math-dim.lua b/tex/context/base/math-dim.lua index fda1e8551..62d805126 100644 --- a/tex/context/base/math-dim.lua +++ b/tex/context/base/math-dim.lua @@ -118,7 +118,7 @@ local defaults = { ['default']={ "SubscriptBaselineDropMin", "sub_drop" }, }, ['sub_sup_shift_down']={ - ['default']={ "SubscriptShiftDown", "sub2" }, + ['default']={ "SubscriptShiftDown", "sub2" }, -- todo }, ['sub_top_max']={ ['default']={ "SubscriptTopMax", "abs(math_x_height*4)/5" }, @@ -209,6 +209,7 @@ end function mathematics.dimensions(dimens) if dimens.SpaceAfterScript then + dimens.SubscriptShiftDownWithSuperscript = dimens.SubscriptShiftDown * 1.5 return { }, table.fastcopy(dimens) elseif dimens.AxisHeight or dimens.axis_height then local t = { } @@ -284,6 +285,7 @@ function mathematics.dimensions(dimens) StackTopShiftUp = t . stack_num_up . text_style, SubscriptBaselineDropMin = t . sub_shift_drop . text_style, SubscriptShiftDown = t . sub_shift_down . text_style, + SubscriptShiftDownWithSuperscript = t . sub_sup_shift_down . text_style, SubscriptTopMax = t . sub_top_max . text_style, SubSuperscriptGapMin = t . subsup_vgap . text_style, SuperscriptBaselineDropMax = t . sup_shift_drop . text_style, |