summaryrefslogtreecommitdiff
path: root/tex/context/base/core-spa.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-spa.mkiv')
-rw-r--r--tex/context/base/core-spa.mkiv6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/core-spa.mkiv b/tex/context/base/core-spa.mkiv
index 1a4e2825d..fbc949349 100644
--- a/tex/context/base/core-spa.mkiv
+++ b/tex/context/base/core-spa.mkiv
@@ -3581,8 +3581,8 @@
%D Taken from Taco's math module (cq. \AMS\ macros), but
%D adapted to \type {\hspace}:
-\unexpanded\def\textormathspace#1#2#3%
- {\ifmmode\mskip#1#2\else\kern#1\hspaceamount\empty{#3}\fi\relax}
+\unexpanded\def\textormathspace #1#2#3{\ifmmode\mskip#1#2\else\kern #1\hspaceamount\empty{#3}\fi\relax}
+\unexpanded\def\breakabletextormathspace#1#2#3{\ifmmode\mskip#1#2\else\hskip#1\hspaceamount\empty{#3}\fi\relax}
\newmuskip\hairmuskip \hairmuskip=.15mu
@@ -3597,6 +3597,8 @@
% needed for unicode:
+\unexpanded\def\breakablethinspace {\breakabletextormathspace+\thinmuskip 1}
+
\unexpanded\def\twoperemspace {\hskip\dimexpr\emwidth/2\relax} % == \enspace
\unexpanded\def\threeperemspace {\hskip\dimexpr\emwidth/3\relax}
\unexpanded\def\fourperemspace {\hskip\dimexpr\emwidth/4\relax}