Can long division be done with latex?
It would be terribly messy trying to do it in the forums...the TeX code would be a bit long... xD
However, if you have installed on your computer, you can download the package. You can find documentation and the package download for that here.
Hello, VonNemo19!
I devised a method, but I don't recommend it.Can long division be done with LaTexX?
As Chris pointed out, it's messy and takes a bit of planning.
Example: .
. .
[tex]\begin{array}{ccccccccc}
& & & & x^2 & - & 3x & + & 4 \\
& & -- & -- & -- & -- & -- & -- & -- \\
x-2 & ) & x^3 & - & 5x^2 & + & 10x & - & 8 \\
& & x^3 & - & 2x^2 \\
& & -- & -- & -- \\
& & & & 3x^2 & + & 10x \\
& & & & 3x^2 & + & 6x \\
& & & & -- & -- & -- \\
& & & & & & 4x & - & 8 \\
& & & & & & 4x & - & 8 \\
& & & & & & -- & -- & --
\end{array}[/tex]
here's some more of it that didn't fit with the 450 char limit (seek the aesthetics, much will be found )
$$
\begin{array}{rc@{}c}
& \multicolumn{2}{l}{\, \, \, \frac{1}{z}+\frac{z}{3}+\frac{z^3}{15}-\dotsb} \vspace*{0.12cm} \\
\cline{2-3}
\multicolumn{1}{r}{z^2-\frac{z^4}{3}+\frac{2z^6}{45}-\dotsb \hspace*{-4.8pt}} & \multicolumn{1}{l}{ \hspace*{-5.6pt} \Big) \hspace*{4.6pt} z} \\
& \multicolumn{2}{l}{\, \, \, z-\frac{z^3}{3}+\frac{2z^5}{45}-\dotsb}
\\
\vspace{1mm}
\cline{2-3}
\vspace{1mm}
& \multicolumn{2}{l}{\, \, \, \phantom{1{}-{}}
\frac{z^3}{3}-\frac{2z^5}{45}+\dotsb} \\
& \multicolumn{2}{l}{\, \, \, \phantom{1{}-{}} \frac{z^3}{3}-\frac{z^5}{9}+\frac{2z^7}{135}+\dotsb} \vspace*{0.12cm}
\\
\vspace{1mm}
\cline{2-3}
\vspace{1mm}
& \multicolumn{2}{l}{\, \, \, \phantom{z{}-{}\frac{z^3}{3}{}-{}} \frac{z^5}{15}-\dotsb}
\end{array}
$$