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

Equation numbers in document class amsart appear in the margin #20

Open
AlexanderZeilmann opened this issue Oct 20, 2021 · 0 comments
Open

Comments

@AlexanderZeilmann
Copy link

A picture probably explains the bug best:
awesomebox

Everything is respecting the margin - like normal equation numbers (green box), or text in the awesome box - except for equation numbers in awesome boxes (red box). It would be nice if the equation number would also respect the margin.
For the document class article the bug does not appear.

\documentclass[reqno]{amsart}
\usepackage{awesomebox}
\usepackage{showframe}
\usepackage{mwe}


\begin{document}
	\lipsum[1][1-4]
	\begin{equation}
		a^2+b^2=c^2
	\end{equation}
	\notebox{
		\lipsum[2][1-4]
		\begin{equation}
			a^2+b^2=c^2
		\end{equation}
		\lipsum[3][1-4]
	}
	\lipsum[4][1-4]
\end{document}

Thank you for the nice package btw :)

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