I want to display a long division procedure as illustrated. 
I did search but couldn't find what I'm looking for. Any help is much appreciated.
I want to display a long division procedure as illustrated. 
I did search but couldn't find what I'm looking for. Any help is much appreciated.
With the package longdivision, you obtain almost the desired output (but as a French, I don't known this strange notation, see the documentation of the package xlop about division for the French notation).
\documentclass{article}
\usepackage{longdivision}
\begin{document}
\intlongdivision{12345}{13}
\end{document}
longdivision package?
– quark67
Feb 25 '19 at 11:54
longdivision doesn't handle negative numbers. You can use the command longdivision{37}{44} instead intlongdivision{37}{44}, this give a continued fraction expansion, but I don't known if the displayed output is what you want (decimal numbers in the continued fraction expansion, in French notation, there are not decimal numbers in the continued fraction expansion).
– quark67
Feb 25 '19 at 15:05