Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra space in expressions of sequences #3502

Open
mahrud opened this issue Oct 1, 2024 · 1 comment
Open

Extra space in expressions of sequences #3502

mahrud opened this issue Oct 1, 2024 · 1 comment

Comments

@mahrud
Copy link
Member

mahrud commented Oct 1, 2024

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?

@pzinn
Copy link
Contributor

pzinn commented Oct 1, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants