1

So I like the longdiv.tex file to compute the quotient and remainder of two numbers, but as far as I can tell it doesn't support finding the decimal representation of a number. The xlop package does exactly the right job but I want it in the English format, which as far as I can tell, it doesn't do. I suspect the answer is no but my question is: Is there yet any way to easily typeset the division of integers using the English style, and which will present decimals to arbitrary precision?

3

There's longdivision:

\documentclass{article}
\usepackage{amsmath}
\usepackage{longdivision}

\input{longdiv} % old by D. Arsenau for comparison

\begin{document}

\begin{gather*}
\longdivision{100}{37}
\\
\longdiv{100}{37}
\end{gather*}

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.