hoodmane / longdivision

longdivision latex package
10 stars 0 forks source link

longdivision Warning #12

Open bartneck opened 7 months ago

bartneck commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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