diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-09-05 16:23:29 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-09-05 16:23:29 +0200 |
commit | 9e7f89f8e06f60cd518f013074cd56599a69fb8f (patch) | |
tree | c225424668f8726db832f91cbf7391450df97dd2 /tex/context/base/mkiv/math-stc.mkvi | |
parent | 2faa09e17f36cccda88b3ce144e5f2d76e092580 (diff) | |
download | context-9e7f89f8e06f60cd518f013074cd56599a69fb8f.tar.gz |
2017-09-05 15:17:00
Diffstat (limited to 'tex/context/base/mkiv/math-stc.mkvi')
-rw-r--r-- | tex/context/base/mkiv/math-stc.mkvi | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/math-stc.mkvi b/tex/context/base/mkiv/math-stc.mkvi index 2b10bca45..babf29bce 100644 --- a/tex/context/base/mkiv/math-stc.mkvi +++ b/tex/context/base/mkiv/math-stc.mkvi @@ -76,6 +76,7 @@ \def\math_stackers_fallback {\mathstylehbox to \scratchwidth{\usemathstackerscolorparameter\c!color \hss + \hskip\mathstackersparameter\c!topoffset\relax % for manual italic correction \ifcsname\??mathextensiblefallbacks\number\scratchunicode\endcsname \lastnamedcs \else @@ -165,6 +166,7 @@ \c!mpoffset=.25\exheight, \c!voffset=.25\exheight, \c!hoffset=.5\emwidth, + \c!topoffset=\zeropoint, % for manual italic correction \c!distance=\mathstackersparameter\c!voffset, % distance between symbol and base (can be different from voffset) \c!minheight=\exheight, \c!mindepth=\zeropoint, @@ -1322,9 +1324,15 @@ % New (an example of using \mathexheight): -\definemathstackers[\v!symbol][\c!voffset=-.40\mathexheight,\c!hoffset=\zeropoint] - -\definemathover[\v!symbol][interiorset]["2217] +\definemathstackers + [\v!symbol] + [\c!voffset=-.3\mathexheight, + \c!hoffset=\zeropoint, + \c!mathclass=ord, + \c!topoffset=.4\mathemwidth, % poor man's italic correction + \c!middlecommand=\mathematics] + +\definemathover[\v!symbol][interiorset]["2218] \protect \endinput |