summaryrefslogtreecommitdiff
path: root/tex/context/base/math-stc.mkvi
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-01-08 02:40:19 +0200
committerMarius <mariausol@gmail.com>2013-01-08 02:40:19 +0200
commit60bf224a450ae0400ab0464cb1e170d74291b2df (patch)
tree5a44163f7c28431e5f030eb52fc16391c71807bc /tex/context/base/math-stc.mkvi
parent1cf7d62e4c6bdb5cac3ead4dc8ccd387c1eef194 (diff)
downloadcontext-60bf224a450ae0400ab0464cb1e170d74291b2df.tar.gz
beta 2013.01.08 01:19
Diffstat (limited to 'tex/context/base/math-stc.mkvi')
-rw-r--r--tex/context/base/math-stc.mkvi15
1 files changed, 9 insertions, 6 deletions
diff --git a/tex/context/base/math-stc.mkvi b/tex/context/base/math-stc.mkvi
index 4760c4b3c..557969f4e 100644
--- a/tex/context/base/math-stc.mkvi
+++ b/tex/context/base/math-stc.mkvi
@@ -176,15 +176,15 @@
% heads/tails + hoffset
\else\ifx\p_offset\v!min
% heads/tails - hoffset
- \advance\scratchleftoffset -\scratchhoffset
+ \advance\scratchleftoffset-\scratchhoffset
\advance\scratchrightoffset-\scratchhoffset
\else % \v!normal
% hoffset
- \scratchleftoffset \zeropoint
+ \scratchleftoffset\zeropoint
\scratchrightoffset\zeropoint
\fi\fi
- \ifdim\scratchleftoffset <\zeropoint
- \scratchleftoffset \zeropoint
+ \ifdim\scratchleftoffset<\zeropoint
+ \scratchleftoffset\zeropoint
\fi
\ifdim\scratchrightoffset<\zeropoint
\scratchrightoffset\zeropoint
@@ -231,6 +231,11 @@
\fi
\scratchleftoffset \zeropoint
\scratchrightoffset\zeropoint
+ \ifcase#method\relax
+ \math_stackers_check_unicode{#codepoint}%
+ \else
+ \edef\m_math_stackers_text_middle{#codepoint}%
+ \fi
\ifx\m_math_stackers_text_top\empty
\setbox\scratchboxone\emptyhbox
\else
@@ -243,7 +248,6 @@
\fi
%
\ifcase#method\relax
- \math_stackers_check_unicode{#codepoint}%
\scratchwidth\wd
\ifdim\wd\scratchboxone>\wd\scratchboxtwo
\scratchboxone
@@ -252,7 +256,6 @@
\fi
\relax
\else
- \edef\m_math_stackers_text_middle{#codepoint}%
\ifx\m_math_stackers_text_middle\empty
\setbox\scratchboxthree\emptyhbox
\else