I'm not quite sure what you are asking? You know how to do the arrays. The only new thing is the superscripts on the numbers in the top row. The coding would be ^{11}2, giving [imath]^{11}2[/imath].Please I need help with this. I need to show collumn subtraction in Latex.
Review your arrays again.Let me try.
\(\displaystyle \begin{array}^{4}5~^{11}2~^{1}5~9 \\
-~3~4~9~7 \\
\overline{1~7~6~2 } \\
\end{array}
\)
I am finding difficult. I can only do the array in table environment. This one does not be involve table so I still need help.
Ringing columns sounds rather exotic to me, but humble vertical lines often work for me:What if I need to have the thousand collumn ringed. Like
[imath] \begin{array}{rrrrr} & Th & H & T & U \\ & ^{4}5 & ^{11}2 & ^{1}5 & 9 \\ - & 3 & 4 & 9 & 7 \\ \hline & 1 & 7 & 6 & 2 \\ \end{array} [/imath]
It brings up the image of Hunchback of Notre Dam....Ringing columns sounds rather exotic to me,
I don't know that this is possible in LaTeX. Why would you feel the need for that? Maybe there is another way.What if I need to have the thousand collumn ringed. Like
[imath] \begin{array}{rrrrr} & Th & H & T & U \\ & ^{4}5 & ^{11}2 & ^{1}5 & 9 \\ - & 3 & 4 & 9 & 7 \\ \hline & 1 & 7 & 6 & 2 \\ \end{array} [/imath]
I do know a way but it's not supported on the forum. Alternatively, try colour instead to draw attention.I don't know that this is possible in LaTeX. Why would you feel the need for that? Maybe there is another way.
-Dan
\red{^{4}5}
\purple{^{4}5}
\green{^{4}5}
\pink{^{4}5}
\blue{^{4}5}
\bold{^{4}5}
\red{\bold{^{4}5}}
That's interesting. Could you please explain how you succeeded in having the thousand collumn to go within the vertical lines? Am asking this because what if the case comes where I need to have other columns other than the thousand collumn to be in the vertical lines. Say I want only the unit collumn or maybe all the columns to be in vertical lines, how do I go about that?Ringing columns sounds rather exotic to me, but humble vertical lines often work for me:
[imath] \begin{array}{r|r|rrr} & Th & H & T & U \\ & ^{4}5 & ^{11}2 & ^{1}5 & 9 \\ - & 3 & 4 & 9 & 7 \\ \hline & 1 & 7 & 6 & 2 \\ \end{array} [/imath]
I just needed to know how to do that just in case I want lay emphasis on a particular ( ringed) column.Why would you feel the need for that? Maybe there is another way.
-Dan
Hit "reply" to his post. Note the {r|r|rr}.That's interesting. Could you please explain how you succeeded in having the thousand collumn to go within the vertical lines? Am asking this because what if the case comes where I need to have other columns other than the thousand collumn to be in the vertical lines. Say I want only the unit collumn or maybe all the columns to be in vertical lines, how do I go about that?