summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/math-ali.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-04-26 00:56:11 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-04-26 00:56:11 +0200
commit0189223a1a40debb4cb3b146ce182eb806cd28f2 (patch)
treeef50df44125284834b25f5eb59a58afadfe5a4d3 /tex/context/base/mkiv/math-ali.mkiv
parent32e6c720c4f84f112596c6b4a75193f99e9be158 (diff)
downloadcontext-0189223a1a40debb4cb3b146ce182eb806cd28f2.tar.gz
2019-04-25 10:44:00
Diffstat (limited to 'tex/context/base/mkiv/math-ali.mkiv')
-rw-r--r--tex/context/base/mkiv/math-ali.mkiv49
1 files changed, 25 insertions, 24 deletions
diff --git a/tex/context/base/mkiv/math-ali.mkiv b/tex/context/base/mkiv/math-ali.mkiv
index 592a3441c..4ca713bbc 100644
--- a/tex/context/base/mkiv/math-ali.mkiv
+++ b/tex/context/base/mkiv/math-ali.mkiv
@@ -42,7 +42,8 @@
\unexpanded\def\math_eqalign_distance
{\relax
\ifdim\d_math_eqalign_distance>\zeropoint
- \hskip\d_math_eqalign_distance
+ % \hskip\d_math_eqalign_distance
+ \tabskip\d_math_eqalign_distance
\fi
\mathalignmentparameter\c!separator
\relax}
@@ -68,7 +69,7 @@
\def\math_build_eqalign
{\scratchtoks\emptytoks
- \d_math_eqalign_distance\mathalignmentparameter\c!distance
+ \d_math_eqalign_distance\mathalignmentparameter\c!distance\relax
\scratchcounterone\mathalignmentparameter\c!m
\scratchcountertwo\mathalignmentparameter\c!n
\etoksapp\scratchtoks{\the\t_math_align_a}%
@@ -1824,31 +1825,31 @@
\or
\bgroup \hsize\displaywidth
\fi
- \ifcase\mathnumberstatus
+ \ifcase\mathnumberstatus
+ \strc_math_flush_box
+ \or % status 1
+ \ifcase\c_strc_math_number_location
\strc_math_flush_box
- \or % status 1
- \ifcase\c_strc_math_number_location
- \strc_math_flush_box
- \or % number left
- \ifzeropt\wd\b_strc_formulas_number
- \strc_math_flush_number_no
- \else
- \strc_math_flush_number_left
- \fi
- \else % number right
- \ifzeropt\wd\b_strc_formulas_number
- \strc_math_flush_number_no
- \else
- \strc_math_flush_number_right
- \fi
+ \or % number left
+ \ifzeropt\wd\b_strc_formulas_number
+ \strc_math_flush_number_no
+ \else
+ \strc_math_flush_number_left
+ \fi
+ \else % number right
+ \ifzeropt\wd\b_strc_formulas_number
+ \strc_math_flush_number_no
+ \else
+ \strc_math_flush_number_right
\fi
- \or % status 2
- \hskip\d_math_number_correction % probably no longer used
- \strc_math_flush_box
- \hss
- \else
- \strc_math_flush_box
\fi
+ \or % status 2
+ \hskip\d_math_number_correction % probably no longer used
+ \strc_math_flush_box
+ \hss
+ \else
+ \strc_math_flush_box
+ \fi
\ifcase\c_strc_math_vertical
\or
\or