type this following latex code for typing long division:
\documentclass[margin=2mm, preview, varwidth]{standalone}
\usepackage{amsmath}
\usepackage{siunitx}
\usepackage{fourier}
\newcommand\Mydivision[2]{% macro command to type long division equation
$\strut#1$\kern.25em\smash{\raise.45ex\hbox{$\big|$}}$\mkern-4mu\overline{\enspace\strut#2}$}
\begin{document}
% configuration for digit separator
\sisetup{group-separator={.},group-minimum-digits=3}
\begin{equation*}
\noindent
\begin{array}{r}
% Quotient
7 \\
% 5 is Divisor, 35000000 is Dividend
$\Mydivision{5}{\num{35000000}}$
\end{array}
\end{equation*}
\end{document}
Result
< Previous: Vertical Multiply Equation
Next: Long Division In Latex 2 >
Related Post
Math Lesson Topics For Elementary School
Tidak ada komentar:
Posting Komentar