[tex-live] amsmath.sty and {Xe,Lua}LaTeX

Hironori KITAGAWA h_kitagawa2001 at yahoo.co.jp
Thu Mar 3 11:23:29 CET 2016


Hello all,

After amsmath,sty is updated to 2016/02/20 v2.15, XeLaTeX and LuaLaTeX
produces an unwanted space between `a' and `b' from the source below:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
{\mathversion{normal}a}b
\end{document}

Supplying a `%' in the definition of \resetMathstrut@ resolves this situation.

--- amsmath.sty.orig	2016-03-03 19:16:12.910670598 +0900
+++ amsmath.sty	2016-03-03 19:16:28.070602766 +0900
@@ -600,7 +600,7 @@
     \def\@tempb##1"##2"##3"##4\relax{%
       \endgroup
       \ht\Mathstrutbox@=\fontcharht\textfont"##3 "##4\relax
-      \dp\Mathstrutbox@=\fontchardp\textfont"##3 "##4\relax}
+      \dp\Mathstrutbox@=\fontchardp\textfont"##3 "##4\relax}%
     \expandafter\@tempb\meaning\@tempa \relax
 }
 \fi


-- 
Hironori KITAGAWA <h_kitagawa2001 at yahoo.co.jp>


More information about the tex-live mailing list