Selasa, 08 Oktober 2024

Vertical Subtraction In Latex

  1. Open the Latex editor.
  2. type this following Latex code in the Latex editor:
    %Typeset/Build program
    %!TEX TS-program = pdflatex
    %!TEX encoding = UTF-8 Unicode
    %--Latex Vertical Subtract 1--
    \documentclass[varwidth,multi=page,margin=25]{standalone} % default would be 10pt, max 12pt
    \usepackage{rotating}
    \usepackage{multirow}
    \usepackage{graphicx}
    \usepackage{float}
    \usepackage[utf8]{inputenc}
    %\usepackage{tgbonum}
    \usepackage{charter}
    \usepackage{am}
    \usepackage{amsfonts}
    \usepackage{amssymb}


    \author{Private Course And Tutor Course}
    \title{Vertical Subtraction}
    \date{}


    \begin{document}
    %\maketitle
    \begin{page}
    \Huge{\textbf{Vertical\\ Subtraction\\ With\\ Regrouping }}\newline\newline
    \large{\textbf{by: Private Course\\ And Tutor Course}}
    \end{page}


    \begin{page}
    {\Huge Step 1}
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c}
    \\
    % 64.723 - 47.954 = 16.769
    % 16.769 - 9.473 = 7.296
    & & {\Huge 6} & {\Huge 4} & {\Huge .7} & {\Huge 2} & {\Huge 3} \\
    & & {\Huge 4} & {\Huge 7} & {\Huge .9} & {\Huge 5} & {\Huge 4} \\
    $-$& & & {\Huge 9 } & {\Huge .4} & {\Huge 7} & {\Huge 3} \\ \hline \\
    & \multicolumn{6}{c}{\Huge \dotfill}
    \end{tabular}
    \end{table}
    \end{page}


    \begin{page}
    {\Huge Step 2} 
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c}
    \\
    & & & & & \parbox[t]{2mm}{{\rotatebox[origin=c]{40}{tens}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{40}{ones}}}   \\
    & & & & & & 1 & 3\\
    & & {\Huge 6} & {\Huge 4} & {\Huge .7} & {\Huge 2} & {\Huge 3} \\
    $-$& & {\Huge 4} & {\Huge 7} & {\Huge .9} & {\Huge 5} & {\Huge 4} \\ \hline \\
    & & & {\Huge  } & {\Huge } & {\Huge } & {\Huge 9} \\ 
    \end{tabular}
    \end{table}
    \end{page}

    \begin{page}
    {\Huge Step 3} 
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c}
    \\
    & & & & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{hundreds}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{tens}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{ones}}}   \\
    & & & & 1 & 1 & & \\
    & & {\Huge 6} & {\Huge 4} & {\Huge .7} & {\Huge 2} & {\Huge 3} \\
    $-$& & {\Huge 4} & {\Huge 7} & {\Huge .9} & {\Huge 5} & {\Huge 4} \\ \hline \\
    & & & {\Huge  } & {\Huge } & {\Huge 6} & {\Huge 9} \\ 
    \end{tabular}
    \end{table}
    \end{page}

    \begin{page}
    {\Huge Step 4} 
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c}
    \\
    & & & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{thousands}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{hundreds}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{tens}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{ones}}}   \\
    & & & 1 & 6 &  & & \\
    & & {\Huge 6} & {\Huge 4} & {\Huge .7} & {\Huge 2} & {\Huge 3} \\
    $-$& & {\Huge 4} & {\Huge 7} & {\Huge .9} & {\Huge 5} & {\Huge 4} \\ \hline \\
    & & & {\Huge } & {\Huge 7} & {\Huge 6} & {\Huge 9} \\ 
    \end{tabular}
    \end{table}
    \end{page}

    \begin{page}
    {\Huge Step 5} 
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c} \\
    & & \parbox[t]{2mm}{{\rotatebox[origin=c]{75}{ten thousands}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{thousands}}}& \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{hundreds}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{tens}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{ones}}}   \\
    & & 1 & 3 &  &  & & \\
    & & {\Huge 6} & {\Huge 4} & {\Huge .7} & {\Huge 2} & {\Huge 3} \\
    $-$& & {\Huge 4} & {\Huge 7} & {\Huge .9} & {\Huge 5} & {\Huge 4} \\ \hline \\
    & & & {\Huge 6} & {\Huge .7} & {\Huge 6} & {\Huge 9} \\ 
    \end{tabular}
    \end{table}
    \end{page}

    \begin{page}
    {\Huge Step 6} 
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c}
    \\
    % 64.723 - 47.954 = 16.769
    % 16.769 - 9.473 = 7.296
    & & \parbox[t]{2mm}{{\rotatebox[origin=c]{75}{ten thousands}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{thousands}}}& \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{hundreds}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{tens}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{ones}}}   \\
    &  & 5 &  &  &  & & \\
    & & {\Huge 6} & {\Huge 4} & {\Huge .7} & {\Huge 2} & {\Huge 3} \\
    $-$& & {\Huge 4} & {\Huge 7} & {\Huge .9} & {\Huge 5} & {\Huge 4} \\ \hline \\
    & & {\Huge 1} & {\Huge 6} & {\Huge .7} & {\Huge 6} & {\Huge 9} \\ 
    \end{tabular}
    \end{table}
    \end{page}

    \begin{page}
    {\Huge Step 7} 
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c}
    \\
    % 64.723 - 47.954 = 16.769
    % 16.769 - 9.473 = 7.296
    & & \parbox[t]{2mm}{{\rotatebox[origin=c]{75}{}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{}}}& \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{ones}}}   \\
    &  &  &  &  &  & & \\
    & & {\Huge 1} & {\Huge 6} & {\Huge .7} & {\Huge 6} & {\Huge 9} \\ 
    $-$& & {\Huge } & {\Huge 9} & {\Huge .4} & {\Huge 7} & {\Huge 3} \\ \hline \\
    & & {\Huge} & {\Huge} & {\Huge} & {\Huge} & {\Huge 6} \\
    \end{tabular}
    \end{table}
    \end{page}


    \begin{page}
    {\Huge Step 8} 
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c}
    \\
    % 64.723 - 47.954 = 16.769
    % 16.769 - 9.473 = 7.296
    & & \parbox[t]{2mm}{{\rotatebox[origin=c]{75}{}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{}}}& \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{hundreds}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{tens}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{ones}}}   \\
    &  &  &  & 1 & 6 &  & \\
    & & {\Huge 1} & {\Huge 6} & {\Huge .7} & {\Huge 6} & {\Huge 9} \\ 
    $-$& & {\Huge } & {\Huge 9} & {\Huge .4} & {\Huge 7} & {\Huge 3} \\ \hline \\
    & & {\Huge} & {\Huge} & {\Huge} & {\Huge 9} & {\Huge 6} \\
    \end{tabular}
    \end{table}
    \end{page}


    \begin{page}
    {\Huge Step 9} 
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c}
    \\
    % 64.723 - 47.954 = 16.769
    % 16.769 - 9.473 = 7.296
    & & \parbox[t]{2mm}{{\rotatebox[origin=c]{75}{}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{}}}& \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{hundreds}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{tens}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{ones}}}   \\
    &  &  &  & 6 &  &  & \\
    & & {\Huge 1} & {\Huge 6} & {\Huge .7} & {\Huge 6} & {\Huge 9} \\ 
    $-$& & {\Huge } & {\Huge 9} & {\Huge .4} & {\Huge 7} & {\Huge 3} \\ \hline \\
    & & {\Huge} & {\Huge} & {\Huge 2} & {\Huge 9} & {\Huge 6} \\
    \end{tabular}
    \end{table}
    \end{page}


    \begin{page}
    {\Huge Step 10} 
    \large{}
    \begin{table}[h]
    %\centering
    \begin{tabular}{c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c@{\,}c}
    \\
    % 16.769 - 9.473 = 7.296
    & & \parbox[t]{2mm}{{\rotatebox[origin=c]{75}{ten thousands}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{thousands}}}& \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{hundreds}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{tens}}} & \parbox[t]{2mm}{{\rotatebox[origin=c]{60}{ones}}}   \\
    &  &  &  &  &  &  & \\
    & & {\Huge 1} & {\Huge 6} & {\Huge .7} & {\Huge 6} & {\Huge 9} \\ 
    $-$& & {\Huge } & {\Huge 9} & {\Huge .4} & {\Huge 7} & {\Huge 3} \\ \hline \\
    & & {\Huge} & {\Huge7} & {\Huge .2} & {\Huge 9} & {\Huge 6} \\
    \end{tabular}
    \end{table}
    \end{page}

    \end{document}
  3. save file as verticalSubtraction1.tex.
  4. run the Typeset command or similar other command with pdfLatex
  5. to see the output, click at the Vertical Subtraction >

< Previous Number Place Value 

Next to learn  Vertical Multiply Equation  >

to learn other Latex draw topics, click Study About Draw In Latex >>

Related Post

Tidak ada komentar:

Posting Komentar

Various Other Posts