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

special commands for operators cause too much space (understudied-languages.tex, udc.tex) #172

Open
stefan11 opened this issue Jun 11, 2021 · 3 comments
Assignees
Milestone

Comments

@stefan11
Copy link
Contributor

stefan11 commented Jun 11, 2021

grafik

I defined

\newcommand{\ominusAVM}{\hbox{${}\ominus{}$}\ignorespaces}

But this adds space before \ominus and it looks different from what the built-in + does.

Would it be possible to get similar operators like \shuffle and + for use in AVMs?

@stefan11 stefan11 added this to the V1 milestone Jun 11, 2021
@stefan11 stefan11 self-assigned this Jun 11, 2021
@stefan11 stefan11 changed the title special commands cause too much space (understudied-languages.tex) special commands for operators cause too much space (understudied-languages.tex) Jun 11, 2021
@stefan11
Copy link
Contributor Author

Felix: \unskip was missing: \newcommand{\ominusAVM}{\unskip\hbox{${}\ominus{}$}\ignorespaces}

@stefan11
Copy link
Contributor Author

This is better now, but there is still more space after the command than after -. I guess this is due to the fact that 2 is below "l" and the box does not count for layout.

grafik

@stefan11
Copy link
Contributor Author

stefan11 commented Jun 16, 2021

In udc.tex $\cup$ produces:

grafik

and \capAVM produces:

grafik

Both spacings are different and non correct.

@stefan11 stefan11 changed the title special commands for operators cause too much space (understudied-languages.tex) special commands for operators cause too much space (understudied-languages.tex, udc.tex) Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants