[latex3-commits] [git/LaTeX3-latex3-latex3] l3text: Allow for spacing in Unicode math (e36f7fd97)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Dec 14 09:07:01 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : l3text
Link       : https://github.com/latex3/latex3/commit/e36f7fd9767d0feed48199ae5a5c68afb6113f71

>---------------------------------------------------------------

commit e36f7fd9767d0feed48199ae5a5c68afb6113f71
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Dec 14 07:59:59 2019 +0000

    Allow for spacing in Unicode math


>---------------------------------------------------------------

e36f7fd9767d0feed48199ae5a5c68afb6113f71
 l3kernel/l3text.dtx | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/l3kernel/l3text.dtx b/l3kernel/l3text.dtx
index ebf96abab..f806f9316 100644
--- a/l3kernel/l3text.dtx
+++ b/l3kernel/l3text.dtx
@@ -4443,6 +4443,16 @@
     \q_recursion_tail { }
     \q_recursion_stop
 %    \end{macrocode}
+%   Spaces: it's not totally clear, but at present simply make them standard
+%   spaces.
+%    \begin{macrocode}
+    \tl_const:cn { c_@@_math_char_ \cs_to_str:N \~ _tl } { ~ }
+    \tl_const:cn { c_@@_math_char_ \token_to_str:N \; _tl } { ~ }
+    \tl_const:cn { c_@@_math_char_ \token_to_str:N \: _tl } { ~ }
+    \tl_const:cn { c_@@_math_char_ \token_to_str:N \, _tl } { ~ }
+    \tl_const:cn { c_@@_math_char_ \token_to_str:N \quad _tl } { ~ }
+    \tl_const:cn { c_@@_math_char_ \token_to_str:N \qquad _tl } { ~ }
+%    \end{macrocode}
 %   The \tn{sqrt} case is odd as it is a symbol but needs to be filtered out for
 %   the optional argument, so we store it separately.
 %    \begin{macrocode}





More information about the latex3-commits mailing list