0

I am looking for a program that correctly spaces the procedure of long division we all did in elementary school.

As minimal example I have but still have trouble with spacing and suppose I wanted to put in subtraction symbols, I find I have no room.

\documentclass{article}

\usepackage{amsmath}
\usepackage{geometry}

\begin{document}

\begin{center}
$\begin{tabular}{r@{}l@{}c@{}c@{}c@{}c@{}c@{}l@{}c@{}}
  &        & & & &  && \\
  &        & &.&1&8 & &  \\ \cline{2-7} \\ [-12.3pt]
   11&\big )&2&.&0&0&0& \\ 
  &             &1&  1& & & &  \\ \cline{3-5} 
  &             & &9&0& & &  \\ 
  &             & &8&8& & &     \\ \cline{4-6} 
  &             & & &2&0& &  \\ 
  &             & & &1&1& & \\ \cline{5-6} 
  &             & & & &9& &
 \end{tabular}$
 \end{center}

 \end{document}

The decimal point is causing a spacing problem. I am finding little material on this on the web. This outputs

enter image description here

There must a better more versatile way to do this?

MathScholar
  • 2,513

0 Answers0