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

\big does not force horizontal mode #50

Closed
blefloch opened this issue May 12, 2018 · 5 comments
Closed

\big does not force horizontal mode #50

blefloch opened this issue May 12, 2018 · 5 comments

Comments

@blefloch
Copy link
Member

Brief outline of the bug

Using \big at the beginning of a paragraph has the same problem as \hbox: the parenthesis ends up along in a line.

Minimal example showing the bug

\RequirePackage{latexbug}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
We claim that $16^{3^2} = (8^4)^3$.

\big(Recall that $x^{y^z}=x^{(y^z)}$.\big)
\end{document}

Log file (required) and possibly PDF file

test.log
test.pdf

@blefloch
Copy link
Member Author

This problem does not need amsmath.

@davidcarlisle
Copy link
Member

comments and possible code changes for this issue are combined with those for issue #49

@eg9
Copy link
Contributor

eg9 commented May 13, 2018

Neither does \smash, for instance, nor \, and \enspace. Only \, is mentioned in the LaTeX manual, which doesn't tell about \big in text mode.

@kberry
Copy link

kberry commented May 15, 2018

also \thinspace and \negthinspace (ltspace.dtx)

@FrankMittelbach
Copy link
Member

My guess is that for all the spaces the 2.09 rule "save tokens" was applied as starting a paragraph with a space is rather uncommon and back then each token did count. As this is no longer true these days one should add \leavevmode to all of them in my opinion to support even the rare cases as right now they are simply unusable at that point.

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

No branches or pull requests

5 participants