summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/strc-mat.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2023-04-27 00:04:07 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2023-04-27 00:04:07 +0200
commit6b25a7a970ba9553adf8077ef2eecb50a5d77818 (patch)
treef06e40077ba9e55af4bf6cab52313f79f8ea84a8 /tex/context/base/mkxl/strc-mat.mkxl
parent657457ef4a08c1f000f272e00f654f4064cc37bd (diff)
downloadcontext-6b25a7a970ba9553adf8077ef2eecb50a5d77818.tar.gz
2023-04-26 23:31:00
Diffstat (limited to 'tex/context/base/mkxl/strc-mat.mkxl')
-rw-r--r--tex/context/base/mkxl/strc-mat.mkxl23
1 files changed, 23 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/strc-mat.mkxl b/tex/context/base/mkxl/strc-mat.mkxl
index 2e6c21ad2..6c639bb1f 100644
--- a/tex/context/base/mkxl/strc-mat.mkxl
+++ b/tex/context/base/mkxl/strc-mat.mkxl
@@ -1035,6 +1035,28 @@
\boundary\c_bndr_mathalign
\fi}
+% \tolerant\protected\def\strc_math_skip_here[#1]%
+% {% no strut as it will influence fences
+% \ifconditional\c_strc_math_trace_hang
+% \strc_math_trace_okay{darkblue}{S #1}%
+% \fi
+% \scratchdimen\dimexpr\formulaparameter\c!textmargin\relax
+% \ifchkdim#1\or
+% \d_strc_math_hang_state#1%
+% \orelse\ifchknum#1\or
+% \d_strc_math_hang_state#1\scratchdimen
+% \orelse\iftok{#1}{+}%
+% \advanceby\d_strc_math_hang_state\scratchdimen
+% \orelse\iftok{#1}{-}%
+% \advanceby\d_strc_math_hang_state-\scratchdimen
+% \else
+% \d_strc_math_hang_state\scratchdimen
+% \fi
+% \kern\d_strc_math_hang_state
+% \strc_math_pickup_again}
+
+\newboundary\c_bndr_skiphere
+
\tolerant\protected\def\strc_math_skip_here[#1]%
{% no strut as it will influence fences
\ifconditional\c_strc_math_trace_hang
@@ -1052,6 +1074,7 @@
\else
\d_strc_math_hang_state\scratchdimen
\fi
+ \boundary\c_bndr_skiphere
\kern\d_strc_math_hang_state
\strc_math_pickup_again}