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

longdivision Warning #12

Open
bartneck opened this issue Apr 7, 2024 · 2 comments
Open

longdivision Warning #12

bartneck opened this issue Apr 7, 2024 · 2 comments

Comments

@bartneck
Copy link

bartneck commented Apr 7, 2024

This minimal example triggers the warning: "Package longdivision Warning: Either the dividend was zero or you used \intlongdiv and the dividend was less than the divisor. This isn't a big deal, but the result probably looks silly."

\documentclass{article}
\usepackage{longdivision}
\begin{document}
\begin{equation}
\longdivision[stage=0]{12}{11}
\end{equation}
\end{document}

The dividend is not zero and \intlongdiv was not used. What could cause this warning and how can the warning be switched off?

@hoodmane
Copy link
Owner

hoodmane commented Apr 7, 2024

The warning occurs when the division work is empty. I guess this will happen whenever stage = 0 is passed. Probably I should check if the user explicitly passed stage = 0 and disable the warning in that case.

@bartneck
Copy link
Author

bartneck commented Apr 7, 2024

That would be nice. Thank you for your hard work on this package. It is very useful for me!

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