hoodmane / longdivision

longdivision latex package
10 stars 0 forks source link

Math mode #5

Closed Ben-McKay closed 5 years ago

Ben-McKay commented 5 years ago

I am using your package in a context where math mode and text mode numbers are in different typefaces. When using \longdivision, some numbers come out as text, others as math. Can you get all of them to print out in math mode?

Ben-McKay commented 5 years ago

For example, consider the code:

\documentclass{article}
\usepackage{longdivision}
\RequirePackage[tt=lining]{cfr-lm}
\begin{document}
\intlongdivision{10101}{101}
\intlongdivision{10101}{103}
\[
\intlongdivision{10101}{101}
\]
\[
\intlongdivision{10101}{103}
\]
\end{document}
hoodmane commented 5 years ago

Thanks for your bug report, I fixed it.