summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/math-ali.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2016-11-28 14:23:17 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-11-28 14:23:17 +0100
commitb8a38bef2eaacea0dd17897dc99f1ef09b46a7e3 (patch)
treee53017157648c5d4abab9b14ddfd23db0e43de38 /tex/context/base/mkiv/math-ali.mkiv
parentf4d0ad2ba2c4ca5bfae469650e535fd46749b3f4 (diff)
downloadcontext-b8a38bef2eaacea0dd17897dc99f1ef09b46a7e3.tar.gz
2016-11-28 13:36:00
Diffstat (limited to 'tex/context/base/mkiv/math-ali.mkiv')
-rw-r--r--tex/context/base/mkiv/math-ali.mkiv16
1 files changed, 12 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/math-ali.mkiv b/tex/context/base/mkiv/math-ali.mkiv
index d57a0b955..d8693f697 100644
--- a/tex/context/base/mkiv/math-ali.mkiv
+++ b/tex/context/base/mkiv/math-ali.mkiv
@@ -767,8 +767,10 @@
\def\math_matrix_stop
{\crcr
- \mathstrut\crcr
- \noalign{\kern-\baselineskip}%
+ % \ifgridsnapping \else
+ \mathstrut\crcr
+ \noalign{\vskip-\baselineskip}%
+ % \fi
\egroup
\popmacro\math_matrix_NC
\egroup
@@ -1297,7 +1299,7 @@
\def\strc_math_number_right_overflow_outside
{\vpack\bgroup
\strc_math_flush_box_framed_fit_inline
- \hskip\zeropoint % nicely breaks the line with out introducing funny vertical spacing ... why o why
+% \hskip\zeropoint % nicely breaks the line without introducing funny vertical spacing ... why o why
\hpack to \displaywidth\bgroup
\hss
\math_box_llapped_math_no
@@ -1310,7 +1312,7 @@
\math_box_rlapped_math_no
\hss
\egroup
- \hskip\zeropoint % nicely breaks the line with out introducing funny vertical spacing ... why o why
+ \hskip\zeropoint % nicely breaks the line without introducing funny vertical spacing ... why o why
\strc_math_flush_box_framed_fit_inline
\egroup}
@@ -1481,6 +1483,11 @@
\unexpanded\def\strc_math_box_stop
{\stopforceddisplaymath
\egroup
+ % % not needed, attribute driven
+ % \ifgridsnapping
+ % \snaptogrid[\v!math]\vbox
+ % \fi
+ % \bgroup
% check number
\d_strc_math_number_width\wd\b_strc_formulas_number
%
@@ -1533,6 +1540,7 @@
\else
\strc_math_flush_box
\fi
+ % \egroup
\egroup}
\defineinnermathhandler\v!left {\strc_math_box_start\plusone }{\strc_math_box_stop}