[luatex] \U*spacing and pointer

Taco Hoekwater taco at elvenkind.com
Thu May 19 08:26:55 CEST 2011



On 05/19/11 03:56, Manuel Pégourié-Gonnard wrote:
> Hi,
> 
> Consider the following test file for LuaTeX with Plain:
> 
> \newmuskip\testmuskip
> \testmuskip=18mu
> \thinmuskip=18mu
> 
> \Umathopopspacing\textstyle=\testmuskip
> \Umathordordspacing\textstyle=\thinmuskip
> $11$\par % 18mu, ok
> $++$\par % 18mu, ok
> 
> \testmuskip=0mu
> \thinmuskip=0mu
> $11$\par % 0 mu ?!
> $++$\par % 0 mu, ok
> 
> \bye
> 
> I would have expected a different result on the line marked '?!'. Quoting from
> the manual:

You meant the other line, I think. Anyay, ++ deteriorates into
Ord-Ord spacing following the texbook's Appendix G, so the
\testmuskip is never used.

(and even if it did not, you should have used \Umathbinbinspacing
as + is a Bin, not Op).

Best wishes,
Taco


More information about the luatex mailing list