M2
M2 copied to clipboard
Extra space in expressions of sequences
i1 : R = kk[x,y];
i2 : net ideal x
o2 = ideal x
i3 : net ideal(x+y)
o3 = ideal(x + y)
Now notice the extra space before the parentheses:
i4 : net ideal(x+y,x-y)
o4 = ideal (x + y, x - y)
i5 : net ideal(x,y)
o5 = ideal (x, y)
@pzinn do you have a guess of what's causing this?
Yeah it's been like this for as long as I can remember. During my expression upgrade I don't think I changed this behaviour. It's controlled by net Adjacent in expressions.m2. You can try to fiddle with it, but beware of unintended consequences. Also, you can compare with texMath Adjacent (which I suspect I [re]wrote), which has slightly different spacing behaviour. (in particular the issue you mention doesn't arise in WebApp mode).