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

Overlay command creates spurious spacing for + infty #892

Open
ysalmon opened this issue Apr 8, 2024 · 0 comments
Open

Overlay command creates spurious spacing for + infty #892

ysalmon opened this issue Apr 8, 2024 · 0 comments

Comments

@ysalmon
Copy link

ysalmon commented Apr 8, 2024

A picture is worth a thousand words :

\documentclass{beamer}

\begin{document}
$\invisible<article>{+\infty}$

$+\infty$

$\invisible<article>{{+\infty}}$
\end{document}

gives (in beamer mode)
Screenshot_20240408_144700

I think that \invisible produces something that is not visible per se but makes LaTeX interpret the + as a binary rather than unary operator, and adjust spacing accordingly.

The workaround is not bad, and logical once one understands what's happening. But maybe there is a better way ?

I could not find a reference for this in the documentation (that's hard to search for !) ; if the current behaviour is expected or not worth modifying, I would suggest adding a sentence to that effect containing eg. the words \infty, unary , binary and spacing, so it can be searched for.

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

1 participant